16b2.set_log_level(b2.LogLevel.ERROR)
21globalTag =
'data_reprocessing_prompt'
23b2.conditions.prepend_globaltag(globalTag)
24b2.conditions.prepend_testing_payloads(
"localdb/database.txt")
27gearbox = b2.register_module(
'Gearbox')
28geometry = b2.register_module(
'Geometry')
32main = b2.create_path()
36input = b2.register_module(
'DQMHistAnalysisInput')
37input.param(
'HistMemoryPath', argv[1])
45main.add_module(gearbox, fileName=
"/geometry/Belle2_earlyPhase3.xml")
46main.add_module(geometry)
48pxd_charge = b2.register_module(
'DQMHistAnalysisPXDCharge')
49pxd_charge.param(
'histogramDirectoryName',
'PXDER')
50main.add_module(pxd_charge)
52pxd_trackcharge = b2.register_module(
'DQMHistAnalysisPXDTrackCharge')
53pxd_trackcharge.param(
'histogramDirectoryName',
'PXDER')
54main.add_module(pxd_trackcharge)
56pxd_inj = b2.register_module(
'DQMHistInjection')
57main.add_module(pxd_inj)
59pxd_commode = b2.register_module(
'DQMHistAnalysisPXDCM')
60pxd_commode.param(
'histogramDirectoryName',
'PXDDAQ')
61main.add_module(pxd_commode)
63pxd_effi = b2.register_module(
'DQMHistAnalysisPXDEff')
64pxd_effi.param(
'histogramDirectoryName',
'PXDEFF')
65pxd_effi.param(
"binsU", 16)
66pxd_effi.param(
"binsV", 24)
67pxd_effi.param(
"singleHists",
False)
68main.add_module(pxd_effi)
70pxd_redu = b2.register_module(
'DQMHistAnalysisPXDReduction')
71pxd_redu.param(
'histogramDirectoryName',
'PXDDAQ')
72main.add_module(pxd_redu)
79output = b2.register_module(
'DQMHistAnalysisOutputRelayMsg')
81output.param(
'Port', int(argv[2]))
82main.add_module(output)