24 b2.set_log_level(b2.LogLevel.ERROR)
27 geom = b2.register_module(
"Geometry")
30 main = b2.create_path()
34 rbuf2ds = b2.register_module(
"Rbuf2Ds")
35 rbuf2ds.param(
"RingBufferName", argvs[1])
36 main.add_module(rbuf2ds)
47 histo = b2.register_module(
'DqmHistoManager')
49 histo.param(
"Port", 10391)
50 histo.param(
"DumpInterval", 10000)
51 main.add_module(histo)
54 sample = b2.register_module(
'Ds2Sample')
55 sample.param(
'RingBufferName', argvs[2])
56 main.add_module(sample)
63 unpacker = b2.register_module(
'PXDUnpacker')
64 unpacker.param(
"IgnoreDATCON",
True)
65 main.add_module(unpacker)
67 PXDRawDQM = b2.register_module(
'PXDRawDQM')
68 main.add_module(PXDRawDQM)
71 progress = b2.register_module(
'Progress')
72 main.add_module(progress)
75 elapsed = b2.register_module(
'ElapsedTime')
76 elapsed.param(
'EventInterval', 10000)
77 main.add_module(elapsed)
81 b2.set_nprocesses(int(argvs[4]))