Skip to content

Commit

Permalink
adapt configs to new reference object definiton style (alphabetically…
Browse files Browse the repository at this point in the history
… until muon_matching_eta.yaml)
  • Loading branch information
danielhundhausen committed Oct 22, 2024
1 parent dbfcc6a commit 9cc15a8
Show file tree
Hide file tree
Showing 18 changed files with 306 additions and 380 deletions.
18 changes: 2 additions & 16 deletions configs/V44nano/object_performance/disp_ht.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
22 changes: 2 additions & 20 deletions configs/V44nano/object_performance/electron_iso.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
44 changes: 4 additions & 40 deletions configs/V44nano/object_performance/electron_matching.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down
23 changes: 2 additions & 21 deletions configs/V44nano/object_performance/electron_matching_eta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
20 changes: 2 additions & 18 deletions configs/V44nano/object_performance/electron_purity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
15 changes: 2 additions & 13 deletions configs/V44nano/object_performance/electron_trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
42 changes: 6 additions & 36 deletions configs/V44nano/object_performance/jets_matching.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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)"
Expand All @@ -100,19 +77,12 @@ 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)"
ylabel: "Matching Efficiency (<threshold> GeV, endcap)"
binning:
min: 0
max: 500
step: 10
step: 10
39 changes: 5 additions & 34 deletions configs/V44nano/object_performance/jets_matching_eta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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$"
Expand All @@ -76,19 +54,12 @@ 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$"
ylabel: "Matching Efficiency (>100 GeV)"
binning:
min: -5
max: 5
step: 0.25
step: 0.25
Loading

0 comments on commit 9cc15a8

Please sign in to comment.