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