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(
'TOPCalPulseGenerator')
37calpulse.param(
'asicChannels', [0])
38calpulse.param(
'moduleIDs', [1])
39calpulse.param(
'amplitude', 750.0)
40main.add_module(calpulse)
43topdigi = b2.register_module(
'TOPDigitizer')
44topdigi.param(
'useSampleTimeCalibration',
True)
45main.add_module(topdigi)
48main.add_module(
'RootOutput')
51progress = b2.register_module(
'Progress')
52main.add_module(progress)