13b2.set_log_level(b2.LogLevel.ERROR)
16main = b2.create_path()
19roinput = b2.register_module(
'SeqRootInput')
20main.add_module(roinput)
27gearbox = b2.register_module(
'Gearbox')
28main.add_module(gearbox)
31geometry = b2.register_module(
'Geometry')
32geometry.param(
'components', [
'TOP'])
33main.add_module(geometry)
36unpack = b2.register_module(
'TOPUnpacker')
37unpack.param(
'swapBytes',
True)
38unpack.param(
'dataFormat', 0x0301)
39main.add_module(unpack)
42converter = b2.register_module(
'TOPRawDigitConverter')
43converter.param(
'useSampleTimeCalibration',
False)
44converter.param(
'useChannelT0Calibration',
False)
45converter.param(
'useModuleT0Calibration',
False)
46converter.param(
'useCommonT0Calibration',
False)
47main.add_module(converter)
51histo = b2.register_module(
"DqmHistoManager")
52histo.param(
'HostName',
'localhost')
53histo.param(
'Port', 9991)
54histo.param(
'DumpInterval', 1000)
57dqm = b2.register_module(
'TOPDataQualityOnline')
61progress = b2.register_module(
'Progress')
62main.add_module(progress)