Skip to content

Commit

Permalink
Config updates for 44 and 38
Browse files Browse the repository at this point in the history
  • Loading branch information
artlbv committed Oct 14, 2024
1 parent 6559feb commit bccf8c2
Show file tree
Hide file tree
Showing 17 changed files with 253 additions and 272 deletions.
1 change: 1 addition & 0 deletions configs/V38nano/caching.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ V38nano:
ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/14X/v38/VBFHToTauTau_M-125_TuneCP5_14TeV-powheg-pythia8/VBFHToTauTau_131_200PU_IBv9_wTT/240412_210701/0000/*.root
trees_branches:
Events:
GenPart: [pt, eta, phi, pdgId, statusFlags]
GenVisTau: "all"
L1nnPuppiTau: "all"
L1hpsTau: "all"
Expand Down
2 changes: 1 addition & 1 deletion configs/V38nano/object_performance/electron_iso.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ElectronsIsolation_Barrel:
object:
- "abs({eta}) < 1.479"
test_objects:
L1tkElectron:NoIso: "relIso"
L1tkElectron:NoIsoForIso: "relIso"
xlabel: "Isolation"
ylabel: "Efficiency (Barrel)"
binning:
Expand Down
2 changes: 2 additions & 0 deletions configs/V38nano/object_performance/electron_matching.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ElectronsMatchingBarrel:
test_objects:
L1EG:default: "pt"
L1tkElectron:NoIso: "pt"
L1tkElectron:NoIsoNoLowPtID: "pt"
L1tkElectron:Iso: "pt"
xlabel: "Gen. $p_T$ (GeV)"
ylabel: "Matching Efficiency (Barrel)"
Expand Down Expand Up @@ -68,6 +69,7 @@ ElectronsMatchingEndcap:
test_objects:
L1EG:default: "pt"
L1tkElectron:NoIso: "pt"
L1tkElectron:NoIsoNoLowPtID: "pt"
L1tkElectron:Iso: "pt"
xlabel: "Gen. $p_T$ (GeV)"
ylabel: "Matching Efficiency (Endcap)"
Expand Down
2 changes: 2 additions & 0 deletions configs/V38nano/object_performance/electron_matching_eta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ElectronsMatching_Eta_Pt10to25:
test_objects:
L1EG:default: "eta"
L1tkElectron:NoIso: "eta"
L1tkElectron:NoIsoNoLowPtID: "eta"
L1tkElectron:Iso: "eta"
xlabel: "Gen. $\\eta$"
ylabel: "Matching Efficiency ($10 < p_T < 25$ GeV)"
Expand All @@ -43,6 +44,7 @@ ElectronsMatching_Eta_Pt25toInf:
test_objects:
L1EG:default: "eta"
L1tkElectron:NoIso: "eta"
L1tkElectron:NoIsoNoLowPtID: "eta"
L1tkElectron:Iso: "eta"
xlabel: "Gen. $\\eta$"
ylabel: "Matching Efficiency ($p_T > 25$ GeV)"
Expand Down
62 changes: 2 additions & 60 deletions configs/V38nano/object_performance/electron_trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ElectronsTriggerBarrel:
test_objects:
L1EG:default:barrel: "pt"
L1tkElectron:NoIso:barrel: "pt"
# L1tkElectron:NoIsoNoLowPtID:barrel: "pt"
L1tkElectron:Iso:barrel: "pt"
thresholds: [10, 20, 30, 40]
scalings:
Expand Down Expand Up @@ -46,6 +47,7 @@ ElectronsTriggerEndcap:
test_objects:
L1EG:default:endcap: "pt"
L1tkElectron:NoIso:endcap: "pt"
# L1tkElectron:NoIsoNoLowPtID:endcap: "pt"
L1tkElectron:Iso:endcap: "pt"
thresholds: [10, 20, 30, 40]
scalings:
Expand All @@ -57,63 +59,3 @@ ElectronsTriggerEndcap:
min: 0
max: 100
step: 1.5

# ElectronsTriggerBarrel_wPrunedGenPart:
# sample: DYLL_M50
# version: V38nano
# 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"
# test_objects:
# L1EG:default:barrel: "pt"
# L1tkElectron:NoIso:barrel: "pt"
# L1tkElectron:Iso:barrel: "pt"
# thresholds: [10, 20, 30, 40]
# scalings:
# method: "naive"
# threshold: 0.95
# xlabel: "Gen. pT (GeV)"
# ylabel: "Trigger Efficiency (barrel, L1 $p_T > <threshold>$ GeV)"
# binning:
# min: 0
# max: 100
# step: 1.5

# ElectronsTriggerEndcap_wPrunedGenPart:
# sample: DYLL_M50
# version: V38nano
# 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"
# test_objects:
# # L1EG:default:endcap: "pt"
# L1tkElectron:NoIso:endcap: "pt"
# L1tkElectron:Iso:endcap: "pt"
# thresholds: [10, 20, 30, 40]
# scalings:
# method: "naive"
# threshold: 0.95
# xlabel: "Gen. pT (GeV)"
# ylabel: "Trigger Efficiency (endcap, L1 $p_T > <threshold>$ GeV)"
# binning:
# min: 0
# max: 100
# step: 1.5
164 changes: 110 additions & 54 deletions configs/V38nano/object_performance/photons_matching.yaml
Original file line number Diff line number Diff line change
@@ -1,56 +1,108 @@
PhotonsMatching_Barrel:
sample: Hgg
version: V38nano
match_test_to_ref: True
reference_object:
object: "GenPart"
x_arg: "pt"
label: "Gen Photons"
cuts:
event:
- "(({statusFlags}>>7)&1) == 1"
- "abs({pdgId}) == 22"
- "abs({eta}) < 1.5"
object:
- "abs({eta}) < 2.4"
test_objects:
L1EG:default: "pt"
L1tkPhoton:NoIso: "pt"
L1tkPhoton:Iso: "pt"
xlabel: "Gen. $p_T$ (GeV)"
ylabel: "Matching Efficiency (Barrel)"
binning:
min: 0
max: 100
step: 3
# PhotonsMatching_Barrel:
# sample: Hgg
# version: V38nano
# match_test_to_ref: True
# reference_object:
# object: "GenPart"
# x_arg: "pt"
# label: "Gen Photons"
# cuts:
# event:
# - "(({statusFlags}>>7)&1) == 1"
# - "abs({pdgId}) == 22"
# - "abs({eta}) < 1.5"
# object:
# - "abs({eta}) < 2.4"
# test_objects:
# L1EG:default: "pt"
# L1tkPhoton:NoIso: "pt"
# L1tkPhoton:Iso: "pt"
# xlabel: "Gen. $p_T$ (GeV)"
# ylabel: "Matching Efficiency (Barrel)"
# binning:
# min: 0
# max: 100
# step: 3

PhotonsMatching_Endcap:
sample: Hgg
version: V38nano
match_test_to_ref: True
reference_object:
object: "GenPart"
x_arg: "pt"
label: "Gen Photons"
cuts:
event:
- "(({statusFlags}>>7)&1) == 1"
- "abs({pdgId}) == 22"
- "abs({eta}) > 1.5"
object:
- "abs({eta}) < 2.4"
test_objects:
L1EG:default: "pt"
L1tkPhoton:NoIso: "pt"
L1tkPhoton:Iso: "pt"
xlabel: "Gen. $p_T$ (GeV)"
ylabel: "Matching Efficiency (Endcap)"
binning:
min: 0
max: 100
step: 3
# PhotonsMatching_Endcap:
# sample: Hgg
# version: V38nano
# match_test_to_ref: True
# reference_object:
# object: "GenPart"
# x_arg: "pt"
# label: "Gen Photons"
# cuts:
# event:
# - "(({statusFlags}>>7)&1) == 1"
# - "abs({pdgId}) == 22"
# - "abs({eta}) > 1.5"
# object:
# - "abs({eta}) < 2.4"
# test_objects:
# L1EG:default: "pt"
# L1tkPhoton:NoIso: "pt"
# L1tkPhoton:Iso: "pt"
# xlabel: "Gen. $p_T$ (GeV)"
# ylabel: "Matching Efficiency (Endcap)"
# binning:
# min: 0
# max: 100
# step: 3

# PhotonsMatching_Barrel_wPrunedGenParts:
# sample: Hgg
# version: V38nano
# match_test_to_ref: True
# reference_object:
# object: "GenPart"
# x_arg: "pt"
# label: "Gen Photons"
# cuts:
# event:
# - "(({statusFlags}>>7)&1) == 1"
# - "abs({pdgId}) == 22"
# - "abs({eta}) < 1.5"
# object:
# - "abs({eta}) < 2.4"
# test_objects:
# L1EG:default: "pt"
# L1tkPhoton:NoIso: "pt"
# L1tkPhoton:Iso: "pt"
# xlabel: "Gen. $p_T$ (GeV)"
# ylabel: "Matching Efficiency (Barrel)"
# binning:
# min: 0
# max: 100
# step: 3

# PhotonsMatching_Endcap_wPrunedGenParts:
# sample: Hgg
# version: V38nano
# match_test_to_ref: True
# reference_object:
# object: "GenPart"
# x_arg: "pt"
# label: "Gen Photons"
# cuts:
# event:
# - "(({statusFlags}>>7)&1) == 1"
# - "abs({pdgId}) == 22"
# - "abs({eta}) > 1.5"
# object:
# - "abs({eta}) < 2.4"
# test_objects:
# L1EG:default: "pt"
# L1tkPhoton:NoIso: "pt"
# L1tkPhoton:Iso: "pt"
# xlabel: "Gen. $p_T$ (GeV)"
# ylabel: "Matching Efficiency (Endcap)"
# binning:
# min: 0
# max: 100
# step: 3

PhotonsMatching_Barrel_wPrunedGenParts:
PhotonsMatching_Barrel_Pt30:
sample: Hgg
version: V38nano
match_test_to_ref: True
Expand All @@ -69,14 +121,16 @@ PhotonsMatching_Barrel_wPrunedGenParts:
L1EG:default: "pt"
L1tkPhoton:NoIso: "pt"
L1tkPhoton:Iso: "pt"
L1tkPhoton:NoIsoPt30: "pt"
L1tkPhoton:IsoPt30: "pt"
xlabel: "Gen. $p_T$ (GeV)"
ylabel: "Matching Efficiency (Barrel)"
binning:
min: 0
max: 100
max: 150
step: 3

PhotonsMatching_Endcap_wPrunedGenParts:
PhotonsMatching_Endcap_Pt30:
sample: Hgg
version: V38nano
match_test_to_ref: True
Expand All @@ -95,9 +149,11 @@ PhotonsMatching_Endcap_wPrunedGenParts:
L1EG:default: "pt"
L1tkPhoton:NoIso: "pt"
L1tkPhoton:Iso: "pt"
L1tkPhoton:NoIsoPt30: "pt"
L1tkPhoton:IsoPt30: "pt"
xlabel: "Gen. $p_T$ (GeV)"
ylabel: "Matching Efficiency (Endcap)"
binning:
min: 0
max: 100
max: 150
step: 3
4 changes: 2 additions & 2 deletions configs/V38nano/object_performance/photons_trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ PhotonsTrigger_Barrel:
L1EG:default:barrel: "pt"
L1tkPhoton:NoIso:barrel: "pt"
L1tkPhoton:Iso:barrel: "pt"
thresholds: [10, 20, 30, 40]
thresholds: [8]
scalings:
method: "naive"
threshold: 0.95
Expand Down Expand Up @@ -47,7 +47,7 @@ PhotonsTrigger_Endcap:
L1EG:default:endcap: "pt"
L1tkPhoton:NoIso:endcap: "pt"
L1tkPhoton:Iso:endcap: "pt"
thresholds: [10, 20, 30, 40]
thresholds: [8]
scalings:
method: "naive"
threshold: 0.95
Expand Down
22 changes: 22 additions & 0 deletions configs/V38nano/objects/photons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ L1tkPhoton:
- "{eleId} == 1"
endcap:
- "{phoId} == 1"
NoIsoPt30:
label: "L1tkPhoton, pt>30"
cuts:
inclusive:
- "abs({eta}) < 2.4"
- "{pt} > 30"
barrel:
- "{eleId} == 1"
endcap:
- "{phoId} == 1"
Iso:
label: "L1tkIsoPhoton"
cuts:
Expand All @@ -27,3 +37,15 @@ L1tkPhoton:
endcap:
- "abs({relIso}) < 0.205"
- "{phoId} == 1"
IsoPt30:
label: "L1tkIsoPhoton, Pt>30"
cuts:
inclusive:
- "abs({eta}) < 2.4"
- "{pt} > 30"
barrel:
- "abs({relIso}) < 0.25"
- "{eleId} == 1"
endcap:
- "abs({relIso}) < 0.205"
- "{phoId} == 1"
1 change: 1 addition & 0 deletions configs/V38nano/rate_plots/eg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ EGRates:
- L1tkElectron:NoIso
- L1tkElectron:Iso
- L1tkPhoton:Iso
- L1tkElectron:NoIsoNoLowPtID
binning:
min: 10
max: 97
Expand Down
Loading

0 comments on commit bccf8c2

Please sign in to comment.