13 mypath = mypath +
"/Efficiencies"
15 from TrigIDR4Monitoring.HistUtils
import ptbins_mb
16 from TrigIDR4Monitoring.HistUtils
import ptbins_default
18 if "mb" in chain : ptbins = ptbins_mb
19 else: ptbins = ptbins_default
21 from TrigIDR4Monitoring.HistUtils
import vnbins_full
26 from TrigIDR4Monitoring.HistUtils
import d0bins_default
27 from TrigIDR4Monitoring.HistUtils
import d0bins_lrt
29 if "LRT" in chain : d0bins = d0bins_lrt
30 else: d0bins = d0bins_default
33 defineHisto( monTool,
"eff_vs_inclusive", path=mypath, type=
"TEfficiency", title=
"eff_vs_inclusive", xbins=1, xmin=0, xmax=1 )
35 defineHisto( monTool,
"eff_vs_ntracks", path=mypath, type=
"TEfficiency", title=
"eff_vs_ntracks", xbins=vnbins )
38 defineHisto( monTool,
"eff_vs_pt", path=mypath, type=
"TEfficiency", title=
"eff_vs_pt", xbins=ptbins )
44 defineHisto( monTool,
"eff_vs_Et", path=mypath, type=
"TEfficiency", title=
"eff_vs_Et", xbins=ptbins )
45 defineHisto( monTool,
"eff_vs_EtovPt", path=mypath, type=
"TEfficiency", title=
"eff_vs_EtovPt", xbins=100, xmin=0, xmax=10 )
47 defineHisto( monTool,
"eff_vs_eta", path=mypath, type=
"TEfficiency", title=
"eff_vs_eta", xbins=100, xmin=-4, xmax=4 )
50 defineHisto( monTool,
"eff_vs_phi", path=mypath, type=
"TEfficiency", title=
"eff_vs_phi", xbins=50, xmin=-3.1416, xmax=3.1416 )
51 defineHisto( monTool,
"eff_vs_d0", path=mypath, type=
"TEfficiency", title=
"eff_vs_d0", xbins=d0bins )
52 defineHisto( monTool,
"eff_vs_z0", path=mypath, type=
"TEfficiency", title=
"eff_vs_z0", xbins=100, xmin=-180, xmax=180 )
54 defineHisto( monTool,
"eff_vs_actualMu", path=mypath, type=
"TEfficiency", title=
"eff_vs_actualMu", xbins=100, xmin=0, xmax=200 )