6 b2.set_log_level(b2.LogLevel.ERROR)
9 main = b2.create_path()
12 roinput = b2.register_module(
'SeqRootInput')
13 main.add_module(roinput)
20 gearbox = b2.register_module(
'Gearbox')
21 main.add_module(gearbox)
24 geometry = b2.register_module(
'Geometry')
25 geometry.param(
'components', [
'TOP'])
26 main.add_module(geometry)
29 unpack = b2.register_module(
'TOPUnpacker')
30 unpack.param(
'swapBytes',
True)
31 unpack.param(
'dataFormat', 0x0301)
32 main.add_module(unpack)
35 converter = b2.register_module(
'TOPRawDigitConverter')
36 converter.param(
'useSampleTimeCalibration',
False)
37 converter.param(
'useChannelT0Calibration',
False)
38 converter.param(
'useModuleT0Calibration',
False)
39 converter.param(
'useCommonT0Calibration',
False)
40 main.add_module(converter)
44 histo = b2.register_module(
"DqmHistoManager")
45 histo.param(
'HostName',
'localhost')
46 histo.param(
'Port', 9991)
47 histo.param(
'DumpInterval', 1000)
48 main.add_module(histo)
50 dqm = b2.register_module(
'TOPDataQualityOnline')
54 progress = b2.register_module(
'Progress')
55 main.add_module(progress)