From f5472cb443151613d0e74bde00d6955111ec2aee Mon Sep 17 00:00:00 2001 From: dbhowmik Date: Mon, 28 Oct 2024 12:02:49 +0100 Subject: [PATCH 1/2] modified TriggerFilterBits to correctly include hltEle30WPTightGsfTrackIsoFilter --- PhysicsTools/NanoAOD/python/triggerObjects_cff.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PhysicsTools/NanoAOD/python/triggerObjects_cff.py b/PhysicsTools/NanoAOD/python/triggerObjects_cff.py index 9234fa91012fc..55774b3214aee 100644 --- a/PhysicsTools/NanoAOD/python/triggerObjects_cff.py +++ b/PhysicsTools/NanoAOD/python/triggerObjects_cff.py @@ -60,8 +60,9 @@ def AND(tokens): skipObjectsNotPassingQualityBits = cms.bool(True), qualityBits = cms.VPSet( mksel("filter('*CaloIdLTrackIdLIsoVL*TrackIso*Filter')","CaloIdL_TrackIdL_IsoVL"), - mksel("filter('hltEle*WPTight*TrackIsoFilter*')","1e (WPTight)"), + mksel("filter('hltEle*WPTight*TrackIsoFilter*')","1e (WPTight with possibile contribution from Xtriggers besides singleElectron)"), mksel("filter('hltEle*WPLoose*TrackIsoFilter')","1e (WPLoose)"), + mksel("filter('hltEle30WPTightGsfTrackIsoFilter')","1e (HLT30WPTightGSfTrackIso)"), mksel("filter('*OverlapFilter*IsoEle*PFTau*')","OverlapFilter PFTau"), mksel("filter('hltEle*Ele*CaloIdLTrackIdLIsoVLTrackIsoLeg1Filter')","2e (Leg 1)"), mksel("filter('hltEle*Ele*CaloIdLTrackIdLIsoVLTrackIsoLeg2Filter')","2e (Leg 2)"), From 97141db60ea7647bfd7cf7be014ba2d749c64c2e Mon Sep 17 00:00:00 2001 From: dbhowmik Date: Mon, 28 Oct 2024 15:24:08 +0100 Subject: [PATCH 2/2] Including correct TriggerBit for hltEle30WPTightGsfTrackIsoFilter --- PhysicsTools/NanoAOD/python/triggerObjects_cff.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PhysicsTools/NanoAOD/python/triggerObjects_cff.py b/PhysicsTools/NanoAOD/python/triggerObjects_cff.py index 55774b3214aee..c174ad1028e6f 100644 --- a/PhysicsTools/NanoAOD/python/triggerObjects_cff.py +++ b/PhysicsTools/NanoAOD/python/triggerObjects_cff.py @@ -62,7 +62,6 @@ def AND(tokens): mksel("filter('*CaloIdLTrackIdLIsoVL*TrackIso*Filter')","CaloIdL_TrackIdL_IsoVL"), mksel("filter('hltEle*WPTight*TrackIsoFilter*')","1e (WPTight with possibile contribution from Xtriggers besides singleElectron)"), mksel("filter('hltEle*WPLoose*TrackIsoFilter')","1e (WPLoose)"), - mksel("filter('hltEle30WPTightGsfTrackIsoFilter')","1e (HLT30WPTightGSfTrackIso)"), mksel("filter('*OverlapFilter*IsoEle*PFTau*')","OverlapFilter PFTau"), mksel("filter('hltEle*Ele*CaloIdLTrackIdLIsoVLTrackIsoLeg1Filter')","2e (Leg 1)"), mksel("filter('hltEle*Ele*CaloIdLTrackIdLIsoVLTrackIsoLeg2Filter')","2e (Leg 2)"), @@ -77,7 +76,8 @@ def AND(tokens): mksel(["hltEG175HEFilter","hltEG200HEFilter"],"1e (Photon175_OR_Photon200)"), mksel("filter('hltEle*CaloIdLMWPMS2Filter')","2e (CaloIdL_MW seeded)"), mksel("filter('hltDiEle*CaloIdLMWPMS2UnseededFilter')","2e (CaloIdL_MW unseeded)"), - mksel("filter('hlt*OverlapFilterIsoEle*ETau*PNet*Tau*')", "1e-1tau PNet") + mksel("filter('hlt*OverlapFilterIsoEle*ETau*PNet*Tau*')", "1e-1tau PNet"), + mksel("filter('hltEle30WPTightGsfTrackIsoFilter')","1e (HLT30WPTightGSfTrackIso)") ) ), Photon = cms.PSet(