From 2b1362207510dce7f4e4bc3db86d2fb799f46a91 Mon Sep 17 00:00:00 2001 From: ATumasyan Date: Mon, 3 Jul 2023 16:43:25 +0400 Subject: [PATCH] Update triggerObjects_cff.py Adding FatJet trigger objects and filters for nanoAOD --- .../NanoAOD/python/triggerObjects_cff.py | 23 ++++++++----------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/PhysicsTools/NanoAOD/python/triggerObjects_cff.py b/PhysicsTools/NanoAOD/python/triggerObjects_cff.py index c3c63b86f1529..b551ea78bc801 100644 --- a/PhysicsTools/NanoAOD/python/triggerObjects_cff.py +++ b/PhysicsTools/NanoAOD/python/triggerObjects_cff.py @@ -206,24 +206,19 @@ def AND(tokens): ), FatJet = cms.PSet( id = cms.int32(6), - sel = cms.string("type(85) && pt > 120 && coll('hltAK8PFJetsCorrected')"), + sel = cms.string("type(85) && pt > 120"), l1seed = cms.string("type(-99)"), l1deltaR = cms.double(0.3), l2seed = cms.string("type(85) && coll('hltAK8CaloJetsCorrectedIDPassed')"), l2deltaR = cms.double(0.3), skipObjectsNotPassingQualityBits = cms.bool(True), qualityBits = cms.VPSet( - mksel(["hltAK8SingleCaloJet200"]), # 0 - mksel(["hltAK8DoublePFJet250"]), # 1 - mksel(["hltAK8DoublePFJet270"]), # 2 - mksel(["hltAK8DoublePFJetSDModMass30"]), # 3 - mksel(["hltAK8DoublePFJetSDModMass50"]), # 4 - mksel(["hltAK8PFJetsCorrectedMatchedToCaloJets200"]), # 5 - mksel(["hltSingleAK8PFJet220","hltSingleAK8PFJet230"]), # 6 - mksel(["hltAK8PFSoftDropJets220","hltAK8PFSoftDropJets230"]), # 8 - mksel(["hltAK8SinglePFJets220SoftDropMass40","hltAK8SinglePFJets230SoftDropMass40"]), # 9 - mksel(["hltAK8PFJets220SoftDropMass40"]), # 10 - mksel(["hltAK8SinglePFJets220SoftDropMass40PNetBBTag0p06"]), # 11 - mksel(["hltAK8SinglePFJets230SoftDropMass40PNetTauTauTag0p03"]), # 12 - + mksel("coll('hltAK8PFJetsCorrected')"), #1, always present + mksel(["hltAK8SingleCaloJet200"]), #2, always present + mksel("coll('hltAK8PFSoftDropJets230')"), #4, present if nothing else below is fired, otherwise 12, 20, 28, 52, 60 + mksel(["hltAK8SinglePFJets230SoftDropMass40BTagParticleNetBB0p35", + "hltAK8SinglePFJets250SoftDropMass40BTagParticleNetBB0p35", + "hltAK8SinglePFJets275SoftDropMass40BTagParticleNetBB0p35"]), # 12 if nothing below is fired, #28 if also "hltAK8DoublePFJetSDModMass30", #60 if also "hltAK8DoublePFJetSDModMass50" + mksel(["hltAK8DoublePFJetSDModMass30"]), # 16 if onthing else (except #1), 20 if also #4, 28 if also #12 + mksel(["hltAK8DoublePFJetSDModMass50"]), # 48 if also (obviously) "hltAK8DoublePFJetSDModMass30", 52 if also #4, #60 if all above ) ), MET = cms.PSet(