14 b2.set_log_level(b2.LogLevel.ERROR)
17 main = b2.create_path()
20 roinput = b2.register_module(
'SeqRootInput')
21 main.add_module(roinput)
28 gearbox = b2.register_module(
'Gearbox')
29 main.add_module(gearbox)
32 geometry = b2.register_module(
'Geometry')
33 geometry.param(
'components', [
'TOP'])
34 main.add_module(geometry)
37 unpack = b2.register_module(
'TOPUnpacker')
38 unpack.param(
'swapBytes',
True)
39 unpack.param(
'dataFormat', 0x0301)
40 main.add_module(unpack)
43 converter = b2.register_module(
'TOPRawDigitConverter')
44 converter.param(
'useSampleTimeCalibration',
False)
45 converter.param(
'useChannelT0Calibration',
False)
46 converter.param(
'useModuleT0Calibration',
False)
47 converter.param(
'useCommonT0Calibration',
False)
48 main.add_module(converter)
52 histo = b2.register_module(
"DqmHistoManager")
53 histo.param(
'HostName',
'localhost')
54 histo.param(
'Port', 9991)
55 histo.param(
'DumpInterval', 1000)
56 main.add_module(histo)
58 dqm = b2.register_module(
'TOPDataQualityOnline')
62 progress = b2.register_module(
'Progress')
63 main.add_module(progress)