25 b2.set_log_level(b2.LogLevel.DEBUG)
29 eventinfosetter = b2.register_module(
'EventInfoSetter')
30 eventinfosetter.param(
'expList', [0])
31 eventinfosetter.param(
'runList', [1])
32 eventinfosetter.param(
'evtNumList', [numEvents])
34 eventinfoprinter = b2.register_module(
'EventInfoPrinter')
35 gearbox = b2.register_module(
'Gearbox')
37 geometry = b2.register_module(
'Geometry')
38 geometry.param(
'components', [
'MagneticField',
'PXD',
'SVD'])
40 svdUnpacker = b2.register_module(
'SVDUnpacker')
41 svdUnpacker.param(
'rawSVDListName',
'inputList')
42 svdUnpacker.param(
'svdShaperDigitListName',
'outputList')
49 main = b2.create_path()
50 main.add_module(eventinfosetter)
51 main.add_module(eventinfoprinter)
52 main.add_module(gearbox)
53 main.add_module(geometry)
54 main.add_module(svdUnpacker)