17 b2.set_log_level(b2.LogLevel.ERROR)
22 globalTag =
'data_reprocessing_prompt'
24 b2.conditions.prepend_globaltag(globalTag)
25 b2.conditions.prepend_testing_payloads(
"localdb/database.txt")
28 gearbox = b2.register_module(
'Gearbox')
29 geometry = b2.register_module(
'Geometry')
33 main = b2.create_path()
37 input = b2.register_module(
'DQMHistAnalysisInput')
38 input.param(
'HistMemoryPath', argv[1])
39 main.add_module(input)
46 main.add_module(gearbox, fileName=
"/geometry/Belle2_earlyPhase3.xml")
47 main.add_module(geometry)
49 pxd_charge = b2.register_module(
'DQMHistAnalysisPXDCharge')
50 pxd_charge.param(
'histogramDirectoryName',
'PXDER')
51 main.add_module(pxd_charge)
53 pxd_trackcharge = b2.register_module(
'DQMHistAnalysisPXDTrackCharge')
54 pxd_trackcharge.param(
'histogramDirectoryName',
'PXDER')
55 main.add_module(pxd_trackcharge)
57 pxd_inj = b2.register_module(
'DQMHistInjection')
58 main.add_module(pxd_inj)
60 pxd_commode = b2.register_module(
'DQMHistAnalysisPXDCM')
61 pxd_commode.param(
'histogramDirectoryName',
'PXDDAQ')
62 main.add_module(pxd_commode)
64 pxd_effi = b2.register_module(
'DQMHistAnalysisPXDEff')
65 pxd_effi.param(
'histogramDirectoryName',
'PXDEFF')
66 pxd_effi.param(
"binsU", 16)
67 pxd_effi.param(
"binsV", 24)
68 pxd_effi.param(
"singleHists",
False)
69 main.add_module(pxd_effi)
71 pxd_redu = b2.register_module(
'DQMHistAnalysisPXDReduction')
72 pxd_redu.param(
'histogramDirectoryName',
'PXDDAQ')
73 main.add_module(pxd_redu)
80 output = b2.register_module(
'DQMHistAnalysisOutputRelayMsg')
82 output.param(
'Port', int(argv[2]))
83 main.add_module(output)