Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PyTests #96

Merged
merged 2 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions configs/V29/objects/electrons.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
part_e:
# trafo: "Pt" -- Here no trafo needed but for HT like this.
label: "Gen Electrons"
eta_ranges:
inclusive: [0, 7]
ids:
default:
cuts:
event:
inclusive:
- "{dr_0.3} < 0.15"
- "abs({eta}) < 1.479"
object:
inclusive:
- "abs({eta}) < 1.479"

tkElectron:
match_dR: 0.15
eta_ranges:
inclusive: [0, 7]
barrel: [0, 1.479]
endcap: [1.479, 5]
ids:
NoIso:
label: "TkElectron"
cuts:
inclusive:
- "abs({eta}) < 2.4"
#- "({passeseleid} == 1)"
- "({passeseleid} == 1) | ({pt} < 25)"
NoIsoForIso:
# This id is exclusively used for the
# isoloation wp derivation
label: "TkElectron, no ID"
cuts:
inclusive:
- "abs({eta}) < 2.7"
Iso:
label: "TkIsoElectron"
cuts:
inclusive:
- "abs({eta}) < 2.4"
barrel:
- "abs({trkiso}) < 0.13"
endcap:
- "abs({trkiso}) < 0.28"
NoIsoLowPt:
label: "TkElectron, no ID for $p_T<25$"
cuts:
inclusive:
- "abs({eta}) < 2.4"
- "({passeseleid} == 1) | ({pt} < 25)"

EG:
match_dR: 0.2
eta_ranges:
inclusive: [0, 7]
barrel: [0, 1.479]
endcap: [1.479, 3.0]
label: "EG"
ids:
default:
cuts:
inclusive:
- "abs({eta}) < 3.0"
barrel:
- "{passeseleid} == 1"
endcap:
- "{passessaid} == 1"
71 changes: 71 additions & 0 deletions configs/V29/objects/jets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
caloJet:
match_dR: 0.3
label: "Calo Jet"
eta_ranges:
inclusive: [0, 7]
cuts:
inclusive:
- "abs({eta}) < 7"
ids:
default:
cuts:
inclusive:
- "abs({eta}) < 7"

seededConeExtendedPuppiJet:
match_dR: 0.35
label: "Seeded Cone Extended PuppiJet"
eta_ranges:
inclusive: [0, 7]
ids:
default:
cuts:
inclusive:
- "abs({eta}) < 5"
bjetnn:
cuts:
inclusive:
- "abs({eta}) < 2.4"
- "{bjetnn} > 0.71"

phase1PuppiJet:
match_dR: 0.3
label: "Histogrammed PuppiJet"
eta_ranges:
inclusive: [0, 7]
barrel: [0, 1.5]
endcap: [1.5, 2.4]
forward: [2.4, 5]
ids:
default:
cuts:
inclusive:
- "abs({eta}) < 7"

seededConePuppiJet:
match_dR: 0.35
label: "Seeded Cone PuppiJet"
eta_ranges:
inclusive: [0, 7]
barrel: [0, 1.5]
endcap: [1.5, 2.4]
forward: [2.4, 5]
ids:
default:
cuts:
inclusive:
- "{et}>25"
- "abs({eta}) < 7"

trackerJet:
match_dR: 0.4
label: "Tracker Jet"
eta_ranges:
inclusive: [0, 7]
barrel: [0, 1.5]
endcap: [1.5, 2.4]
ids:
default:
cuts:
inclusive:
- "abs({eta}) < 7"
52 changes: 52 additions & 0 deletions configs/V29/objects/met_ht_mht.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
jet:
eta_ranges:
inclusive: [0, 8]
ids:
ht:
label: "Gen HT"
trafo: "HT"
cuts:
object:
inclusive:
- "abs({eta}) < 2.4"
- "{pt} > 30"

phase1PuppiHT:
label: "Histogrammed Puppi HT"
ids:
default: {}

phase1PuppiMHT:
label: "Phase1 Puppi MHT"
ids:
default: {}

puppiMET:
label: "Puppi MET"
ids:
default: {}

seededConePuppiHT:
label: "SeededCone HT"
ids:
default: {}

seededConePuppiMHT:
label: "SeededCone MHT"
ids:
default: {}

trackerHT:
label: "Tracker HT"
ids:
default: {}

trackerMET:
label: "Tracker MET"
ids:
default: {}

trackerMHT:
label: "Tracker MHT"
ids:
default: {}
29 changes: 29 additions & 0 deletions configs/V29/objects/muons.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
gmtMuon:
label: "GMT Muon"
match_dR: 0.3
eta_ranges:
inclusive: [0, 7]
barrel: [0, 0.83]
overlap: [0.83, 1.24]
endcap: [1.24, 2.4]
ids:
default: {}
oldRateID:
label: "GMT Muon, Qual>=12 in OMTF"
cuts:
overlap:
- "{quality} >= 12"

gmtTkMuon:
label: "GMT TkMuon"
match_dR: 0.1
eta_ranges:
inclusive: [0, 7]
barrel: [0, 0.83]
overlap: [0.83, 1.24]
endcap: [1.24, 2.4]
ids:
default:
cuts:
inclusive:
- "({quality} > 0) | ({pt} > 8)" # quality criterion only to be appied for p_T < 8 GeV
27 changes: 27 additions & 0 deletions configs/V29/objects/photons.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
tkPhoton:
match_dR: 0.15
eta_ranges:
inclusive: [0, 5]
barrel: [0, 1.479]
endcap: [1.479, 2.4]
ids:
NoIso:
label: "tkPhoton"
cuts:
inclusive:
- "abs({eta}) < 2.4"
barrel:
- "{passeseleid} == 1"
endcap:
- "{passesphoid} == 1"
Iso:
label: "tkIsoPhoton"
cuts:
inclusive:
- "abs({eta}) < 2.4"
barrel:
- "abs({trkiso}) < 0.25"
- "{passeseleid} == 1"
endcap:
- "abs({trkiso}) < 0.205"
- "{passesphoid} == 1"
4 changes: 4 additions & 0 deletions configs/V29/objects/pv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
z0L1TkPV:
label: "Primary Vertex"
ids:
default: {}
29 changes: 29 additions & 0 deletions configs/V29/objects/taus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
nnTau:
label: "NN Tau"
match_dR: 0.1
eta_ranges:
inclusive: [0, 7]
barrel: [0, 1.5]
endcap: [1.5, 2.4]
cuts:
inclusive:
- "{passloosenn}==1"
ids:
default:
cuts:
inclusive:
- "abs({eta}) < 2.4"
- "{passloosenn}==1"

caloTau:
label: "Calo Tau"
match_dR: 0.3
eta_ranges:
inclusive: [0, 7]
barrel: [0, 1.5]
endcap: [1.5, 2.4]
ids:
default:
cuts:
inclusive:
- "abs({eta}) < 2.4"
Loading