Skip to content

Commit

Permalink
More V38/DT12 configs
Browse files Browse the repository at this point in the history
  • Loading branch information
artlbv committed Apr 19, 2024
1 parent d7df995 commit ff04718
Show file tree
Hide file tree
Showing 12 changed files with 1,279 additions and 121 deletions.
7 changes: 5 additions & 2 deletions configs/V38nano/objects/muons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ L1gmtMuon:
overlap: [0.83, 1.24]
endcap: [1.24, 2.4]
ids:

default:
cuts:
overlap:
Expand All @@ -62,7 +61,11 @@ L1gmtMuon:
dR0p6:
label: "GMT Muon, match dR < 0.6"
match_dR: 0.6
cuts: {}
cuts:
overlap:
- "{hwQual} >= 12"
endcap:
- "{hwQual} >= 14"

L1gmtDispMuon:
label: "GMT Displaced Muon"
Expand Down
60 changes: 30 additions & 30 deletions configs/V38nano_DT12x/caching.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,36 +23,36 @@ V38nano_DT12x:
ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/14X/IBv9_muons/IBv9_Combined/12DT_wTT/ForArthurPartial/Minbias.root
trees_branches:
Events:
# # PV
# L1PV: [z0]
# ## EG
# L1tkPhoton: "all"
# L1tkElectron: "all"
# L1EGbarrel: "all"
# L1EGendcap: "all"
# ## MUONS
# PV
L1PV: [z0]
## EG
L1tkPhoton: "all"
L1tkElectron: "all"
L1EGbarrel: "all"
L1EGendcap: "all"
## MUONS
L1gmtTkMuon: "all"
L1gmtMuon: "all" # aka gmtMuon
L1gmtDispMuon: "all"
# ## TAUS
# L1nnPuppiTau: "all"
# L1hpsTau: "all"
# L1caloTau: "all"
# L1nnCaloTau: "all"
# ## MET/Sums
# L1puppiMET: [pt, phi]
# L1puppiMLMET: [pt]
# L1puppiJetSC4sums: [pt, phi]
# L1puppiHistoJetSums: [pt, phi]
# # # jets
# L1puppiJetSC4: [pt, eta, phi]
# L1puppiJetSC8: [pt, eta, phi]
# L1puppiExtJetSC4: [pt, eta, phi, btagScore]
# L1puppiJetHisto: [pt, eta, phi]
# L1caloJet: [pt, eta, phi]
# ## track-only
# L1TrackMET: [pt]
# L1TrackHT: [ht, mht]
# L1TrackJet: [pt, eta, phi]
# L1TrackTripletWord: [pt]
# L1ExtTrackHT: [ht]
## TAUS
L1nnPuppiTau: "all"
L1hpsTau: "all"
L1caloTau: "all"
L1nnCaloTau: "all"
## MET/Sums
L1puppiMET: [pt, phi]
L1puppiMLMET: [pt]
L1puppiJetSC4sums: [pt, phi]
L1puppiHistoJetSums: [pt, phi]
# # jets
L1puppiJetSC4: [pt, eta, phi]
L1puppiJetSC8: [pt, eta, phi]
L1puppiExtJetSC4: [pt, eta, phi, btagScore]
L1puppiJetHisto: [pt, eta, phi]
L1caloJet: [pt, eta, phi]
## track-only
L1TrackMET: [pt]
L1TrackHT: [ht, mht]
L1TrackJet: [pt, eta, phi]
L1TrackTripletWord: [pt]
L1ExtTrackHT: [ht]
122 changes: 61 additions & 61 deletions configs/V38nano_DT12x/object_performance/muonTF_trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,65 +29,65 @@ MuonTFsTrigger_Barrel:
max: 50
step: 1.5

# MuonTFsTrigger_Overlap:
# sample: DYLL_M50
# version: V38nano_DT12x
# match_test_to_ref: True
# reference_object:
# object: "GenPart"
# x_arg: "eta"
# label: "Gen Muons"
# cuts:
# event:
# - "(({statusFlags}>>7)&1) == 1"
# - "abs({pdgId}) == 13"
# object:
# - "abs({eta}) > 0.83"
# - "abs({eta}) < 1.24"
# test_objects:
# L1gmtMuon:default:overlap: "pt"
# L1MuonKMTF:default:overlap: "pt"
# L1MuonOMTF:default:overlap: "pt"
# L1MuonEMTF:default:overlap: "pt"
# L1gmtTkMuon:default:overlap: "pt"
# xlabel: "Gen. pT (GeV)"
# ylabel: "Trigger Efficiency (overlap, L1 $p_T > 20$ GeV)"
# thresholds: [20, 25]
# # scalings:
# # method: "naive"
# # threshold: 0.95
# binning:
# min: 0
# max: 50
# step: 1.5
MuonTFsTrigger_Overlap:
sample: DYLL_M50
version: V38nano_DT12x
match_test_to_ref: True
reference_object:
object: "GenPart"
x_arg: "eta"
label: "Gen Muons"
cuts:
event:
- "(({statusFlags}>>7)&1) == 1"
- "abs({pdgId}) == 13"
object:
- "abs({eta}) > 0.83"
- "abs({eta}) < 1.24"
test_objects:
L1gmtMuon:default:overlap: "pt"
L1MuonKMTF:default:overlap: "pt"
L1MuonOMTF:default:overlap: "pt"
L1MuonEMTF:default:overlap: "pt"
L1gmtTkMuon:default:overlap: "pt"
xlabel: "Gen. pT (GeV)"
ylabel: "Trigger Efficiency (overlap, L1 $p_T > 20$ GeV)"
thresholds: [20, 25]
# scalings:
# method: "naive"
# threshold: 0.95
binning:
min: 0
max: 50
step: 1.5

# MuonTFsTrigger_Endcap:
# sample: DYLL_M50
# version: V38nano_DT12x
# match_test_to_ref: True
# reference_object:
# object: "GenPart"
# x_arg: "eta"
# label: "Gen Muons"
# cuts:
# event:
# - "(({statusFlags}>>7)&1) == 1"
# - "abs({pdgId}) == 13"
# object:
# - "abs({eta}) > 1.24"
# test_objects:
# L1gmtMuon:default:endcap: "pt"
# L1MuonKMTF:default:endcap: "pt"
# L1MuonOMTF:default:endcap: "pt"
# L1MuonEMTF:default:endcap: "pt"
# L1gmtTkMuon:default:endcap: "pt"
# xlabel: "Gen. pT (GeV)"
# ylabel: "Trigger Efficiency (endcap, L1 $p_T > 20$ GeV)"
# thresholds: [20, 25]
# # scalings:
# # method: "naive"
# # threshold: 0.95
# binning:
# min: 0
# max: 50
# step: 1.5
MuonTFsTrigger_Endcap:
sample: DYLL_M50
version: V38nano_DT12x
match_test_to_ref: True
reference_object:
object: "GenPart"
x_arg: "eta"
label: "Gen Muons"
cuts:
event:
- "(({statusFlags}>>7)&1) == 1"
- "abs({pdgId}) == 13"
object:
- "abs({eta}) > 1.24"
test_objects:
L1gmtMuon:default:endcap: "pt"
L1MuonKMTF:default:endcap: "pt"
L1MuonOMTF:default:endcap: "pt"
L1MuonEMTF:default:endcap: "pt"
L1gmtTkMuon:default:endcap: "pt"
xlabel: "Gen. pT (GeV)"
ylabel: "Trigger Efficiency (endcap, L1 $p_T > 20$ GeV)"
thresholds: [20, 25]
# scalings:
# method: "naive"
# threshold: 0.95
binning:
min: 0
max: 50
step: 1.5
83 changes: 55 additions & 28 deletions configs/V38nano_DT12x/object_performance/muon_matching_eta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,56 @@
MuonsMatching_Eta_Pt2to5:
# MuonsMatching_Eta_Pt2to5:
# sample: DYLL_M50
# version: V38nano_DT12x
# 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"
# test_objects:
# L1gmtMuon:default: "eta"
# L1gmtMuon:dR0p6: "eta"
# L1gmtTkMuon:default: "eta"
# xlabel: "Gen. $\\eta$"
# ylabel: "Matching Efficiency (2-5 GeV)"
# binning:
# min: -3
# max: 3
# step: 0.2

# MuonsMatching_Eta_Pt15toInf:
# sample: DYLL_M50
# version: V38nano_DT12x
# 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"
# test_objects:
# L1gmtMuon:default: "eta"
# L1gmtTkMuon:default: "eta"
# xlabel: "Gen. $\\eta$"
# ylabel: "Matching Efficiency (>15 GeV)"
# binning:
# min: -3
# max: 3
# step: 0.2

MuonsMatching_Eta_Pt2to5_status1:
sample: DYLL_M50
version: V38nano_DT12x
match_test_to_ref: True
Expand All @@ -8,7 +60,7 @@ MuonsMatching_Eta_Pt2to5:
label: "Gen Muons"
cuts:
event:
- "(({statusFlags}>>7)&1) == 1"
- "{status} == 1"
- "abs({pdgId}) == 13"
- "{pt} > 2"
- "{pt} < 5"
Expand All @@ -23,29 +75,4 @@ MuonsMatching_Eta_Pt2to5:
binning:
min: -3
max: 3
step: 0.2

MuonsMatching_Eta_Pt15toInf:
sample: DYLL_M50
version: V38nano_DT12x
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"
test_objects:
L1gmtMuon:default: "eta"
L1gmtTkMuon:default: "eta"
xlabel: "Gen. $\\eta$"
ylabel: "Matching Efficiency (>15 GeV)"
binning:
min: -3
max: 3
step: 0.2
step: 0.2
10 changes: 10 additions & 0 deletions configs/V38nano_DT12x/objects/jets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ L1puppiExtJetSC4:
cuts:
inclusive:
- "abs({eta}) < 5"
PtGe25:
cuts:
inclusive:
- "abs({eta}) < 7"
- "abs({pt}) >= 25"
bjetnn:
label: "SC Extended PuppiJet, BtagScore > 0.71"
cuts:
Expand Down Expand Up @@ -62,6 +67,11 @@ L1puppiJetSC4:
cuts:
inclusive:
- "abs({eta}) < 7"
PtGe25:
cuts:
inclusive:
- "abs({eta}) < 7"
- "abs({pt}) >= 25"

L1puppiJetSC8:
match_dR: 0.35
Expand Down
4 changes: 4 additions & 0 deletions configs/V38nano_DT12x/objects/pv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
L1PV:
label: "Primary Vertex"
ids:
default: {}
4 changes: 4 additions & 0 deletions configs/V38nano_DT12x/rate_table/v38_Step1And2_cfg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version: "V38nano_DT12x"
sample: "MinBias"
menu_config: "configs/V38nano_DT12x/rate_table/v38_menu_Step1and2.yml"
table_fname: "rates_Step1and2"
4 changes: 4 additions & 0 deletions configs/V38nano_DT12x/rate_table/v38_Step1_cfg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version: "V38nano_DT12x"
sample: "MinBias"
menu_config: "configs/V38nano_DT12x/rate_table/v38_menu_Step1.yml"
table_fname: "rates_full_TkMuonMediumID_JetPt25"
4 changes: 4 additions & 0 deletions configs/V38nano_DT12x/rate_table/v38_Step2_cfg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version: "V38nano_DT12x"
sample: "MinBias"
menu_config: "configs/V38nano_DT12x/rate_table/v38_menu_Step2.yml"
table_fname: "rates_Step2"
Loading

0 comments on commit ff04718

Please sign in to comment.