Skip to content

Commit

Permalink
Updateing taus from v32 in v33
Browse files Browse the repository at this point in the history
  • Loading branch information
artlbv committed Mar 3, 2024
1 parent 2c7b6de commit 11787e7
Show file tree
Hide file tree
Showing 5 changed files with 265 additions and 12 deletions.
16 changes: 9 additions & 7 deletions configs/V33nano/caching.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@ V33nano:
L1TrackMET: [pt]
L1TrackHT: [ht, mht]
L1TrackJet: [pt, eta, phi]
# VBFHToTauTau:
# ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/14X/v32_reL1only/VBFHToTauTau_M-125_TuneCP5_14TeV-powheg-pythia8/VBFHToTauTau_131_200PU_v32_reL1only/240206_115854/0000/l1nano_*.root
# trees_branches:
# Events:
# GenVisTau: "all"
# L1nnTau: "all"
# L1caloTau: "all"
VBFHToTauTau:
ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/14X/v33_fromEmyr/vbfHTauTau.root
trees_branches:
Events:
GenVisTau: "all"
L1nnPuppiTau: "all"
L1hpsTau: "all"
L1caloTau: "all"
L1nnCaloTau: "all"
53 changes: 53 additions & 0 deletions configs/V33nano/object_performance/tau_matching.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
TausMatchingBarrel:
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"
# L1caloTau:PtGe20: "Pt"
xlabel: "Gen. $p_T$ (GeV)"
ylabel: "Matching Efficiency (Barrel)"
binning:
min: 0
max: 150
step: 6

TausMatchingEndcap:
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"
# L1caloTau:PtGe20: "Pt"
xlabel: "Gen. $p_T$ (GeV)"
ylabel: "Matching Efficiency (Endcap)"
binning:
min: 0
max: 150
step: 6
50 changes: 50 additions & 0 deletions configs/V33nano/object_performance/tau_matching_eta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
TauMatching_Eta_Pt40To100:
sample: VBFHToTauTau
version: V33nano
match_test_to_ref: True
reference_object:
object: "GenVisTau"
x_arg: "eta"
label: "Gen Taus"
cuts:
event:
- "{pt} > 40"
- "{pt} < 100"
object:
- "abs({eta}) < 2.4"
test_objects:
L1nnPuppiTau:default: "eta"
L1hpsTau:default: "eta"
L1caloTau:default: "eta"
L1nnCaloTau:default: "eta"
xlabel: "Gen. $\\eta$"
ylabel: "Matching Efficiency (40-100 GeV)"
binning:
min: -3.0
max: 3.0
step: 0.2

TauMatching_Eta_Pt100ToInf:
sample: VBFHToTauTau
version: V33nano
match_test_to_ref: True
reference_object:
object: "GenVisTau"
x_arg: "eta"
label: "Gen Taus"
cuts:
event:
- "{pt} > 100"
object:
- "abs({eta}) < 5"
test_objects:
L1nnPuppiTau:default: "eta"
L1hpsTau:default: "eta"
L1caloTau:default: "eta"
L1nnCaloTau:default: "eta"
xlabel: "Gen. $\\eta$"
ylabel: "Matching Efficiency (>100 GeV)"
binning:
min: -3
max: 3
step: 0.2
119 changes: 119 additions & 0 deletions configs/V33nano/object_performance/tau_trigger.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
TauTriggerBarrel_90perc:
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.90
binning:
min: 0
max: 150
step: 6

TauTriggerEndcap_90perc:
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.90
binning:
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
39 changes: 34 additions & 5 deletions configs/V33nano/objects/taus.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
L1nnTau:
L1nnPuppiTau:
label: "NN Tau"
match_dR: 0.1
eta_ranges:
Expand All @@ -10,7 +10,22 @@ L1nnTau:
cuts:
inclusive:
- "abs({eta}) < 2.4"
- "{passLooseNN}==1"
# - "{passLooseNN}==1"
# Current IB (22 Feb recipe) does not have updated WP, so cut on NN score rather than checking passLooseNN
- "{chargedIso} > 0.22"

L1hpsTau:
label: "HPS Tau"
match_dR: 0.1
eta_ranges:
inclusive: [0, 7]
barrel: [0, 1.5]
endcap: [1.5, 2.4]
ids:
default:
cuts:
inclusive:
- "abs({eta}) < 2.4"

L1caloTau:
label: "Calo Tau"
Expand All @@ -24,9 +39,23 @@ L1caloTau:
cuts:
inclusive:
- "abs({eta}) < 2.4"
PtGe20:
label: "Calo Tau, pt > 20"
PtGe20:
label: "Calo Tau, pt > 20"
cuts:
inclusive:
- "abs({eta}) < 2.4"
- "{pt} > 20"

L1nnCaloTau:
label: "NN 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"
- "{pt} > 20"
- "{hwQual}==3"

0 comments on commit 11787e7

Please sign in to comment.