Skip to content

Commit

Permalink
Clean up configs
Browse files Browse the repository at this point in the history
  • Loading branch information
artlbv committed Mar 12, 2024
1 parent 2aaf9a0 commit c92303a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 137 deletions.
56 changes: 0 additions & 56 deletions configs/V31/object_performance/tau_trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,59 +53,3 @@ TauTriggerEndcap_90perc:
min: 0
max: 150
step: 6

TauTriggerBarrel_50perc:
sample: VBFHToTauTau
version: V31
match_test_to_ref: True
reference_object:
object: "part_tau"
x_arg: "Pt"
label: "Gen Taus"
cuts:
event:
- "{dr_0.3} < 0.15"
- "abs({eta}) < 1.5"
object:
- "abs({eta}) < 2.4"
test_objects:
nnTau:default:barrel: "Pt"
caloTau:default:barrel: "Pt"
xlabel: "Gen. pT (GeV)"
ylabel: "Trigger Efficiency (barrel, L1 $p_T > <threshold>$ GeV)"
thresholds: [20, 30]
scalings:
method: "naive"
threshold: 0.50
binning:
min: 0
max: 150
step: 6

TauTriggerEndcap_50perc:
sample: VBFHToTauTau
version: V31
match_test_to_ref: True
reference_object:
object: "part_tau"
x_arg: "Pt"
label: "Gen Taus"
cuts:
event:
- "{dr_0.3} < 0.15"
- "abs({eta}) > 1.5"
object:
- "abs({eta}) < 2.4"
test_objects:
nnTau:default:endcap: "Pt"
caloTau:default:endcap: "Pt"
xlabel: "Gen. pT (GeV)"
ylabel: "Trigger Efficiency (endcap, L1 $p_T > <threshold>$ GeV)"
thresholds: [20, 30]
scalings:
method: "naive"
threshold: 0.50
binning:
min: 0
max: 150
step: 6
2 changes: 2 additions & 0 deletions configs/V31/objects/taus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ caloTau:
endcap: [1.5, 2.4]
ids:
default:
label: "Calo Tau, pt>20"
cuts:
inclusive:
- "abs({eta}) < 2.4"
- "{pt} > 20"
15 changes: 6 additions & 9 deletions configs/V33nano/object_performance/muon_trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ MuonsTrigger_Barrel:
event:
- "(({statusFlags}>>7)&1) == 1"
- "abs({pdgId}) == 13"
- "{dr_0.3} < 0.15"
object:
- "abs({eta}) < 0.83"
test_objects:
gmtMuon:default:barrel: "pt"
gmtTkMuon:default:barrel: "pt"
L1gmtMuon:default:barrel: "pt"
L1gmtTkMuon:default:barrel: "pt"
xlabel: "Gen. pT (GeV)"
ylabel: "Trigger Efficiency (barrel, L1 $p_T > 20$ GeV)"
thresholds: [20, 25]
Expand All @@ -39,13 +38,12 @@ MuonsTrigger_Overlap:
event:
- "(({statusFlags}>>7)&1) == 1"
- "abs({pdgId}) == 13"
- "{dr_0.3} < 0.15"
object:
- "abs({eta}) > 0.83"
- "abs({eta}) < 1.24"
test_objects:
gmtMuon:default:overlap: "pt"
gmtTkMuon:default:overlap: "pt"
L1gmtMuon:default:overlap: "pt"
L1gmtTkMuon:default:overlap: "pt"
xlabel: "Gen. pT (GeV)"
ylabel: "Trigger Efficiency (overlap, L1 $p_T > 20$ GeV)"
thresholds: [20, 25]
Expand All @@ -69,12 +67,11 @@ MuonsTrigger_Endcap:
event:
- "(({statusFlags}>>7)&1) == 1"
- "abs({pdgId}) == 13"
- "{dr_0.3} < 0.15"
object:
- "abs({eta}) > 1.24"
test_objects:
gmtMuon:default:endcap: "pt"
gmtTkMuon:default:endcap: "pt"
L1gmtMuon:default:endcap: "pt"
L1gmtTkMuon:default:endcap: "pt"
xlabel: "Gen. pT (GeV)"
ylabel: "Trigger Efficiency (endcap, L1 $p_T > 20$ GeV)"
thresholds: [20, 25]
Expand Down
76 changes: 8 additions & 68 deletions configs/V33nano/object_performance/tau_trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ TauTriggerBarrel_90perc:
object:
- "abs({eta}) < 2.4"
test_objects:
L1nnPuppiTau:default: "pt"
L1hpsTau:default: "pt"
L1caloTau:default: "pt"
L1nnCaloTau:default: "pt"
L1nnPuppiTau:default:barrel: "pt"
L1hpsTau:default:barrel: "pt"
L1caloTau:default:barrel: "pt"
L1nnCaloTau:default:barrel: "pt"
xlabel: "Gen. pT (GeV)"
ylabel: "Trigger Efficiency (barrel, L1 $p_T > <threshold>$ GeV)"
thresholds: [20, 30]
Expand All @@ -43,10 +43,10 @@ TauTriggerEndcap_90perc:
object:
- "abs({eta}) < 2.4"
test_objects:
L1nnPuppiTau:default: "pt"
L1hpsTau:default: "pt"
L1caloTau:default: "pt"
L1nnCaloTau:default: "pt"
L1nnPuppiTau:default:endcap: "pt"
L1hpsTau:default:endcap: "pt"
L1caloTau:default:endcap: "pt"
L1nnCaloTau:default:endcap: "pt"
xlabel: "Gen. pT (GeV)"
ylabel: "Trigger Efficiency (endcap, L1 $p_T > <threshold>$ GeV)"
thresholds: [20, 30]
Expand All @@ -57,63 +57,3 @@ TauTriggerEndcap_90perc:
min: 0
max: 150
step: 6

TauTriggerBarrel_50perc:
sample: VBFHToTauTau
version: V33nano
match_test_to_ref: True
reference_object:
object: "GenVisTau"
x_arg: "pt"
label: "Gen Taus"
cuts:
event:
# - "{dr_0.3} < 0.15"
- "abs({eta}) < 1.5"
object:
- "abs({eta}) < 2.4"
test_objects:
L1nnPuppiTau:default: "pt"
L1hpsTau:default: "pt"
L1caloTau:default: "pt"
L1nnCaloTau:default: "pt"
xlabel: "Gen. pT (GeV)"
ylabel: "Trigger Efficiency (barrel, L1 $p_T > <threshold>$ GeV)"
thresholds: [20, 30]
scalings:
method: "naive"
threshold: 0.50
binning:
min: 0
max: 150
step: 6

TauTriggerEndcap_50perc:
sample: VBFHToTauTau
version: V33nano
match_test_to_ref: True
reference_object:
object: "GenVisTau"
x_arg: "pt"
label: "Gen Taus"
cuts:
event:
# - "{dr_0.3} < 0.15"
- "abs({eta}) > 1.5"
object:
- "abs({eta}) < 2.4"
test_objects:
L1nnPuppiTau:default: "pt"
L1hpsTau:default: "pt"
L1caloTau:default: "pt"
L1nnCaloTau:default: "pt"
xlabel: "Gen. pT (GeV)"
ylabel: "Trigger Efficiency (endcap, L1 $p_T > <threshold>$ GeV)"
thresholds: [20, 30]
scalings:
method: "naive"
threshold: 0.50
binning:
min: 0
max: 150
step: 6
5 changes: 1 addition & 4 deletions configs/V33nano/objects/jets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,4 @@ L1TrackJet:
barrel: [0, 1.5]
endcap: [1.5, 2.4]
ids:
default:
cuts:
inclusive:
- "abs({eta}) < 7"
default

0 comments on commit c92303a

Please sign in to comment.