Skip to content

Commit

Permalink
Update tkMuon ID for v38/AR24
Browse files Browse the repository at this point in the history
  • Loading branch information
artlbv committed Apr 22, 2024
1 parent ff04718 commit 3c11b34
Show file tree
Hide file tree
Showing 4 changed files with 208 additions and 201 deletions.
4 changes: 2 additions & 2 deletions configs/V38nano_DT12x/objects/muons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ L1gmtTkMuon:
endcap: [1.24, 2.4]
ids:
default:
label: "GMT TkMuon, Loose ID"
label: "GMT TkMuon"
cuts:
inclusive:
- "{hwQual} >= 3"
- "({hwQual} >=3) | (({pt} > 8) & ({hwQual} >= 1))" # Loose(>=3) for pt < 8 VLoose(>=1) for pt > 8
VLoose: # x.numberOfMatches() > 0
label: "GMT TkMuon, VLoose ID"
cuts:
Expand Down
2 changes: 1 addition & 1 deletion configs/V38nano_DT12x/rate_table/v38_Step1_cfg.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "V38nano_DT12x"
sample: "MinBias"
menu_config: "configs/V38nano_DT12x/rate_table/v38_menu_Step1.yml"
table_fname: "rates_full_TkMuonMediumID_JetPt25"
table_fname: "menu_Step1"
200 changes: 101 additions & 99 deletions configs/V38nano_DT12x/rate_table/v38_menu_Step1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,6 @@ L1_PFMet:
# leg1:
# threshold_cut: offline_pt >= 200.0
# obj: L1puppiMLMET:default
L1_DoubleTkMu4p5er2p0_SQ_OS_Mass7to18:
cross_masks:
- (((leg1+leg2).mass > 7.0) & (leg1.deltaR(leg2) > 0))
- (((leg1+leg2).mass < 18.0) & (leg1.deltaR(leg2) > 0))
- ((leg1.charge*leg2.charge < 0.0) & (leg1.deltaR(leg2) > 0))
- ((abs(leg2.z0-leg1.z0) < 1) & (leg1.deltaR(leg2) > 0))
leg1:
threshold_cut: pt > 4.4
obj: L1gmtTkMuon:Medium
leg2:
threshold_cut: pt > 4.4
obj: L1gmtTkMuon:Medium
L1_TkMu_PfJet_dRMax_DoubleJet_dEtaMax:
cross_masks:
- abs(leg2.eta) < 2.4
Expand All @@ -41,7 +29,7 @@ L1_TkMu_PfJet_dRMax_DoubleJet_dEtaMax:
obj: L1PV:default
leg2:
threshold_cut: offline_pt >= 12.0
obj: L1gmtTkMuon:Medium
obj: L1gmtTkMuon:VLoose
leg3:
threshold_cut: offline_pt >= 40.0
obj: L1puppiJetSC4:PtGe25
Expand All @@ -51,26 +39,11 @@ L1_TkMu_PfJet_dRMax_DoubleJet_dEtaMax:
leg5:
threshold_cut: offline_pt >= 40.0
obj: L1puppiJetSC4:PtGe25
L1_DoubleTkMu0er1p5_SQ_OS_dR_Max1p4:
cross_masks:
- (abs(leg1.eta) < 1.5)
- (abs(leg2.eta) < 1.5)
- ((leg1.deltaR(leg2) < 1.4))
- ((leg1.charge*leg2.charge < 0.0))
- ((abs(leg2.z0-leg1.z0) < 1))
- ((leg1.deltaR(leg2) > 0))
leg1:
threshold_cut: pt > 0
obj: L1gmtTkMuon:Medium
leg2:
threshold_cut: pt > 0
obj: L1gmtTkMuon:Medium
L1_SingleTkPhoIso:
cross_masks: []
leg1:
threshold_cut: offline_pt >= 36.0
obj: L1tkPhoton:Iso

L1_DoubleTkPhoIso:
cross_masks: []
leg1:
Expand Down Expand Up @@ -117,7 +90,7 @@ L1_SingleTkMu:
cross_masks: []
leg1:
threshold_cut: offline_pt >= 22.0
obj: L1gmtTkMuon:Medium
obj: L1gmtTkMuon:VLoose
L1_TkEleIso_EG:
cross_masks:
- leg1.deltaR(leg2) > 0.1
Expand Down Expand Up @@ -172,14 +145,14 @@ L1_TkEle_TkMu:
obj: L1tkElectron:NoIso:inclusive
leg2:
threshold_cut: offline_pt >= 20.0
obj: L1gmtTkMuon:Medium
obj: L1gmtTkMuon:VLoose
L1_TkMu_DoubleTkEle:
cross_masks:
- abs(leg2.z0-leg1.z0) < 1
- abs(leg3.z0-leg1.z0) < 1
leg1:
threshold_cut: pt > 6
obj: L1gmtTkMuon:Medium
obj: L1gmtTkMuon:VLoose
leg2:
threshold_cut: offline_pt >= 17.0
obj: L1tkElectron:NoIso:inclusive
Expand All @@ -194,7 +167,7 @@ L1_TkMu_PfHTT:
obj: L1PV:default
leg2:
threshold_cut: pt > 6
obj: L1gmtTkMuon:Medium
obj: L1gmtTkMuon:VLoose
leg3:
threshold_cut: offline_pt >= 320.0
obj: L1puppiJetSC4sums:HT
Expand All @@ -206,7 +179,7 @@ L1_TkMu_PfJet_PfMet:
obj: L1PV:default
leg2:
threshold_cut: pt > 3
obj: L1gmtTkMuon:Medium
obj: L1gmtTkMuon:VLoose
leg3:
threshold_cut: offline_pt >= 110.0
obj: L1puppiJetSC4:PtGe25
Expand All @@ -218,7 +191,7 @@ L1_TkMu_TkEle:
- abs(leg2.z0-leg1.z0) < 1
leg1:
threshold_cut: pt > 7
obj: L1gmtTkMuon:Medium
obj: L1gmtTkMuon:VLoose
leg2:
threshold_cut: offline_pt >= 23.0
obj: L1tkElectron:NoIso:inclusive
Expand All @@ -227,54 +200,10 @@ L1_TkMu_TkEleIso:
- abs(leg2.z0-leg1.z0) < 1
leg1:
threshold_cut: pt > 7
obj: L1gmtTkMuon:Medium
obj: L1gmtTkMuon:VLoose
leg2:
threshold_cut: offline_pt >= 20.0
obj: L1tkElectron:Iso:inclusive
L1_TripleTkMu:
cross_masks:
- abs(leg2.z0-leg1.z0) < 1
- abs(leg3.z0-leg1.z0) < 1
leg1:
threshold_cut: pt > 5
obj: L1gmtTkMuon:Medium
leg2:
threshold_cut: pt > 3
obj: L1gmtTkMuon:Medium
leg3:
threshold_cut: pt > 3
obj: L1gmtTkMuon:Medium
L1_TripleTkMu_5SQ_3SQ_0OQ_DoubleMu_5_3_SQ_OS_Mass_Max9:
cross_masks:
- (leg1+leg2).mass < 9.0
- leg1.charge*leg2.charge < 0.0
- abs(leg2.z0-leg1.z0) < 1
- abs(leg3.z0-leg1.z0) < 1
leg1:
threshold_cut: pt > 5
obj: L1gmtTkMuon:Medium
leg2:
threshold_cut: pt > 3
obj: L1gmtTkMuon:Medium
leg3:
threshold_cut: pt > 0
obj: L1gmtTkMuon:Medium
L1_TripleTkMu_5_3p5_2p5_OS_Mass_5to17:
cross_masks:
- abs(leg2.z0-leg1.z0) < 1
- leg1.charge*leg3.charge < 0.0
- (leg1+leg3).mass > 5.0
- (leg1+leg3).mass < 17.0
- abs(leg3.z0-leg1.z0) < 1
leg1:
threshold_cut: pt > 5
obj: L1gmtTkMuon:Medium
leg2:
threshold_cut: pt > 3.5
obj: L1gmtTkMuon:Medium
leg3:
threshold_cut: pt > 2.5
obj: L1gmtTkMuon:Medium
L1_DoubleTkEle_PFHTT:
cross_masks:
- (abs(leg2.z0-leg1.z0) < 1 & (leg2.deltaR(leg3) > 0))
Expand Down Expand Up @@ -333,21 +262,10 @@ L1_DoubleTkMu:
- ((abs(leg1.z0-leg2.z0) < 1) & (leg1.deltaR(leg2) > 0))
leg1:
threshold_cut: offline_pt > 15.0
obj: L1gmtTkMuon:Medium
obj: L1gmtTkMuon:VLoose
leg2:
threshold_cut: pt > 7
obj: L1gmtTkMuon:Medium
L1_DoubleTkMu4_SQ_OS_dR_Max1p2:
cross_masks:
- ((leg1.deltaR(leg2) < 1.2) & (leg1.deltaR(leg2) > 0))
- ((leg1.charge*leg2.charge < 0.0) & (leg1.deltaR(leg2) > 0))
- ((abs(leg2.z0-leg1.z0) < 1) & (leg1.deltaR(leg2) > 0))
leg1:
threshold_cut: pt > 4
obj: L1gmtTkMuon:Medium
leg2:
threshold_cut: pt > 4
obj: L1gmtTkMuon:Medium
obj: L1gmtTkMuon:VLoose
L1_DoubleTkMu_PfHTT:
cross_masks:
- (abs(leg2.z0-leg1.z0) < 1 & (leg3.deltaR(leg2) > 0))
Expand All @@ -358,10 +276,10 @@ L1_DoubleTkMu_PfHTT:
obj: L1PV:default
leg2:
threshold_cut: pt > 3
obj: L1gmtTkMuon:Medium
obj: L1gmtTkMuon:VLoose
leg3:
threshold_cut: pt > 3
obj: L1gmtTkMuon:Medium
obj: L1gmtTkMuon:VLoose
leg4:
threshold_cut: offline_pt >= 300.0
obj: L1puppiJetSC4sums:HT
Expand All @@ -374,10 +292,10 @@ L1_DoubleTkMu_PfJet_PfMet:
obj: L1PV:default
leg2:
threshold_cut: pt > 3
obj: L1gmtTkMuon:Medium
obj: L1gmtTkMuon:VLoose
leg3:
threshold_cut: pt > 3
obj: L1gmtTkMuon:Medium
obj: L1gmtTkMuon:VLoose
leg4:
threshold_cut: offline_pt >= 60.0
obj: L1puppiJetSC4:PtGe25
Expand All @@ -390,10 +308,10 @@ L1_DoubleTkMu_TkEle:
- abs(leg3.z0-leg1.z0) < 1
leg1:
threshold_cut: pt > 5
obj: L1gmtTkMuon:Medium
obj: L1gmtTkMuon:VLoose
leg2:
threshold_cut: pt > 5
obj: L1gmtTkMuon:Medium
obj: L1gmtTkMuon:VLoose
leg3:
threshold_cut: offline_pt >= 9.0
obj: L1tkElectron:NoIso:inclusive
Expand Down Expand Up @@ -442,4 +360,88 @@ L1_PFIsoTau_TkMu:
obj: L1nnPuppiTau:default
leg3:
threshold_cut: offline_pt >= 18.0
obj: L1gmtTkMuon:Medium
obj: L1gmtTkMuon:VLoose
########################
###### BPH SEEDS #######
########################
L1_TripleTkMu:
cross_masks:
- abs(leg2.z0-leg1.z0) < 1
- abs(leg3.z0-leg1.z0) < 1
leg1:
threshold_cut: pt > 5
obj: L1gmtTkMuon:default
leg2:
threshold_cut: pt > 3
obj: L1gmtTkMuon:default
leg3:
threshold_cut: pt > 3
obj: L1gmtTkMuon:default
L1_DoubleTkMu4p5er2p0_SQ_OS_Mass7to18:
cross_masks:
- (((leg1+leg2).mass > 7.0) & (leg1.deltaR(leg2) > 0))
- (((leg1+leg2).mass < 18.0) & (leg1.deltaR(leg2) > 0))
- ((leg1.charge*leg2.charge < 0.0) & (leg1.deltaR(leg2) > 0))
- ((abs(leg2.z0-leg1.z0) < 1) & (leg1.deltaR(leg2) > 0))
leg1:
threshold_cut: pt > 4.4
obj: L1gmtTkMuon:default
leg2:
threshold_cut: pt > 4.4
obj: L1gmtTkMuon:default
L1_DoubleTkMu0er1p5_SQ_OS_dR_Max1p4:
cross_masks:
- (abs(leg1.eta) < 1.5)
- (abs(leg2.eta) < 1.5)
- ((leg1.deltaR(leg2) < 1.4))
- ((leg1.charge*leg2.charge < 0.0))
- ((abs(leg2.z0-leg1.z0) < 1))
- ((leg1.deltaR(leg2) > 0))
leg1:
threshold_cut: pt > 0
obj: L1gmtTkMuon:default
leg2:
threshold_cut: pt > 0
obj: L1gmtTkMuon:default
L1_TripleTkMu_5SQ_3SQ_0OQ_DoubleMu_5_3_SQ_OS_Mass_Max9:
cross_masks:
- (leg1+leg2).mass < 9.0
- leg1.charge*leg2.charge < 0.0
- abs(leg2.z0-leg1.z0) < 1
- abs(leg3.z0-leg1.z0) < 1
leg1:
threshold_cut: pt > 5
obj: L1gmtTkMuon:default
leg2:
threshold_cut: pt > 3
obj: L1gmtTkMuon:default
leg3:
threshold_cut: pt > 0
obj: L1gmtTkMuon:default
L1_TripleTkMu_5_3p5_2p5_OS_Mass_5to17:
cross_masks:
- abs(leg2.z0-leg1.z0) < 1
- leg1.charge*leg3.charge < 0.0
- (leg1+leg3).mass > 5.0
- (leg1+leg3).mass < 17.0
- abs(leg3.z0-leg1.z0) < 1
leg1:
threshold_cut: pt > 5
obj: L1gmtTkMuon:default
leg2:
threshold_cut: pt > 3.5
obj: L1gmtTkMuon:default
leg3:
threshold_cut: pt > 2.5
obj: L1gmtTkMuon:default
L1_DoubleTkMu4_SQ_OS_dR_Max1p2:
cross_masks:
- ((leg1.deltaR(leg2) < 1.2) & (leg1.deltaR(leg2) > 0))
- ((leg1.charge*leg2.charge < 0.0) & (leg1.deltaR(leg2) > 0))
- ((abs(leg2.z0-leg1.z0) < 1) & (leg1.deltaR(leg2) > 0))
leg1:
threshold_cut: pt > 4
obj: L1gmtTkMuon:default
leg2:
threshold_cut: pt > 4
obj: L1gmtTkMuon:default
Loading

0 comments on commit 3c11b34

Please sign in to comment.