Belle II Software  release-08-01-10
runScanGeo.py
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 
4 
11 
12 from basf2 import register_module, create_path, process
13 
14 # Create main path
15 main = create_path()
16 
17 # EventInfoSetter - generate event meta data
18 eventinfosetter = register_module('EventInfoSetter')
19 evtruninfo = {'expList': [0], 'runList': [1], 'evtNumList': [1]}
20 eventinfosetter.param(evtruninfo)
21 main.add_module(eventinfosetter)
22 
23 # Geometry parameter loader
24 gearbox = register_module('Gearbox')
25 main.add_module(gearbox)
26 
27 # Geometry builder
28 geometry = register_module('Geometry')
29 main.add_module(geometry)
30 
31 # ScanGeometry module
32 scangeo = register_module('ScanCDCGeo')
33 main.add_module(scangeo)
34 
35 # Process one event
36 process(main)