14 npath = mypath +
"/TrackParameters"
16 from TrigIDR4Monitoring.HistUtils
import ptbins_mb
17 from TrigIDR4Monitoring.HistUtils
import ptbins_default
19 if "mb" in chain : ptbins = ptbins_mb
20 else: ptbins = ptbins_default
27 from TrigIDR4Monitoring.HistUtils
import d0bins_default
28 from TrigIDR4Monitoring.HistUtils
import d0bins_lrt
30 if "LRT" in chain : d0bins = d0bins_lrt
31 else: d0bins = d0bins_default
34 if "_probe" in cs.extra :
35 defineHisto( monTool,
"invmass", path=npath, type=
"TH1F", title=
"invariant mass", xbins=100, xmin=50, xmax=150 )
38 for dir
in [
"reference",
"test" ]:
42 defineHisto( monTool,
"track_pt", namespace=dir, path=mpath, type=
"TH1F", title=
"track_pt", xbins=ptbins )
43 defineHisto( monTool,
"track_eta", namespace=dir, path=mpath, type=
"TH1F", title=
"track_eta", xbins=40, xmin=-4, xmax=4 )
44 defineHisto( monTool,
"track_phi", namespace=dir, path=mpath, type=
"TH1F", title=
"track_phi", xbins=20, xmin=-3.142, xmax=3.142 )
46 defineHisto( monTool,
"track_d0", namespace=dir, path=mpath, type=
"TH1F", title=
"track_d0", xbins=d0bins )
47 defineHisto( monTool,
"track_z0", namespace=dir, path=mpath, type=
"TH1F", title=
"track_z0", xbins=100, xmin=-200, xmax=200 )
48 defineHisto( monTool,
"track_z0sin", namespace=dir, path=mpath, type=
"TH1F", title=
"track_z0sin", xbins=100, xmin=-200, xmax=200 )
49 defineHisto( monTool,
"track_theta", namespace=dir, path=mpath, type=
"TH1F", title=
"track_theta", xbins=20, xmin=0, xmax=3.142 )
51 defineHisto( monTool,
"track_qoverp", namespace=dir, path=mpath, type=
"TH1F", title=
"track_qoverp", xbins=100, xmin=-4, xmax=4 )
53 defineHisto( monTool,
"track_nSiHits", namespace=dir, path=mpath, type=
"TH1F", title=
"track_nSiHits", xbins=30, xmin=0, xmax=30 )
54 defineHisto( monTool,
"track_nSiHits_vs_eta", namespace=dir, path=mpath, type=
"TH2F", title=
"track_nSiHits_vs_eta", xbins=20, xmin=-4, xmax=4, ybins=30, ymin=0, ymax=30 )
56 defineHisto( monTool,
"track_Et", namespace=dir, path=mpath, type=
"TH1F", title=
"track_Et", xbins=ptbins )
57 defineHisto( monTool,
"track_EtovPt", namespace=dir, path=mpath, type=
"TH1F", title=
"track_EtovPt", xbins=40, xmin=0, xmax=10 )
59 defineHisto( monTool,
"track_chi2", namespace=dir, path=mpath, type=
"TH1F", title=
"track_chi2", xbins=200, xmin=0, xmax=40 )
60 defineHisto( monTool,
"track_ndof", namespace=dir, path=mpath, type=
"TH1F", title=
"track_ndof", xbins=20, xmin=0, xmax=30 )
61 defineHisto( monTool,
"track_chi2OverNdof", namespace=dir, path=mpath, type=
"TH1F", title=
"track_chi2OverNdof", xbins=100, xmin=0, xmax=10 )
63 defineHisto( monTool,
"track_author", namespace=dir, path=mpath, type=
"TH1F", title=
"track_author", xbins=10, xmin=0, xmax=10 )
73 defineHisto( monTool,
"sigma_pt", namespace=dir, path=mpath, type=
"TH1F", title=
"sigma_pt", xbins=100, xmin=-1, xmax=4 )
74 defineHisto( monTool,
"sigma_eta", namespace=dir, path=mpath, type=
"TH1F", title=
"sigma_eta", xbins=100, xmin=0, xmax=0.01 )
75 defineHisto( monTool,
"sigma_phi", namespace=dir, path=mpath, type=
"TH1F", title=
"sigma_phi", xbins=100, xmin=0, xmax=0.01 )
76 defineHisto( monTool,
"sigma_d0", namespace=dir, path=mpath, type=
"TH1F", title=
"sigma_d0", xbins=100, xmin=-0.5, xmax=0.5 )
77 defineHisto( monTool,
"sigma_z0", namespace=dir, path=mpath, type=
"TH1F", title=
"sigma_z0", xbins=100, xmin=0, xmax=5 )
78 defineHisto( monTool,
"sigma_z0sin", namespace=dir, path=mpath, type=
"TH1F", title=
"sigma_z0sin", xbins=100, xmin=0, xmax=5 )
79 defineHisto( monTool,
"sigma_theta", namespace=dir, path=mpath, type=
"TH1F", title=
"sigma_theta", xbins=100, xmin=0, xmax=0.01 )
81 defineHisto( monTool,
"significance_d0", namespace=dir, path=mpath, type=
"TH1F", title=
"significance_d0", xbins=100, xmin=-10, xmax=10 )