18main = b2.create_path()
21eventinfosetter = b2.register_module(
'EventInfoSetter')
22eventinfosetter.param(
'evtNumList', [100])
23main.add_module(eventinfosetter)
26gearbox = b2.register_module(
'Gearbox')
27main.add_module(gearbox)
30geometry = b2.register_module(
'Geometry')
31geometry.param(
'useDB',
False)
32geometry.param(
'components', [
'TOP'])
33main.add_module(geometry)
36calpulse = b2.register_module(
'TOPDoublePulseGenerator')
37calpulse.param(
'asicChannels', [0])
38calpulse.param(
'moduleIDs', [1])
42calpulse.param(
'useDatabase',
True)
43calpulse.param(
'outputFileName',
'usedSampleTimes.root')
44main.add_module(calpulse)
47main.add_module(
'RootOutput')
50progress = b2.register_module(
'Progress')
51main.add_module(progress)