From 9cc15a8774e644ebdd961773090aabe2cc4a7a56 Mon Sep 17 00:00:00 2001 From: Daniel Hundhausen Date: Tue, 22 Oct 2024 14:35:44 +0200 Subject: [PATCH] adapt configs to new reference object definiton style (alphabetically until muon_matching_eta.yaml) --- .../V44nano/object_performance/disp_ht.yaml | 18 +-- .../object_performance/electron_iso.yaml | 22 +-- .../object_performance/electron_matching.yaml | 44 +----- .../electron_matching_eta.yaml | 23 +-- .../object_performance/electron_purity.yaml | 20 +-- .../object_performance/electron_trigger.yaml | 15 +- .../object_performance/jets_matching.yaml | 42 +----- .../object_performance/jets_matching_eta.yaml | 39 +---- .../jets_matching_wBTag.yaml | 57 +------ .../object_performance/jets_sc8_trigger.yaml | 27 +--- .../object_performance/jets_trigger.yaml | 27 +--- .../object_performance/met_ht_mht.yaml | 37 +---- .../object_performance/muon_matching.yaml | 32 +--- .../object_performance/muon_matching_eta.yaml | 23 +-- configs/V44nano/objects/GenPart.yaml | 96 +++++++++++- configs/V44nano/objects/electrons.yaml | 16 ++ configs/V44nano/objects/jets.yaml | 141 ++++++++++++++++++ configs/V44nano/objects/met_ht_mht.yaml | 7 +- 18 files changed, 306 insertions(+), 380 deletions(-) diff --git a/configs/V44nano/object_performance/disp_ht.yaml b/configs/V44nano/object_performance/disp_ht.yaml index 8c83784f..c48b8614 100644 --- a/configs/V44nano/object_performance/disp_ht.yaml +++ b/configs/V44nano/object_performance/disp_ht.yaml @@ -2,14 +2,7 @@ HtoLLPto4b_M125_Phi60_ctau100_promptHT: sample: HtoLLPto4b_M125_Phi60_ctau100 version: V44nano reference_object: - object: "GenJet" - x_arg: "pt" - label: "Gen HT" - trafo: "HT" - cuts: - object: - - "abs({eta}) < 2.4" - - "{pt} > 30" + GenJet:ht_default: "pt" test_objects: L1puppiJetSC4sums:HT: "pt" L1TrackHT:HT: "ht" @@ -29,14 +22,7 @@ HtoLLPto4b_M125_Phi60_ctau100_promptHT: # sample: HtoLLPto4b_M125_Phi60_ctau100 # version: V44nano # reference_object: -# object: "GenJet" -# x_arg: "pt" -# label: "Gen HT" -# trafo: "HT" -# cuts: -# object: -# - "abs({eta}) < 2.4" -# - "{pt} > 30" +# GenJet:ht_default: "pt" # test_objects: # L1puppiJetSC4sums:HT: "pt" # L1TrackHT:HT: "ht" diff --git a/configs/V44nano/object_performance/electron_iso.yaml b/configs/V44nano/object_performance/electron_iso.yaml index 64a1cf81..330d25e3 100644 --- a/configs/V44nano/object_performance/electron_iso.yaml +++ b/configs/V44nano/object_performance/electron_iso.yaml @@ -4,16 +4,7 @@ ElectronsIsolation_Barrel: match_test_to_ref: True iso_vs_efficiency: True reference_object: - object: "GenPart" - x_arg: "pt" - label: "Gen Electrons" - cuts: - event: - - "(({statusFlags}>>7)&1) == 1" - - "abs({pdgId}) == 11" - - "abs({eta}) < 1.479" - object: - - "abs({eta}) < 1.479" + GenPart:reference_electron:barrel: "pt" test_objects: L1tkElectron:NoIsoForIso: "relIso" xlabel: "Isolation" @@ -29,16 +20,7 @@ ElectronsIsolation_Endcap: match_test_to_ref: True iso_vs_efficiency: True reference_object: - object: "GenPart" - x_arg: "pt" - label: "Gen Electrons" - cuts: - event: - - "(({statusFlags}>>7)&1) == 1" - - "abs({pdgId}) == 11" - - "abs({eta}) > 1.479" - object: - - "abs({eta}) < 2.4" + GenPart:reference_electron_endcap: "pt" test_objects: L1tkElectron:NoIsoForIso: "relIso" xlabel: "Isolation" diff --git a/configs/V44nano/object_performance/electron_matching.yaml b/configs/V44nano/object_performance/electron_matching.yaml index ed947855..4e575db9 100644 --- a/configs/V44nano/object_performance/electron_matching.yaml +++ b/configs/V44nano/object_performance/electron_matching.yaml @@ -3,16 +3,7 @@ ElectronsMatchingBarrel: version: V44nano match_test_to_ref: True reference_object: - object: "GenPart" - x_arg: "pt" - label: "Gen Electrons" - cuts: - event: - - "(({statusFlags}>>7)&1) == 1" - - "abs({pdgId}) == 11" - - "abs({eta}) < 1.5" - object: - - "abs({eta}) < 2.4" + GenPart:reference_electron:barrel: "pt" test_objects: L1EG:default: "pt" L1tkElectron:NoIso: "pt" @@ -30,16 +21,7 @@ ElectronsMatchingBarrel: # version: V44nano # match_test_to_ref: True # reference_object: -# object: "GenPart" -# x_arg: "pt" -# label: "Gen Electrons" -# cuts: -# event: -# - "(({statusFlags}>>7)&1) == 1" -# - "abs({pdgId}) == 11" -# - "abs({eta}) < 1.5" -# object: -# - "abs({eta}) < 2.4" +# GenPart:reference_electron:barrel: "pt" # test_objects: # L1EG:default: "pt" # L1tkElectron:NoIso: "pt" @@ -56,16 +38,7 @@ ElectronsMatchingEndcap: version: V44nano match_test_to_ref: True reference_object: - object: "GenPart" - x_arg: "pt" - label: "Gen Electrons" - cuts: - event: - - "(({statusFlags}>>7)&1) == 1" - - "abs({pdgId}) == 11" - - "abs({eta}) > 1.5" - object: - - "abs({eta}) < 2.4" + GenPart:reference_electron_endcap: "pt" test_objects: L1EG:default: "pt" L1tkElectron:NoIso: "pt" @@ -83,16 +56,7 @@ ElectronsMatchingEndcap: # version: V44nano # match_test_to_ref: True # reference_object: -# object: "GenPart" -# x_arg: "pt" -# label: "Gen Electrons" -# cuts: -# event: -# - "(({statusFlags}>>7)&1) == 1" -# - "abs({pdgId}) == 11" -# - "abs({eta}) > 1.5" -# object: -# - "abs({eta}) < 2.4" +# GenPart:reference_electron_endcap: "pt" # test_objects: # L1EG:default: "pt" # L1tkElectron:NoIso: "pt" diff --git a/configs/V44nano/object_performance/electron_matching_eta.yaml b/configs/V44nano/object_performance/electron_matching_eta.yaml index 76c9c1a5..d9f86244 100644 --- a/configs/V44nano/object_performance/electron_matching_eta.yaml +++ b/configs/V44nano/object_performance/electron_matching_eta.yaml @@ -3,17 +3,7 @@ ElectronsMatching_Eta_Pt10to25: version: V44nano match_test_to_ref: True reference_object: - object: "GenPart" - x_arg: "eta" - label: "Gen Electrons" - cuts: - event: - - "(({statusFlags}>>7)&1) == 1" - - "abs({pdgId}) == 11" - - "{pt} < 25" - - "{pt} > 10" - object: - - "abs({eta}) < 3.0" + GenPart:reference_electron_pt10to25: "eta" test_objects: L1EG:default: "eta" L1tkElectron:NoIso: "eta" @@ -31,16 +21,7 @@ ElectronsMatching_Eta_Pt25toInf: version: V44nano match_test_to_ref: True reference_object: - object: "GenPart" - x_arg: "eta" - label: "Gen Electrons" - cuts: - event: - - "(({statusFlags}>>7)&1) == 1" - - "abs({pdgId}) == 11" - - "{pt} > 25" - object: - - "abs({eta}) < 3.0" + GenPart:reference_electron_pt25toInf: "eta" test_objects: L1EG:default: "eta" L1tkElectron:NoIso: "eta" diff --git a/configs/V44nano/object_performance/electron_purity.yaml b/configs/V44nano/object_performance/electron_purity.yaml index 8cd615f2..3e957b39 100644 --- a/configs/V44nano/object_performance/electron_purity.yaml +++ b/configs/V44nano/object_performance/electron_purity.yaml @@ -3,15 +3,7 @@ # version: V44nano # match_test_to_ref: True # reference_object: -# object: "L1tkElectron" -# x_arg: "pt" -# label: "L1tkElectron" -# cuts: -# event: -# - "{eleId} == 1" -# - "abs({eta}) < 1.5" -# object: -# - "abs({eta}) < 2.4" +# L1tkElectron:reference:barrel: "pt" # test_objects: # GenPart:electron: "pt" # L1EG:default: "pt" @@ -30,15 +22,7 @@ Purity_ElectronsEndcap: version: V44nano match_test_to_ref: True reference_object: - object: "L1tkElectron" - x_arg: "pt" - label: "L1tkElectron" - cuts: - event: - - "{eleId} == 1" - - "abs({eta}) > 1.5" - object: - - "abs({eta}) < 2.4" + L1tkElectron:reference_endcap: "pt" test_objects: GenPart:electron: "pt" L1EG:default: "pt" diff --git a/configs/V44nano/object_performance/electron_trigger.yaml b/configs/V44nano/object_performance/electron_trigger.yaml index 66dba610..98faccfb 100644 --- a/configs/V44nano/object_performance/electron_trigger.yaml +++ b/configs/V44nano/object_performance/electron_trigger.yaml @@ -3,16 +3,7 @@ ElectronsTriggerBarrel: version: V44nano match_test_to_ref: True reference_object: - object: "GenPart" - x_arg: "pt" - label: "Gen Electrons" - cuts: - event: - - "(({statusFlags}>>7)&1) == 1" - - "abs({pdgId}) == 11" - - "abs({eta}) < 1.5" - object: - - "abs({eta}) < 2.8" + GenPart:reference_electron_trigger_barrel: "pt" test_objects: L1EG:default:barrel: "pt" L1tkElectron:NoIso:barrel: "pt" @@ -34,9 +25,7 @@ ElectronsTriggerEndcap: version: V44nano match_test_to_ref: True reference_object: - object: "GenPart" - x_arg: "pt" - label: "Gen Electrons" + GenPart:reference_electron_trigger_endcap: "pt" cuts: event: - "(({statusFlags}>>7)&1) == 1" diff --git a/configs/V44nano/object_performance/jets_matching.yaml b/configs/V44nano/object_performance/jets_matching.yaml index cff6b52f..7fa2cea0 100644 --- a/configs/V44nano/object_performance/jets_matching.yaml +++ b/configs/V44nano/object_performance/jets_matching.yaml @@ -3,9 +3,7 @@ JetMatchingBarrel: version: V44nano match_test_to_ref: True reference_object: - object: "GenJet" - x_arg: "pt" - label: "Gen Jets" + GenJet:reference_barrel: "pt" cuts: event: - "abs({eta}) < 1.5" @@ -28,14 +26,7 @@ JetMatchingEndcap: version: V44nano match_test_to_ref: True reference_object: - object: "GenJet" - x_arg: "pt" - label: "Gen Jets" - cuts: - event: - - "abs({eta}) > 1.5" - object: - - "abs({eta}) < 2.4" + GenJet:reference_endcap: "pt" test_objects: L1puppiJetHisto:default: "pt" L1puppiJetSC4:default: "pt" @@ -53,14 +44,7 @@ JetMatchingForward: sample: TT match_test_to_ref: True reference_object: - object: "GenJet" - x_arg: "pt" - label: "Gen Jets" - cuts: - event: - - "abs({eta}) > 2.4" - object: - - "abs({eta}) < 5" + GenJet:reference_forward: "pt" test_objects: L1puppiJetHisto:default: "pt" L1puppiJetSC4:default: "pt" @@ -78,14 +62,7 @@ JetMatchingBarrelSC8: version: V44nano match_test_to_ref: True reference_object: - object: "GenJetAK8" - x_arg: "pt" - label: "Gen AK8 Jets" - cuts: - event: - - "abs({eta}) < 1.5" - object: - - "abs({eta}) < 2.4" + GenJetAK8:reference_barrel: "pt" test_objects: L1puppiJetSC8:default:barrel: "pt" xlabel: "Gen. $p_T$ (GeV)" @@ -100,14 +77,7 @@ JetMatchingEndcapSC8: version: V44nano match_test_to_ref: True reference_object: - object: "GenJetAK8" - x_arg: "pt" - label: "Gen AK8 Jets" - cuts: - event: - - "abs({eta}) > 1.5" - object: - - "abs({eta}) < 2.4" + GenJetAK8:reference_endcap: "pt" test_objects: L1puppiJetSC8:default:endcap: "pt" xlabel: "Gen. $p_T$ (GeV)" @@ -115,4 +85,4 @@ JetMatchingEndcapSC8: binning: min: 0 max: 500 - step: 10 \ No newline at end of file + step: 10 diff --git a/configs/V44nano/object_performance/jets_matching_eta.yaml b/configs/V44nano/object_performance/jets_matching_eta.yaml index 89ce4953..f9722256 100644 --- a/configs/V44nano/object_performance/jets_matching_eta.yaml +++ b/configs/V44nano/object_performance/jets_matching_eta.yaml @@ -3,15 +3,7 @@ JetMatching_Eta_Pt40To100: version: V44nano match_test_to_ref: True reference_object: - object: "GenJet" - x_arg: "eta" - label: "Gen Jets" - cuts: - event: - - "{pt} > 40" - - "{pt} < 100" - object: - - "abs({eta}) < 5" + GenJet:reference_Pt40To100: "eta" test_objects: L1puppiJetHisto:default: "eta" L1puppiJetSC4:default: "eta" @@ -29,14 +21,7 @@ JetMatching_Eta_Pt100ToInf: version: V44nano match_test_to_ref: True reference_object: - object: "GenJet" - x_arg: "eta" - label: "Gen Jets" - cuts: - event: - - "{pt} > 100" - object: - - "abs({eta}) < 5" + GenJet:reference_Pt100ToInf: "eta" test_objects: L1puppiJetHisto:default: "eta" L1puppiJetSC4:default: "eta" @@ -54,14 +39,7 @@ JetMatching_Eta_Pt100ToInf_extEta: version: V44nano match_test_to_ref: True reference_object: - object: "GenJet" - x_arg: "eta" - label: "Gen Jets" - cuts: - event: - - "{pt} > 100" - object: - - "abs({eta}) < 7" + GenJet:reference_Pt100ToInf_extEta: "eta" test_objects: L1caloJet:default: "eta" xlabel: "Gen. $\\eta$" @@ -76,14 +54,7 @@ JetMatching_Eta_SC8_Pt100ToInf: version: V44nano match_test_to_ref: True reference_object: - object: "GenJetAK8" - x_arg: "eta" - label: "Gen Jets" - cuts: - event: - - "{pt} > 100" - object: - - "abs({eta}) < 5" + GenJetAK8:reference_matching_SC8_Pt100ToInf: "eta" test_objects: L1puppiJetSC8:default: "eta" xlabel: "Gen. $\\eta$" @@ -91,4 +62,4 @@ JetMatching_Eta_SC8_Pt100ToInf: binning: min: -5 max: 5 - step: 0.25 \ No newline at end of file + step: 0.25 diff --git a/configs/V44nano/object_performance/jets_matching_wBTag.yaml b/configs/V44nano/object_performance/jets_matching_wBTag.yaml index d9409a7e..a475b42c 100644 --- a/configs/V44nano/object_performance/jets_matching_wBTag.yaml +++ b/configs/V44nano/object_performance/jets_matching_wBTag.yaml @@ -3,15 +3,7 @@ JetMatching_Eta_Pt40To100_ExtendedVsRegular: version: V44nano match_test_to_ref: True reference_object: - object: "GenJet" - x_arg: "eta" - label: "Gen Jets" - cuts: - event: - - "{pt} > 40" - - "{pt} < 100" - object: - - "abs({eta}) < 5" + GenJet:reference_Pt40To100: "eta" test_objects: L1puppiJetSC4:default: "eta" L1puppiExtJetSC4:default: "eta" @@ -27,14 +19,7 @@ JetMatching_Eta_Pt100ToInf_ExtendedVsRegular: version: V44nano match_test_to_ref: True reference_object: - object: "GenJet" - x_arg: "eta" - label: "Gen Jets" - cuts: - event: - - "{pt} > 100" - object: - - "abs({eta}) < 5" + GenJet:reference_Pt100ToInf: "eta" test_objects: L1puppiJetSC4:default: "eta" L1puppiExtJetSC4:default: "eta" @@ -50,15 +35,7 @@ JetMatching_Eta_Pt30ToInf_genBJets: version: V44nano match_test_to_ref: True reference_object: - object: "GenJet" - x_arg: "eta" - label: "Gen Jets" - cuts: - event: - - "{pt} > 30" - - "abs({partonFlavour}) == 5" - object: - - "abs({eta}) < 2.4" + GenJet:reference_Pt30ToInf_genBJets: "eta" test_objects: L1puppiExtJetSC4:bjetnn: "eta" xlabel: "Gen. $\\eta$" @@ -73,15 +50,7 @@ JetMatching_Eta_Pt30ToInf_genNotBJets: version: V44nano match_test_to_ref: True reference_object: - object: "GenJet" - x_arg: "eta" - label: "Gen Jets" - cuts: - event: - - "{pt} > 30" - - "abs({partonFlavour}) != 5" - object: - - "abs({eta}) < 2.4" + GenJet:reference_Pt30ToInf_genNotBJets: "eta" test_objects: L1puppiExtJetSC4:bjetnn: "eta" xlabel: "Gen. $\\eta$" @@ -96,14 +65,7 @@ JetMatching_Pt_Pt30ToInf_genBJets: version: V44nano match_test_to_ref: True reference_object: - object: "GenJet" - x_arg: "pt" - label: "Gen Jets" - cuts: - event: - - "abs({partonFlavour}) == 5" - object: - - "abs({eta}) < 2.4" + GenJet:reference_Pt30ToInf_genBJets: "pt" test_objects: L1puppiExtJetSC4:bjetnn: "pt" xlabel: "Gen. $p_T$ (GeV)" @@ -118,14 +80,7 @@ JetMatching_Pt_Pt30ToInf_genNotBJets: version: V44nano match_test_to_ref: True reference_object: - object: "GenJet" - x_arg: "pt" - label: "Gen Jets" - cuts: - event: - - "abs({partonFlavour}) != 5" - object: - - "abs({eta}) < 2.4" + GenJet:reference_Pt30ToInf_genNotBJets: "eta" test_objects: L1puppiExtJetSC4:bjetnn: "pt" xlabel: "Gen. $p_T$ (GeV)" diff --git a/configs/V44nano/object_performance/jets_sc8_trigger.yaml b/configs/V44nano/object_performance/jets_sc8_trigger.yaml index e4a053b1..69491a4b 100644 --- a/configs/V44nano/object_performance/jets_sc8_trigger.yaml +++ b/configs/V44nano/object_performance/jets_sc8_trigger.yaml @@ -3,14 +3,7 @@ JetTurnonBarrelSC8: sample: TT match_test_to_ref: True reference_object: - object: "GenJetAK8" - x_arg: "pt" - label: "Gen Jets" - cuts: - event: - - "abs({eta}) < 1.5" - object: - - "abs({eta}) < 2.4" + GenJetAK8:reference_barrel: "pt" test_objects: L1puppiJetSC8:default:barrel: "pt" thresholds: [150] @@ -29,14 +22,7 @@ JetTurnonEndcapSC8: sample: TT match_test_to_ref: True reference_object: - object: "GenJetAK8" - x_arg: "pt" - label: "Gen Jets" - cuts: - event: - - "abs({eta}) > 1.5" - object: - - "abs({eta}) < 2.4" + GenJetAK8:reference_endcap: "pt" test_objects: L1puppiJetSC8:default:endcap: "pt" thresholds: [150] @@ -55,14 +41,7 @@ JetTurnonForwardSC8: sample: TT match_test_to_ref: True reference_object: - object: "GenJetAK8" - x_arg: "pt" - label: "Gen Jets" - cuts: - event: - - "abs({eta}) > 2.4" - object: - - "abs({eta}) < 5" + GenJetAK8:reference_forward: "pt" test_objects: L1puppiJetSC8:default:forward: "pt" thresholds: [150] diff --git a/configs/V44nano/object_performance/jets_trigger.yaml b/configs/V44nano/object_performance/jets_trigger.yaml index 81a5a482..0a3c6e22 100644 --- a/configs/V44nano/object_performance/jets_trigger.yaml +++ b/configs/V44nano/object_performance/jets_trigger.yaml @@ -3,14 +3,7 @@ JetTurnonBarrel: sample: TT match_test_to_ref: True reference_object: - object: "GenJet" - x_arg: "pt" - label: "Gen Jets" - cuts: - event: - - "abs({eta}) < 1.5" - object: - - "abs({eta}) < 2.4" + GenJet:reference_barrel: "pt" test_objects: # L1puppiJetHisto:default:barrel: "pt" L1puppiJetSC4:default:barrel: "pt" @@ -32,14 +25,7 @@ JetTurnonEndcap: sample: TT match_test_to_ref: True reference_object: - object: "GenJet" - x_arg: "pt" - label: "Gen Jets" - cuts: - event: - - "abs({eta}) > 1.5" - object: - - "abs({eta}) < 2.4" + GenJet:reference_endcap: "pt" test_objects: # L1puppiJetHisto:default:endcap: "pt" L1puppiJetSC4:default:endcap: "pt" @@ -61,14 +47,7 @@ JetTurnonForward: sample: TT match_test_to_ref: True reference_object: - object: "GenJet" - x_arg: "pt" - label: "Gen Jets" - cuts: - event: - - "abs({eta}) > 2.4" - object: - - "abs({eta}) < 5" + GenJet:reference_forward: "pt" test_objects: # L1puppiJetHisto:default:forward: "pt" L1puppiJetSC4:default:forward: "pt" diff --git a/configs/V44nano/object_performance/met_ht_mht.yaml b/configs/V44nano/object_performance/met_ht_mht.yaml index 6277d990..8e33343a 100644 --- a/configs/V44nano/object_performance/met_ht_mht.yaml +++ b/configs/V44nano/object_performance/met_ht_mht.yaml @@ -2,14 +2,7 @@ HT_90perc: sample: TT version: V44nano reference_object: - object: "GenJet" - x_arg: "pt" - label: "Gen HT" - trafo: "HT" - cuts: - object: - - "abs({eta}) < 2.4" - - "{pt} > 30" + GenJet:ht_default: "pt" test_objects: # L1puppiHistoJetSums:HT: "pt" L1puppiJetSC4sums:HT: "pt" @@ -29,14 +22,7 @@ HT_90perc: # sample: TT # version: V44nano # reference_object: -# object: "GenJet" -# x_arg: "pt" -# label: "Gen HT" -# trafo: "HT" -# cuts: -# object: -# - "abs({eta}) < 2.4" -# - "{pt} > 30" +# GenJet:ht_default: "pt" # test_objects: # # L1puppiHistoJetSums:HT: "pt" # L1puppiJetSC4sums:HT: "pt" @@ -56,14 +42,7 @@ MHT_50perc: sample: TT version: V44nano reference_object: - object: "GenJet" - x_arg: "pt" - label: "Gen MHT" - cuts: - object: - - "abs({eta}) < 2.4" - - "{pt} > 30" - trafo: "MHT" + GenJet:mht_default: "pt" test_objects: L1puppiHistoJetSums:MHT: "pt" L1puppiJetSC4sums:MHT: "pt" @@ -83,9 +62,7 @@ MET_90perc: sample: TT version: V44nano reference_object: - object: "GenMET" - x_arg: "pt" - label: "Gen MET" + GenMET:default: "pt" test_objects: L1puppiMET:default: "pt" L1puppiMLMET:default: "pt" @@ -105,9 +82,7 @@ MET_90perc: # sample: TT # version: V44nano # reference_object: -# object: "GenMET" -# x_arg: "pt" -# label: "Gen MET" +# GenMET:default: "pt" # test_objects: # L1puppiMET:default: "pt" # L1puppiMLMET:default: "pt" @@ -121,4 +96,4 @@ MET_90perc: # binning: # min: 0 # max: 500 -# step: 20 \ No newline at end of file +# step: 20 diff --git a/configs/V44nano/object_performance/muon_matching.yaml b/configs/V44nano/object_performance/muon_matching.yaml index f28046c7..2d9ce9aa 100644 --- a/configs/V44nano/object_performance/muon_matching.yaml +++ b/configs/V44nano/object_performance/muon_matching.yaml @@ -3,15 +3,7 @@ MuonsMatchingBarrel: version: V44nano match_test_to_ref: True reference_object: - object: "GenPart" - x_arg: "pt" - label: "Gen Muons" - cuts: - event: - - "(({statusFlags}>>7)&1) == 1" - - "abs({pdgId}) == 13" - object: - - "abs({eta}) < 0.83" + GenPart:reference_muon:barrel_muon: "pt" test_objects: L1gmtMuon:default:barrel: "pt" L1gmtTkMuon:default:barrel: "pt" @@ -27,16 +19,7 @@ MuonsMatchingOverlap: version: V44nano match_test_to_ref: True reference_object: - object: "GenPart" - x_arg: "pt" - label: "Gen Muons" - cuts: - event: - - "(({statusFlags}>>7)&1) == 1" - - "abs({pdgId}) == 13" - object: - - "abs({eta}) > 0.83" - - "abs({eta}) < 1.24" + GenPart:reference_muon:overlap: "pt" test_objects: L1gmtMuon:default:overlap: "pt" L1gmtTkMuon:default:overlap: "pt" @@ -52,16 +35,7 @@ MuonsMatchingEndcap: version: V44nano match_test_to_ref: True reference_object: - object: "GenPart" - x_arg: "pt" - label: "Gen Muons" - cuts: - event: - - "(({statusFlags}>>7)&1) == 1" - - "abs({pdgId}) == 13" - object: - - "abs({eta}) > 1.24" - - "abs({eta}) < 2.4" + GenPart:reference_muon:endcap_muon: "pt" test_objects: L1gmtMuon:default:endcap: "pt" L1gmtTkMuon:default:endcap: "pt" diff --git a/configs/V44nano/object_performance/muon_matching_eta.yaml b/configs/V44nano/object_performance/muon_matching_eta.yaml index b135e6a2..d9cbbf75 100644 --- a/configs/V44nano/object_performance/muon_matching_eta.yaml +++ b/configs/V44nano/object_performance/muon_matching_eta.yaml @@ -3,17 +3,7 @@ MuonsMatching_Eta_Pt2to5: version: V44nano match_test_to_ref: True reference_object: - object: "GenPart" - x_arg: "eta" - label: "Gen Muons" - cuts: - event: - - "(({statusFlags}>>7)&1) == 1" - - "abs({pdgId}) == 13" - - "{pt} > 2" - - "{pt} < 5" - object: - - "abs({eta}) < 2.4" + GenPart:reference_muon_Pt2to5: "eta" test_objects: L1gmtMuon:default: "eta" L1gmtMuon:dR0p6: "eta" @@ -30,16 +20,7 @@ MuonsMatching_Eta_Pt15toInf: version: V44nano match_test_to_ref: True reference_object: - object: "GenPart" - x_arg: "eta" - label: "Gen Muons" - cuts: - event: - - "(({statusFlags}>>7)&1) == 1" - - "abs({pdgId}) == 13" - - "{pt} > 15" - object: - - "abs({eta}) < 2.4" + GenPart:reference_muon_Pt15toInf: "eta" test_objects: L1gmtMuon:default: "eta" L1gmtTkMuon:default: "eta" diff --git a/configs/V44nano/objects/GenPart.yaml b/configs/V44nano/objects/GenPart.yaml index 20b93d9a..40a9bcbd 100644 --- a/configs/V44nano/objects/GenPart.yaml +++ b/configs/V44nano/objects/GenPart.yaml @@ -3,7 +3,10 @@ GenPart: eta_ranges: inclusive: [0, 7] barrel: [0, 1.479] + barrel_muon: [0, 0.83] + overlap: [0.83, 1.24] endcap: [1.479, 5] + endcap_muon: [1.24, 2.4] ids: electron: label: "Gen Electron" @@ -18,4 +21,95 @@ GenPart: inclusive: - "abs({eta}) < 3" - "(({statusFlags}>>7)&1) == 1" - - "abs({pdgId}) == 13" \ No newline at end of file + - "abs({pdgId}) == 13" + reference_muon: + label: "Gen Muons" + cuts: + event: + inclusive: + - "(({statusFlags}>>7)&1) == 1" + - "abs({pdgId}) == 13" + reference_muon_Pt2to5: + label: "Gen Muons" + cuts: + event: + inclusive: + - "(({statusFlags}>>7)&1) == 1" + - "abs({pdgId}) == 13" + - "{pt} > 2" + - "{pt} < 5" + object: + inclusive: + - "abs({eta}) < 2.4" + reference_muon_Pt15toInf: + label: "Gen Muons" + cuts: + event: + inclusive: + - "(({statusFlags}>>7)&1) == 1" + - "abs({pdgId}) == 13" + - "{pt} > 15" + object: + inclusive: + - "abs({eta}) < 2.4" + reference_electron: + label: "Gen Electron" + cuts: + event: + inclusive: + - "(({statusFlags}>>7)&1) == 1" + - "abs({pdgId}) == 11" + reference_electron_endcap: + label: "Gen Electron Endcap" + cuts: + event: + inclusive: + - "(({statusFlags}>>7)&1) == 1" + - "abs({pdgId}) == 11" + - "abs({eta}) > 1.479" + object: + inclusive: + - "abs({eta}) < 2.4" + reference_electron_pt10to25: + label: "Gen Electron $p_T=10-25$GeV" + cuts: + event: + inclusive: + - "(({statusFlags}>>7)&1) == 1" + - "abs({pdgId}) == 11" + - "{pt} < 25" + - "{pt} > 10" + object: + inclusive: + - "abs({eta}) < 3.0" + reference_electron_pt25toInf: + label: "Gen Electron $p_T>25$GeV" + cuts: + event: + inclusive: + - "(({statusFlags}>>7)&1) == 1" + - "abs({pdgId}) == 11" + - "{pt} > 25" + object: + inclusive: + - "abs({eta}) < 3.0" + reference_electron_trigger_barrel: + cuts: + event: + inclusive: + - "(({statusFlags}>>7)&1) == 1" + - "abs({pdgId}) == 11" + - "abs({eta}) < 1.5" + object: + inclusive: + - "abs({eta}) < 2.8" + reference_electron_trigger_endcap: + cuts: + event: + inclusive: + - "(({statusFlags}>>7)&1) == 1" + - "abs({pdgId}) == 11" + - "abs({eta}) > 1.5" + object: + inclusive: + - "abs({eta}) < 2.8" diff --git a/configs/V44nano/objects/electrons.yaml b/configs/V44nano/objects/electrons.yaml index cfacf196..279edbed 100644 --- a/configs/V44nano/objects/electrons.yaml +++ b/configs/V44nano/objects/electrons.yaml @@ -1,4 +1,5 @@ L1tkElectron: + label: "L1tkElectron" match_dR: 0.15 eta_ranges: inclusive: [0, 7] @@ -30,6 +31,21 @@ L1tkElectron: - "abs({relIso}) < 0.13" endcap: - "abs({relIso}) < 0.28" + reference: + cuts: + event: + inclusive: + - "{eleId} == 1" + reference_endcap: + cuts: + event: + inclusive: + - "{eleId} == 1" + - "abs({eta}) > 1.5" + object: + inclusive: + - "abs({eta}) < 2.4" + L1EG: match_dR: 0.2 diff --git a/configs/V44nano/objects/jets.yaml b/configs/V44nano/objects/jets.yaml index 481cccda..aa955869 100644 --- a/configs/V44nano/objects/jets.yaml +++ b/configs/V44nano/objects/jets.yaml @@ -1,3 +1,144 @@ +GenJetAK8: + label: "Gen AK8 Jets" + eta_ranges: + inclusive: [0, 7] + barrel: [0, 1.5] + endcap: [1.5, 2.4] + forward: [2.4, 5] + ids: + reference_matching_SC8_Pt100ToInf: + cuts: + event: + inclusive: + - "{pt} > 100" + object: + inclusive: + - "abs({eta}) < 5" + reference_barrel: + cuts: + event: + inclusive: + - "abs({eta}) < 1.5" + object: + inclusive: + - "abs({eta}) < 2.4" + reference_endcap: + cuts: + event: + inclusive: + - "abs({eta}) > 1.5" + object: + inclusive: + - "abs({eta}) < 2.4" + reference_forward: + cuts: + event: + inclusive: + - "abs({eta}) > 2.4" + object: + inclusive: + - "abs({eta}) < 5" + + +GenJet: + eta_ranges: + inclusive: [0, 7] + barrel: [0, 1.5] + endcap: [1.5, 2.4] + forward: [2.4, 5] + ids: + mht_default: + label: "Gen MHT" + trafo: "MHT" + cuts: + object: + inclusive: + - "abs({eta}) < 2.4" + - "{pt} > 30" + ht_default: + label: "Gen HT" + trafo: "HT" + cuts: + object: + inclusive: + - "abs({eta}) < 2.4" + - "{pt} > 30" + reference_Pt40To100: + label: "Gen Jets" + cuts: + event: + inclusive: + - "{pt} > 40" + - "{pt} < 100" + object: + inclusive: + - "abs({eta}) < 5" + reference_Pt100ToInf: + label: "Gen Jets" + cuts: + event: + inclusive: + - "{pt} > 100" + object: + inclusive: + - "abs({eta}) < 5" + reference_Pt100ToInf_extEta: + label: "Gen Jets" + cuts: + event: + inclusive: + - "{pt} > 100" + object: + inclusive: + - "abs({eta}) < 7" + reference_Pt30ToInf_genBJets: + label: "Gen Jets" + cuts: + event: + inclusive: + - "{pt} > 30" + - "abs({partonFlavour}) == 5" + object: + inclusive: + - "abs({eta}) < 2.4" + reference_Pt30ToInf_genNotBJets: + label: "Gen Jets" + cuts: + event: + inclusive: + - "{pt} > 30" + - "abs({partonFlavour}) != 5" + object: + inclusive: + - "abs({eta}) < 2.4" + reference_barrel: + label: "Gen Jets" + cuts: + event: + inclusive: + - "abs({eta}) < 1.5" + object: + inclusive: + - "abs({eta}) < 2.4" + reference_endcap: + label: "Gen Jets" + cuts: + event: + inclusive: + - "abs({eta}) > 1.5" + object: + inclusive: + - "abs({eta}) < 2.4" + reference_forward: + label: "Gen Jets" + cuts: + event: + inclusive: + - "abs({eta}) > 2.4" + object: + inclusive: + - "abs({eta}) < 5" + L1caloJet: match_dR: 0.3 label: "Calo Jet" diff --git a/configs/V44nano/objects/met_ht_mht.yaml b/configs/V44nano/objects/met_ht_mht.yaml index 8dbdb2fd..f7d715b0 100644 --- a/configs/V44nano/objects/met_ht_mht.yaml +++ b/configs/V44nano/objects/met_ht_mht.yaml @@ -1,3 +1,8 @@ +GenMET: + label: "Gen MET" + ids: + default: {} + # phase1PuppiHT: # label: "Histogrammed Puppi HT" # ids: @@ -66,4 +71,4 @@ L1TrackMET: L1TrackTripletWord: label: "Track Triplet for W3Pi" ids: - default: {} \ No newline at end of file + default: {}