From 7f477ae3efe6ff37efa09a22e3d3f191f4dcd671 Mon Sep 17 00:00:00 2001 From: Rajarshi Bhattacharya Date: Wed, 6 Mar 2024 16:51:54 +0100 Subject: [PATCH] New Trigger Filter Bits for Muon POG NanoAOD --- PhysicsTools/NanoAOD/python/custom_muon_cff.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/PhysicsTools/NanoAOD/python/custom_muon_cff.py b/PhysicsTools/NanoAOD/python/custom_muon_cff.py index 3ae8c3b1f8cdc..aef1fab3c8e5c 100644 --- a/PhysicsTools/NanoAOD/python/custom_muon_cff.py +++ b/PhysicsTools/NanoAOD/python/custom_muon_cff.py @@ -326,6 +326,17 @@ def AddTriggerObjectBits(process): ) ) + process.triggerObjectTable.selections.Muon_POG_v2 = cms.PSet( + id = cms.int32(131313), + sel = cms.string("type(83) && pt > 5 && (coll('hltIterL3MuonCandidates') || (pt > 45 && coll('hltHighPtTkMuonCands')) || (pt > 95 && coll('hltOldL3MuonCandidates')))"), + l1seed = cms.string("type(-81)"), l1deltaR = cms.double(0.5), + l2seed = cms.string("type(83) && coll('hltL2MuonCandidates')"), l2deltaR = cms.double(0.3), + skipObjectsNotPassingQualityBits = cms.bool(True), + qualityBits = cms.VPSet( + mksel("filter('hltL3fL1sSingleMuOpenCandidateL1f0L2f3QL3Filtered50Q')","hltL3fL1sSingleMuOpenCandidateL1f0L2f3QL3Filtered50Q"), #0 + mksel("filter('hltTrk200MuonEndcapFilter')","hltTrk200MuonEndcapFilter") #1 + ) + ) return process