25b2.set_log_level(b2.LogLevel.ERROR)
28geom = b2.register_module(
"Geometry")
31main = b2.create_path()
40raw2ds = b2.register_module(
"Raw2Ds")
41raw2ds.param(
"RingBufferName", argvs[1])
42main.add_module(raw2ds)
47histo = b2.register_module(
'DqmHistoManager')
48histo.param(
"Port", 9991)
49histo.param(
"DumpInterval", 10000)
53monitor = b2.register_module(
'MonitorData')
54main.add_module(monitor)
57roiGen = b2.register_module(
'ROIGenerator')
58param_roiGen = {
'ROIListName':
'ROIs',
59 'nROIs': 8,
'Layer': 1,
'Ladder': 1,
'Sensor': 1}
60roiGen.param(param_roiGen)
63roiPayloadAssembler = b2.register_module(
'ROIPayloadAssembler')
64param_roiPayloadAssembler = {
'ROIListName':
'ROIs',
65 'ROIpayloadName':
'ROIpayload'}
66roiPayloadAssembler.param(param_roiPayloadAssembler)
68roiReadTest = b2.register_module(
'ROIReadTest')
69param_roiReadTest = {
'outfileName':
'ROIoutHLT.txt',
70 'ROIpayloadName':
'ROIpayload'}
71roiReadTest.param(param_roiReadTest)
73main.add_module(roiGen)
74main.add_module(roiPayloadAssembler)
79ds2rbuf = b2.register_module(
"Ds2Rbuf")
80ds2rbuf.param(
"RingBufferName", argvs[2])
81main.add_module(ds2rbuf)
84progress = b2.register_module(
'Progress')
85main.add_module(progress)
88elapsed = b2.register_module(
'ElapsedTime')
89elapsed.param(
'EventInterval', 10000)
90main.add_module(elapsed)
93b2.set_nprocesses(int(argvs[4]))