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