EndUT
This commit is contained in:
parent
b6c3791bdf
commit
0dfda3afd8
BIN
data_results/PrCheckerBEndUT.root
Normal file
BIN
data_results/PrCheckerBEndUT.root
Normal file
Binary file not shown.
@ -58,7 +58,9 @@ options.dddb_tag = "dddb-20210617"
|
|||||||
options.simulation = True
|
options.simulation = True
|
||||||
options.input_type = "ROOT"
|
options.input_type = "ROOT"
|
||||||
|
|
||||||
options.ntuple_file = f"data/tracking_losses_ntuple_{decay}_EndVeloP.root"
|
options.ntuple_file = (
|
||||||
|
f"data/tracking_losses_ntuple_{decay}_rad_length_beginVelo2endVelo.root"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def run_tracking_losses():
|
def run_tracking_losses():
|
||||||
|
@ -263,6 +263,8 @@ def get_eff(eff, hist, tf, histoName, label, var):
|
|||||||
eff[lab].SetTitle(lab + " BestLong")
|
eff[lab].SetTitle(lab + " BestLong")
|
||||||
if histoName.find("EndVelo") != -1:
|
if histoName.find("EndVelo") != -1:
|
||||||
eff[lab].SetTitle(eff[lab].GetTitle() + " EndVelo")
|
eff[lab].SetTitle(eff[lab].GetTitle() + " EndVelo")
|
||||||
|
# if histoName.find("EndUT") != -1:
|
||||||
|
# eff[lab].SetTitle(eff[lab].GetTitle() + " EndUT")
|
||||||
|
|
||||||
hist[lab] = denominator.Clone()
|
hist[lab] = denominator.Clone()
|
||||||
hist[lab].SetName("h_numerator_notElectrons")
|
hist[lab].SetName("h_numerator_notElectrons")
|
||||||
@ -273,6 +275,8 @@ def get_eff(eff, hist, tf, histoName, label, var):
|
|||||||
hist[lab].SetTitle(var + " distribution, e^{-}")
|
hist[lab].SetTitle(var + " distribution, e^{-}")
|
||||||
if histoName.find("EndVelo") != -1:
|
if histoName.find("EndVelo") != -1:
|
||||||
hist[lab].SetTitle(hist[lab].GetTitle() + ", EndVelo")
|
hist[lab].SetTitle(hist[lab].GetTitle() + ", EndVelo")
|
||||||
|
# if histoName.find("EndUT") != -1:
|
||||||
|
# hist[lab].SetTitle(hist[lab].GetTitle() + ", EndUT")
|
||||||
|
|
||||||
return eff, hist
|
return eff, hist
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -284,15 +284,6 @@ def categoriesDict():
|
|||||||
"Electrons"
|
"Electrons"
|
||||||
] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV"
|
] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV"
|
||||||
|
|
||||||
basedict["Forward"]["01_long"]["EndVelo"] = "07_long_electrons_EndVelo"
|
|
||||||
basedict["Forward"]["05_long_fromB"]["EndVelo"] = "08_long_fromB_electrons_EndVelo"
|
|
||||||
basedict["Forward"]["06_long_fromB_P>5GeV"][
|
|
||||||
"EndVelo"
|
|
||||||
] = "09_long_fromB_electrons_P>5GeV_EndVelo"
|
|
||||||
basedict["Forward"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
|
|
||||||
"EndVelo"
|
|
||||||
] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV_EndVelo"
|
|
||||||
|
|
||||||
basedict["Forward"]["01_long"]["title"] = "Long, 2 <#eta < 5"
|
basedict["Forward"]["01_long"]["title"] = "Long, 2 <#eta < 5"
|
||||||
basedict["Forward"]["02_long_P>5GeV"]["title"] = "Long, p>5GeV, 2 <#eta < 5"
|
basedict["Forward"]["02_long_P>5GeV"]["title"] = "Long, p>5GeV, 2 <#eta < 5"
|
||||||
basedict["Forward"]["03_long_strange"]["title"] = "Long, from strange, 2 <#eta < 5"
|
basedict["Forward"]["03_long_strange"]["title"] = "Long, from strange, 2 <#eta < 5"
|
||||||
@ -322,6 +313,15 @@ def categoriesDict():
|
|||||||
basedict["Forward"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
|
basedict["Forward"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
|
||||||
basedict["Forward"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
|
basedict["Forward"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
|
||||||
|
|
||||||
|
basedict["Forward"]["01_long"]["EndVelo"] = "07_long_electrons_EndVelo"
|
||||||
|
basedict["Forward"]["05_long_fromB"]["EndVelo"] = "08_long_fromB_electrons_EndVelo"
|
||||||
|
basedict["Forward"]["06_long_fromB_P>5GeV"][
|
||||||
|
"EndVelo"
|
||||||
|
] = "09_long_fromB_electrons_P>5GeV_EndVelo"
|
||||||
|
basedict["Forward"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
|
||||||
|
"EndVelo"
|
||||||
|
] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV_EndVelo"
|
||||||
|
|
||||||
basedict["Forward"]["01_long"]["plotEndVelo"] = True
|
basedict["Forward"]["01_long"]["plotEndVelo"] = True
|
||||||
basedict["Forward"]["02_long_P>5GeV"]["plotEndVelo"] = False
|
basedict["Forward"]["02_long_P>5GeV"]["plotEndVelo"] = False
|
||||||
basedict["Forward"]["03_long_strange"]["plotEndVelo"] = False
|
basedict["Forward"]["03_long_strange"]["plotEndVelo"] = False
|
||||||
@ -331,6 +331,24 @@ def categoriesDict():
|
|||||||
basedict["Forward"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndVelo"] = False
|
basedict["Forward"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndVelo"] = False
|
||||||
basedict["Forward"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndVelo"] = False
|
basedict["Forward"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndVelo"] = False
|
||||||
|
|
||||||
|
basedict["Forward"]["01_long"]["EndUT"] = "07_long_electrons_EndUT"
|
||||||
|
basedict["Forward"]["05_long_fromB"]["EndUT"] = "08_long_fromB_electrons_EndUT"
|
||||||
|
basedict["Forward"]["06_long_fromB_P>5GeV"][
|
||||||
|
"EndUT"
|
||||||
|
] = "09_long_fromB_electrons_P>5GeV_EndUT"
|
||||||
|
basedict["Forward"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
|
||||||
|
"EndUT"
|
||||||
|
] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV_EndUT"
|
||||||
|
|
||||||
|
basedict["Forward"]["01_long"]["plotEndUT"] = True
|
||||||
|
basedict["Forward"]["02_long_P>5GeV"]["plotEndUT"] = False
|
||||||
|
basedict["Forward"]["03_long_strange"]["plotEndUT"] = False
|
||||||
|
basedict["Forward"]["04_long_strange_P>5GeV"]["plotEndUT"] = False
|
||||||
|
basedict["Forward"]["05_long_fromB"]["plotEndUT"] = True
|
||||||
|
basedict["Forward"]["06_long_fromB_P>5GeV"]["plotEndUT"] = True
|
||||||
|
basedict["Forward"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndUT"] = False
|
||||||
|
basedict["Forward"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndUT"] = False
|
||||||
|
|
||||||
# MUONMATCH
|
# MUONMATCH
|
||||||
basedict["MuonMatch"]["01_long"]["title"] = "Long, forward track, 2 <#eta< 5"
|
basedict["MuonMatch"]["01_long"]["title"] = "Long, forward track, 2 <#eta< 5"
|
||||||
basedict["MuonMatch"]["02_long_muon"][
|
basedict["MuonMatch"]["02_long_muon"][
|
||||||
@ -350,15 +368,6 @@ def categoriesDict():
|
|||||||
"Electrons"
|
"Electrons"
|
||||||
] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV"
|
] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV"
|
||||||
|
|
||||||
basedict["Match"]["01_long"]["EndVelo"] = "07_long_electrons_EndVelo"
|
|
||||||
basedict["Match"]["05_long_fromB"]["EndVelo"] = "08_long_fromB_electrons_EndVelo"
|
|
||||||
basedict["Match"]["06_long_fromB_P>5GeV"][
|
|
||||||
"EndVelo"
|
|
||||||
] = "09_long_fromB_electrons_P>5GeV_EndVelo"
|
|
||||||
basedict["Match"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
|
|
||||||
"EndVelo"
|
|
||||||
] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV_EndVelo"
|
|
||||||
|
|
||||||
basedict["Match"]["01_long"]["title"] = "Long, 2 <#eta < 5"
|
basedict["Match"]["01_long"]["title"] = "Long, 2 <#eta < 5"
|
||||||
basedict["Match"]["02_long_P>5GeV"]["title"] = "Long, p>5GeV, 2 <#eta < 5"
|
basedict["Match"]["02_long_P>5GeV"]["title"] = "Long, p>5GeV, 2 <#eta < 5"
|
||||||
basedict["Match"]["03_long_strange"]["title"] = "Long, from strange, 2 <#eta < 5"
|
basedict["Match"]["03_long_strange"]["title"] = "Long, from strange, 2 <#eta < 5"
|
||||||
@ -389,6 +398,15 @@ def categoriesDict():
|
|||||||
basedict["Match"]["10_long_strange_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
|
basedict["Match"]["10_long_strange_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
|
||||||
basedict["Match"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
|
basedict["Match"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotElectrons"] = False
|
||||||
|
|
||||||
|
basedict["Match"]["01_long"]["EndVelo"] = "07_long_electrons_EndVelo"
|
||||||
|
basedict["Match"]["05_long_fromB"]["EndVelo"] = "08_long_fromB_electrons_EndVelo"
|
||||||
|
basedict["Match"]["06_long_fromB_P>5GeV"][
|
||||||
|
"EndVelo"
|
||||||
|
] = "09_long_fromB_electrons_P>5GeV_EndVelo"
|
||||||
|
basedict["Match"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
|
||||||
|
"EndVelo"
|
||||||
|
] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV_EndVelo"
|
||||||
|
|
||||||
basedict["Match"]["01_long"]["plotEndVelo"] = True
|
basedict["Match"]["01_long"]["plotEndVelo"] = True
|
||||||
basedict["Match"]["02_long_P>5GeV"]["plotEndVelo"] = False
|
basedict["Match"]["02_long_P>5GeV"]["plotEndVelo"] = False
|
||||||
basedict["Match"]["03_long_strange"]["plotEndVelo"] = False
|
basedict["Match"]["03_long_strange"]["plotEndVelo"] = False
|
||||||
@ -399,6 +417,25 @@ def categoriesDict():
|
|||||||
basedict["Match"]["10_long_strange_P>3GeV_Pt>0.5GeV"]["plotEndVelo"] = False
|
basedict["Match"]["10_long_strange_P>3GeV_Pt>0.5GeV"]["plotEndVelo"] = False
|
||||||
basedict["Match"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndVelo"] = False
|
basedict["Match"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndVelo"] = False
|
||||||
|
|
||||||
|
basedict["Match"]["01_long"]["EndUT"] = "07_long_electrons_EndUT"
|
||||||
|
basedict["Match"]["05_long_fromB"]["EndUT"] = "08_long_fromB_electrons_EndUT"
|
||||||
|
basedict["Match"]["06_long_fromB_P>5GeV"][
|
||||||
|
"EndUT"
|
||||||
|
] = "09_long_fromB_electrons_P>5GeV_EndUT"
|
||||||
|
basedict["Match"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
|
||||||
|
"EndUT"
|
||||||
|
] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV_EndUT"
|
||||||
|
|
||||||
|
basedict["Match"]["01_long"]["plotEndUT"] = True
|
||||||
|
basedict["Match"]["02_long_P>5GeV"]["plotEndUT"] = False
|
||||||
|
basedict["Match"]["03_long_strange"]["plotEndUT"] = False
|
||||||
|
basedict["Match"]["04_long_strange_P>5GeV"]["plotEndUT"] = False
|
||||||
|
basedict["Match"]["05_long_fromB"]["plotEndUT"] = True
|
||||||
|
basedict["Match"]["06_long_fromB_P>5GeV"]["plotEndUT"] = True
|
||||||
|
basedict["Match"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndUT"] = False
|
||||||
|
basedict["Match"]["10_long_strange_P>3GeV_Pt>0.5GeV"]["plotEndUT"] = False
|
||||||
|
basedict["Match"]["11_UT_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndUT"] = False
|
||||||
|
|
||||||
# MergedMatch
|
# MergedMatch
|
||||||
basedict["MergedMatch"]["01_long"]["Electrons"] = "07_long_electrons"
|
basedict["MergedMatch"]["01_long"]["Electrons"] = "07_long_electrons"
|
||||||
basedict["MergedMatch"]["05_long_fromB"]["Electrons"] = "08_long_fromB_electrons"
|
basedict["MergedMatch"]["05_long_fromB"]["Electrons"] = "08_long_fromB_electrons"
|
||||||
@ -498,14 +535,6 @@ def categoriesDict():
|
|||||||
"Electrons"
|
"Electrons"
|
||||||
] = "17_long_fromB_electrons_P>5GeV"
|
] = "17_long_fromB_electrons_P>5GeV"
|
||||||
|
|
||||||
basedict["Seed"]["01_hasT"]["EndVelo"] = "13_hasT_electrons_EndVelo"
|
|
||||||
basedict["Seed"]["02_long"]["EndVelo"] = "14_long_electrons_EndVelo"
|
|
||||||
basedict["Seed"]["03_long_P>5GeV"]["EndVelo"] = "16_long_electrons_P>5GeV_EndVelo"
|
|
||||||
basedict["Seed"]["04_long_fromB"]["EndVelo"] = "15_long_fromB_electrons_EndVelo"
|
|
||||||
basedict["Seed"]["05_long_fromB_P>5GeV"][
|
|
||||||
"EndVelo"
|
|
||||||
] = "17_long_fromB_electrons_P>5GeV_EndVelo"
|
|
||||||
|
|
||||||
basedict["Seed"]["01_hasT"]["title"] = "T, 2 <#eta < 5"
|
basedict["Seed"]["01_hasT"]["title"] = "T, 2 <#eta < 5"
|
||||||
basedict["Seed"]["02_long"]["title"] = "Long, 2 <#eta < 5"
|
basedict["Seed"]["02_long"]["title"] = "Long, 2 <#eta < 5"
|
||||||
basedict["Seed"]["03_long_P>5GeV"]["title"] = "Long, p>5GeV, 2 <#eta < 5"
|
basedict["Seed"]["03_long_P>5GeV"]["title"] = "Long, p>5GeV, 2 <#eta < 5"
|
||||||
@ -533,6 +562,14 @@ def categoriesDict():
|
|||||||
basedict["Seed"]["09_noVelo+UT+T_strange_P>5GeV"]["plotElectrons"] = False
|
basedict["Seed"]["09_noVelo+UT+T_strange_P>5GeV"]["plotElectrons"] = False
|
||||||
basedict["Seed"]["12_noVelo+UT+T_SfromDB_P>5GeV"]["plotElectrons"] = False
|
basedict["Seed"]["12_noVelo+UT+T_SfromDB_P>5GeV"]["plotElectrons"] = False
|
||||||
|
|
||||||
|
basedict["Seed"]["01_hasT"]["EndVelo"] = "13_hasT_electrons_EndVelo"
|
||||||
|
basedict["Seed"]["02_long"]["EndVelo"] = "14_long_electrons_EndVelo"
|
||||||
|
basedict["Seed"]["03_long_P>5GeV"]["EndVelo"] = "16_long_electrons_P>5GeV_EndVelo"
|
||||||
|
basedict["Seed"]["04_long_fromB"]["EndVelo"] = "15_long_fromB_electrons_EndVelo"
|
||||||
|
basedict["Seed"]["05_long_fromB_P>5GeV"][
|
||||||
|
"EndVelo"
|
||||||
|
] = "17_long_fromB_electrons_P>5GeV_EndVelo"
|
||||||
|
|
||||||
basedict["Seed"]["01_hasT"]["plotEndVelo"] = False
|
basedict["Seed"]["01_hasT"]["plotEndVelo"] = False
|
||||||
basedict["Seed"]["02_long"]["plotEndVelo"] = True
|
basedict["Seed"]["02_long"]["plotEndVelo"] = True
|
||||||
basedict["Seed"]["03_long_P>5GeV"]["plotEndVelo"] = False
|
basedict["Seed"]["03_long_P>5GeV"]["plotEndVelo"] = False
|
||||||
@ -543,6 +580,24 @@ def categoriesDict():
|
|||||||
basedict["Seed"]["09_noVelo+UT+T_strange_P>5GeV"]["plotEndVelo"] = False
|
basedict["Seed"]["09_noVelo+UT+T_strange_P>5GeV"]["plotEndVelo"] = False
|
||||||
basedict["Seed"]["12_noVelo+UT+T_SfromDB_P>5GeV"]["plotEndVelo"] = False
|
basedict["Seed"]["12_noVelo+UT+T_SfromDB_P>5GeV"]["plotEndVelo"] = False
|
||||||
|
|
||||||
|
basedict["Seed"]["01_hasT"]["EndUT"] = "13_hasT_electrons_EndUT"
|
||||||
|
basedict["Seed"]["02_long"]["EndUT"] = "14_long_electrons_EndUT"
|
||||||
|
basedict["Seed"]["03_long_P>5GeV"]["EndUT"] = "16_long_electrons_P>5GeV_EndUT"
|
||||||
|
basedict["Seed"]["04_long_fromB"]["EndUT"] = "15_long_fromB_electrons_EndUT"
|
||||||
|
basedict["Seed"]["05_long_fromB_P>5GeV"][
|
||||||
|
"EndUT"
|
||||||
|
] = "17_long_fromB_electrons_P>5GeV_EndUT"
|
||||||
|
|
||||||
|
basedict["Seed"]["01_hasT"]["plotEndUT"] = False
|
||||||
|
basedict["Seed"]["02_long"]["plotEndUT"] = True
|
||||||
|
basedict["Seed"]["03_long_P>5GeV"]["plotEndUT"] = False
|
||||||
|
basedict["Seed"]["04_long_fromB"]["plotEndUT"] = True
|
||||||
|
basedict["Seed"]["05_long_fromB_P>5GeV"]["plotEndUT"] = True
|
||||||
|
###
|
||||||
|
basedict["Seed"]["08_noVelo+UT+T_strange"]["plotEndUT"] = False
|
||||||
|
basedict["Seed"]["09_noVelo+UT+T_strange_P>5GeV"]["plotEndUT"] = False
|
||||||
|
basedict["Seed"]["12_noVelo+UT+T_SfromDB_P>5GeV"]["plotEndUT"] = False
|
||||||
|
|
||||||
# DOWNSTREAM
|
# DOWNSTREAM
|
||||||
basedict["Downstream"]["01_UT+T"]["title"] = "UT+T, 2 <#eta < 5"
|
basedict["Downstream"]["01_UT+T"]["title"] = "UT+T, 2 <#eta < 5"
|
||||||
basedict["Downstream"]["05_noVelo+UT+T_strange"][
|
basedict["Downstream"]["05_noVelo+UT+T_strange"][
|
||||||
@ -618,6 +673,24 @@ def categoriesDict():
|
|||||||
"EndVelo"
|
"EndVelo"
|
||||||
] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV_EndVelo"
|
] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV_EndVelo"
|
||||||
|
|
||||||
|
basedict["BestLong"]["01_long"]["plotEndUT"] = True
|
||||||
|
basedict["BestLong"]["02_long_P>5GeV"]["plotEndUT"] = False
|
||||||
|
basedict["BestLong"]["03_long_strange"]["plotEndUT"] = False
|
||||||
|
basedict["BestLong"]["04_long_strange_P>5GeV"]["plotEndUT"] = False
|
||||||
|
basedict["BestLong"]["05_long_fromB"]["plotEndUT"] = True
|
||||||
|
basedict["BestLong"]["06_long_fromB_P>5GeV"]["plotEndUT"] = True
|
||||||
|
basedict["BestLong"]["10_long_fromB_P>3GeV_Pt>0.5GeV"]["plotEndUT"] = False
|
||||||
|
basedict["BestLong"]["10_long_strange_P>3GeV_Pt>0.5GeV"]["plotEndUT"] = False
|
||||||
|
|
||||||
|
basedict["BestLong"]["01_long"]["EndUT"] = "07_long_electrons_EndUT"
|
||||||
|
basedict["BestLong"]["05_long_fromB"]["EndUT"] = "08_long_fromB_electrons_EndUT"
|
||||||
|
basedict["BestLong"]["06_long_fromB_P>5GeV"][
|
||||||
|
"EndUT"
|
||||||
|
] = "09_long_fromB_electrons_P>5GeV_EndUT"
|
||||||
|
basedict["BestLong"]["10_long_fromB_P>3GeV_Pt>0.5GeV"][
|
||||||
|
"EndUT"
|
||||||
|
] = "10_long_fromB_electrons_P>3GeV_Pt>0.5GeV_EndUT"
|
||||||
|
|
||||||
#
|
#
|
||||||
# BESTDOWNSTREAM
|
# BESTDOWNSTREAM
|
||||||
basedict["BestDownstream"]["01_UT+T"]["title"] = "UT+T, 2 <#eta < 5"
|
basedict["BestDownstream"]["01_UT+T"]["title"] = "UT+T, 2 <#eta < 5"
|
||||||
|
Loading…
Reference in New Issue
Block a user