Skip to content

Commit

Permalink
Merge pull request #36 from artlbv/v29_devel
Browse files Browse the repository at this point in the history
[V29] Various additions and fixes for the object performance in V29
  • Loading branch information
artlbv authored Apr 26, 2023
2 parents 4769932 + bdeda6c commit 30d2aa9
Show file tree
Hide file tree
Showing 7 changed files with 193 additions and 20 deletions.
38 changes: 21 additions & 17 deletions objectPerformance/cfg_caching/V29.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
V29:
DYLL_M50:
ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/CMSSW_12_5_2p1/v28/DYToLL_M-50_TuneCP5_14TeV-pythia8/DY_M50_1252_crab_v28_Snap3/*/0000/*.root
ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/CMSSW_12_5_2p1/v29/DY_M50_1252_crab_v29_Snap3/230413_214444/0000/*.root
trees_branches:
genTree/L1GenTree:
part_mu: [Id, Stat, Pt, Eta, Phi]
Expand All @@ -11,8 +11,7 @@ V29:
gmtMuon: [Pt, Eta, Phi, Z0, D0, IPt, IEta, IPhi, IZ0, ID0, Chg, Iso, Qual, Beta, Bx]
gmtTkMuon: [Pt, Eta, Phi, Z0, D0, IPt, IEta, IPhi, IZ0, ID0, Chg, Iso, Qual, Beta, NStubs, Bx]
TT:
#ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/CMSSW_12_5_2p1/v28/TT_TuneCP5_14TeV-powheg-pythia8/TT_1252_crab_v28_Snap3/*/0000/*.root
ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/CMSSW_12_5_2p1/v29/TT_1252_200PU/*.root
ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/CMSSW_12_5_2p1/v29/TT_1252_crab_v29_Snap3/230413_214422/0000/*.root
trees_branches:
genTree/L1GenTree:
genMetTrue: "all"
Expand All @@ -32,46 +31,51 @@ V29:
trackerHT: "all"
# caloJet: "all"
caloJet: [Et, Pt, Eta, Phi]
## DEBUG
#tkElectron: [Pt, Et, Eta, Phi, Chg, Bx, TrkIso, PfIso, PuppiIso, zVtx, HwQual, EGRefPt, EGRefEta, EGRefPhi, HGC, PassesEleID, PassesPhoID]
#tkPhoton: [Pt, Et, Eta, Phi, Bx, TrkIso, HwQual, HGC, PassesEleID, PassesPhoID]
VBFHToTauTau:
ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/CMSSW_12_5_2p1/v28/VBFHToTauTau_M-125_TuneCP5_14TeV-powheg-pythia8/VBFHToTauTau_1252_crab_v28_Snap3/230413_214647/0000/*.root
ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/CMSSW_12_5_2p1/v29/VBFHToTauTau_1252_crab_v29_Snap3/230413_214647/*/*.root
trees_branches:
genTree/L1GenTree:
part_tau: [Id, Stat, Pt, Eta, Phi, Parent, E]
l1PhaseIITree/L1PhaseIITree:
nnTau: [Et, Eta, Pt, Phi, FullIso, Z0, PassTightNN, Chg, DXY, PassLooseNN]
caloTau: [Et, Eta, Pt, Phi, Iso, HwQual, Bx]
# HHToTauTau:
# ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/CMSSW_12_5_2p1/GluGluToHHTo2B2Tau_node_SM_TuneCP5_14TeV-madgraph-pythia8/HHToTauTau_1252_200PU_crab_v27_PU200_fixHwQual/230320_095340/0000/L1NtuplePhaseII_Step1_1.root
# trees_branches:
# genTree/L1GenTree:
# part_tau: [Id, Stat, Pt, Eta, Phi, Parent, E]
# l1PhaseIITree/L1PhaseIITree:
# nnTau: [Et, Eta, Pt, Phi, FullIso, Z0, PassTightNN, Chg, DXY, PassLooseNN]
# caloTau: [Et, Eta, Pt, Phi, Iso, HwQual]
HHToTauTau:
ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/CMSSW_12_5_2p1/v29/HHToTauTau_1252_crab_v29_Snap3/230417_072539/0000/*.root
trees_branches:
genTree/L1GenTree:
part_tau: [Id, Stat, Pt, Eta, Phi, Parent, E]
l1PhaseIITree/L1PhaseIITree:
nnTau: [Et, Eta, Pt, Phi, FullIso, Z0, PassTightNN, Chg, DXY, PassLooseNN]
caloTau: [Et, Eta, Pt, Phi, Iso, HwQual]
Hgg:
ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/CMSSW_12_5_2p1/v28/GluGluHToGG_M-125_TuneCP5_14TeV-powheg-pythia8/GluGluHToGG_1252_crab_v28_Snap3/*/0000/*.root
ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/CMSSW_12_5_2p1/v29/GluGluHToGG_1252_crab_v29_Snap3/230413_214505/0000/*.root
trees_branches:
genTree/L1GenTree:
part_gamma: [Id, Stat, Pt, Eta, Phi]
l1PhaseIITree/L1PhaseIITree:
tkPhoton: [Pt, Et, Eta, Phi, Bx, TrkIso, HwQual, HGC, PassesEleID, PassesPhoID]
tkPhoton: [Pt, Et, Eta, Phi, Bx, TrkIso, HwQual, HGC, PassesEleID, PassesPhoID, TrkIsoPV]
EG: [Pt, Et, Eta, Phi, Bx, Iso, HwQual, HGC, PassesEleID, PassesSaID]
MinBias:
#ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/CMSSW_12_5_2p1/v28/MinBias_TuneCP5_14TeV-pythia8/MinBias_1252_crb_v28_Snap3/*/*/*.root
ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/CMSSW_12_5_2p1/v29/MinBias/*.root
ntuple_path: /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/alobanov/phase2/menu/ntuples/CMSSW_12_5_2p1/v29/MinBias_1252_crb_v29_Snap3/230413_214525/*/*.root
trees_branches:
l1PhaseIITree/L1PhaseIITree:
puppiMET: "all"
phase1PuppiJet: "all"
phase1PuppiMHT: "all"
phase1PuppiHT: "all"
seededConePuppiJet: [Pt, Et, Eta, Phi]
seededConeExtendedPuppiJet: [Pt, Et, Eta, Phi, BJetNN]
seededConeExtendedPuppiHT: "all"
seededConePuppiHT: "all"
seededConePuppiMHT: "all"
tkElectron: [Pt, Et, Eta, Phi, Chg, Bx, TrkIso, PfIso, PuppiIso, zVtx, HwQual, HGC, PassesEleID, PassesPhoID]
EG: [Pt, Et, Eta, Phi, Bx, Iso, HwQual, HGC, PassesEleID, PassesSaID]
gmtTkMuon: [Pt, Eta, Phi, Z0, D0, IPt, IEta, IPhi, IZ0, ID0, Chg, Iso, Qual, Beta, NStubs, Bx]
nnTau: [Et, Eta, Pt, Phi, FullIso, Z0, PassTightNN, Chg, DXY, PassLooseNN]
tkPhoton: [Pt, Et, Eta, Phi, Bx, TrkIso, HwQual, HGC, PassesEleID, PassesPhoID]
tkPhoton: [Pt, Et, Eta, Phi, Bx, TrkIso, HwQual, HGC, PassesEleID, PassesPhoID, TrkIsoPV]
z0L1TkPV: "all"
caloTau: [Et, Eta, Pt, Phi, Iso, HwQual, Bx]

32 changes: 32 additions & 0 deletions objectPerformance/cfg_plots/V22/mht.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
MHT30:
sample: TT
default_version: V22
reference_object:
object: "jet"
suffix: "Pt"
label: "Gen MHT"
cuts:
object:
- "abs({eta}) < 2.4"
- "{pt} > 30"
trafo: "MHT"
test_objects:
phase1PuppiMHT:
suffix: "et"
label: "Phase1 Puppi MHT"
seededConePuppiMHT:
suffix: "et"
label: "SeededCone MHT"
trackerMHT:
suffix: ""
label: "Tracker MHT"
thresholds: [70, 150]
scalings:
method: "naive"
threshold: 0.90
xlabel: "Gen. MHT30 (GeV)"
ylabel: "Trigger Efficiency (<threshold> GeV)"
binning:
min: 0
max: 500
step: 20
32 changes: 32 additions & 0 deletions objectPerformance/cfg_plots/V27/mht.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
MHT30:
sample: TT
default_version: V27
reference_object:
object: "jet"
suffix: "Pt"
label: "Gen MHT"
cuts:
object:
- "abs({eta}) < 2.4"
- "{pt} > 30"
trafo: "MHT"
test_objects:
phase1PuppiMHT:
suffix: "et"
label: "Phase1 Puppi MHT"
seededConePuppiMHT:
suffix: "et"
label: "SeededCone MHT"
trackerMHT:
suffix: ""
label: "Tracker MHT"
thresholds: [70, 150]
scalings:
method: "naive"
threshold: 0.90
xlabel: "Gen. MHT30 (GeV)"
ylabel: "Trigger Efficiency (<threshold> GeV)"
binning:
min: 0
max: 500
step: 20
67 changes: 67 additions & 0 deletions objectPerformance/cfg_plots/V27/tau_matching_wHH.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
HHTausMatchingBarrel:
sample: HHToTauTau
default_version: V27
reference_object:
object: "part_tau"
suffix: "Pt"
label: "Gen Taus"
cuts:
event:
- "{dr_0.3} < 0.15"
- "abs({eta}) < 1.5"
object:
- "abs({eta}) < 2.4"
test_objects:
nnTau:
suffix: "Pt"
label: "NN Tau"
cuts:
- "abs({eta}) < 2.4"
- "{passloosenn}==1"
match_dR: 0.1
caloTau:
suffix: "Pt"
label: "Calo Tau"
cuts:
- "abs({eta}) < 2.4"
match_dR: 0.3
xlabel: "Gen. $p_T$ (GeV)"
ylabel: "Matching Efficiency (Barrel)"
binning:
min: 0
max: 150
step: 6

HHTausMatchingEndcap:
sample: HHToTauTau
default_version: V27
reference_object:
object: "part_tau"
suffix: "Pt"
label: "Gen Taus"
cuts:
event:
- "{dr_0.3} < 0.15"
- "abs({eta}) > 1.5"
object:
- "abs({eta}) < 2.4"
test_objects:
nnTau:
suffix: "Pt"
label: "NN Tau"
cuts:
- "abs({eta}) < 2.4"
- "{passloosenn}==1"
match_dR: 0.1
caloTau:
suffix: "Pt"
label: "Calo Tau"
cuts:
- "abs({eta}) < 2.4"
match_dR: 0.3
xlabel: "Gen. $p_T$ (GeV)"
ylabel: "Matching Efficiency (Endcap)"
binning:
min: 0
max: 150
step: 6
6 changes: 6 additions & 0 deletions objectPerformance/cfg_plots/V29/met_ht_mht.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ MHT30:
- "{pt} > 30"
trafo: "MHT"
test_objects:
phase1PuppiMHT:
suffix: "et"
label: "Phase1 Puppi MHT"
seededConePuppiMHT:
suffix: "et"
label: "SeededCone MHT"
trackerMHT:
suffix: ""
label: "Tracker MHT"
Expand Down
32 changes: 32 additions & 0 deletions objectPerformance/cfg_plots/V29/mht.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
MHT30:
sample: TT
default_version: V29
reference_object:
object: "jet"
suffix: "Pt"
label: "Gen MHT"
cuts:
object:
- "abs({eta}) < 2.4"
- "{pt} > 30"
trafo: "MHT"
test_objects:
phase1PuppiMHT:
suffix: "et"
label: "Phase1 Puppi MHT"
seededConePuppiMHT:
suffix: "et"
label: "SeededCone MHT"
trackerMHT:
suffix: ""
label: "Tracker MHT"
thresholds: [70, 150]
scalings:
method: "naive"
threshold: 0.90
xlabel: "Gen. MHT30 (GeV)"
ylabel: "Trigger Efficiency (<threshold> GeV)"
binning:
min: 0
max: 500
step: 20
6 changes: 3 additions & 3 deletions objectPerformance/cfg_plots/V29/photons_matching_eta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ PhotonsMatching_Eta_Pt10to25:
max: 3
step: 0.2

PhotonsMatching_Eta_Pt25:
PhotonsMatching_Eta_Pt25toInf:
sample: Hgg
default_version: V29
reference_object:
Expand All @@ -65,12 +65,12 @@ PhotonsMatching_Eta_Pt25:
test_objects:
EG:
suffix: "Eta"
label: "EG EleID"
label: "EG"
match_dR: 0.2
quality_id: "QUAL_125x_EGID"
cuts:
- "abs({eta}) < 3"
- "{passeseleid} == 1"
#- "{passeseleid} == 1"
tkPhoton:
match_dR: 0.15
suffix: "Eta"
Expand Down

0 comments on commit 30d2aa9

Please sign in to comment.