From 9ec89c6381eb1c552ac8a9c7430753902d41c2eb Mon Sep 17 00:00:00 2001 From: Daniel Hundhausen Date: Mon, 11 Nov 2024 15:40:55 +0100 Subject: [PATCH] restore necessary configs for tests --- configs/V29/objects/electrons.yaml | 69 ++++++++++++++++++++++++++++ configs/V29/objects/jets.yaml | 71 +++++++++++++++++++++++++++++ configs/V29/objects/met_ht_mht.yaml | 52 +++++++++++++++++++++ configs/V29/objects/muons.yaml | 29 ++++++++++++ configs/V29/objects/photons.yaml | 27 +++++++++++ configs/V29/objects/pv.yaml | 4 ++ configs/V29/objects/taus.yaml | 29 ++++++++++++ 7 files changed, 281 insertions(+) create mode 100644 configs/V29/objects/electrons.yaml create mode 100644 configs/V29/objects/jets.yaml create mode 100644 configs/V29/objects/met_ht_mht.yaml create mode 100644 configs/V29/objects/muons.yaml create mode 100644 configs/V29/objects/photons.yaml create mode 100644 configs/V29/objects/pv.yaml create mode 100644 configs/V29/objects/taus.yaml diff --git a/configs/V29/objects/electrons.yaml b/configs/V29/objects/electrons.yaml new file mode 100644 index 00000000..dc3574be --- /dev/null +++ b/configs/V29/objects/electrons.yaml @@ -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" diff --git a/configs/V29/objects/jets.yaml b/configs/V29/objects/jets.yaml new file mode 100644 index 00000000..0866c01d --- /dev/null +++ b/configs/V29/objects/jets.yaml @@ -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" diff --git a/configs/V29/objects/met_ht_mht.yaml b/configs/V29/objects/met_ht_mht.yaml new file mode 100644 index 00000000..05a1a78a --- /dev/null +++ b/configs/V29/objects/met_ht_mht.yaml @@ -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: {} diff --git a/configs/V29/objects/muons.yaml b/configs/V29/objects/muons.yaml new file mode 100644 index 00000000..7a607325 --- /dev/null +++ b/configs/V29/objects/muons.yaml @@ -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 diff --git a/configs/V29/objects/photons.yaml b/configs/V29/objects/photons.yaml new file mode 100644 index 00000000..234d5bc2 --- /dev/null +++ b/configs/V29/objects/photons.yaml @@ -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" diff --git a/configs/V29/objects/pv.yaml b/configs/V29/objects/pv.yaml new file mode 100644 index 00000000..adc3eab4 --- /dev/null +++ b/configs/V29/objects/pv.yaml @@ -0,0 +1,4 @@ +z0L1TkPV: + label: "Primary Vertex" + ids: + default: {} diff --git a/configs/V29/objects/taus.yaml b/configs/V29/objects/taus.yaml new file mode 100644 index 00000000..2f1bf535 --- /dev/null +++ b/configs/V29/objects/taus.yaml @@ -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"