Belle II Software development
hltDQManalysis.py
1
8import basf2
9
10path = basf2.create_path()
11
12path.add_module('DQMHistAnalysisInputRootFile', FileList="dqm_histo.root")
13# path.add_module("DQMHistAutoCanvas") # Plot all Histo from Input not needed
14path.add_module('DQMHistAnalysisHLT', bhabhaName="accept_bhabha_all", columnMapping={
15 "accept_hadron": "hadron",
16 "accept_bhabha_all": "bhabha_all",
17 "accept_mumutight": "mumutight",
18 "accept_gamma_gamma": "gamma_gamma",
19 "accept_radmumu": "radmumu",
20 "accept_offip": "offip",
21 "cosmic": "cosmic",
22}, l1Histograms=["fff", "ffo", "lml0", "ffb", "fp"],
23 retentionPerUnit=[
24 "ge3_loose_tracks_inc_1_tight_not_ee2leg",
25 "Elab_gt_0.5_plus_2_others_with_Elab_gt_0.18_plus_no_clust_with_Ecms_gt_2.0",
26 "selectee",
27 "Estargt2_GeV_cluster", ])
28path.add_module('DQMHistAnalysisOutputFile', SaveHistos=False, SaveCanvases=True)
29
30basf2.print_path(path)
31basf2.process(path)