19 main = b2.create_path()
22 eventinfosetter = b2.register_module(
'EventInfoSetter')
23 eventinfosetter.param(
'evtNumList', [100])
24 main.add_module(eventinfosetter)
27 gearbox = b2.register_module(
'Gearbox')
28 main.add_module(gearbox)
31 geometry = b2.register_module(
'Geometry')
32 geometry.param(
'useDB',
False)
33 geometry.param(
'components', [
'TOP'])
34 main.add_module(geometry)
37 calpulse = b2.register_module(
'TOPDoublePulseGenerator')
38 calpulse.param(
'asicChannels', [0])
39 calpulse.param(
'moduleIDs', [1])
43 calpulse.param(
'useDatabase',
True)
44 calpulse.param(
'outputFileName',
'usedSampleTimes.root')
45 main.add_module(calpulse)
48 main.add_module(
'RootOutput')
51 progress = b2.register_module(
'Progress')
52 main.add_module(progress)