From 4bcc213068e529957caab3866016eb71fde5ae11 Mon Sep 17 00:00:00 2001 From: rdewanje Date: Mon, 16 Dec 2024 12:53:12 +0100 Subject: [PATCH] Added E-tau trigger to HLT_75e33_timing_cff.py and made all the requested changes to the E-Tau path files --- .../hltPuppiTauTkIsoEle45_22L1TkFilter_cfi.py | 5 +++ ...oseDeepTauPFTauHPS30_eta2p1_CrossL1_cfi.py | 33 ++----------------- .../python/HLT_75e33_timing_cff.py | 2 ++ 3 files changed, 10 insertions(+), 30 deletions(-) create mode 100644 HLTrigger/Configuration/python/HLT_75e33/modules/hltPuppiTauTkIsoEle45_22L1TkFilter_cfi.py diff --git a/HLTrigger/Configuration/python/HLT_75e33/modules/hltPuppiTauTkIsoEle45_22L1TkFilter_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/modules/hltPuppiTauTkIsoEle45_22L1TkFilter_cfi.py new file mode 100644 index 0000000000000..36a9c7102e889 --- /dev/null +++ b/HLTrigger/Configuration/python/HLT_75e33/modules/hltPuppiTauTkIsoEle45_22L1TkFilter_cfi.py @@ -0,0 +1,5 @@ +import FWCore.ParameterSet.Config as cms + +hltPuppiTauTkIsoEle45_22L1TkFilter = cms.EDFilter("PathStatusFilter", + logicalExpression = cms.string('pPuppiTauTkIsoEle45_22') +) diff --git a/HLTrigger/Configuration/python/HLT_75e33/paths/HLT_Ele30_WPTight_L1Seeded_LooseDeepTauPFTauHPS30_eta2p1_CrossL1_cfi.py b/HLTrigger/Configuration/python/HLT_75e33/paths/HLT_Ele30_WPTight_L1Seeded_LooseDeepTauPFTauHPS30_eta2p1_CrossL1_cfi.py index 5329b9c26e5c1..9aae4d9a74c8b 100644 --- a/HLTrigger/Configuration/python/HLT_75e33/paths/HLT_Ele30_WPTight_L1Seeded_LooseDeepTauPFTauHPS30_eta2p1_CrossL1_cfi.py +++ b/HLTrigger/Configuration/python/HLT_75e33/paths/HLT_Ele30_WPTight_L1Seeded_LooseDeepTauPFTauHPS30_eta2p1_CrossL1_cfi.py @@ -1,5 +1,4 @@ import FWCore.ParameterSet.Config as cms - from ..sequences.HLTBeginSequence_cfi import * from ..sequences.HLTDoFullUnpackingEgammaEcalL1SeededSequence_cfi import * from ..sequences.HLTPFClusteringForEgammaL1SeededSequence_cfi import * @@ -12,21 +11,14 @@ from ..sequences.HLTAK4PFJetsReconstruction_cfi import * from ..sequences.HLTPFTauHPS_cfi import * from ..sequences.HLTHPSDeepTauPFTauSequence_cfi import * - -#from ..sequences.RawToDigiSequence_cfi import * ## CHANGED TO FILE BELOW from ..sequences.HLTRawToDigiSequence_cfi import * - -#from ..sequences.hgcalLocalRecoSequence_cfi import * ## CHANGED TO FILE BELOW from ..sequences.HLTHgcalLocalRecoSequence_cfi import * - -#from ..sequences.localrecoSequence_cfi import * ## CHANGED TO FILE BELOW from ..sequences.HLTLocalrecoSequence_cfi import * - from ..sequences.HLTTrackingV61Sequence_cfi import * from ..sequences.HLTMuonsSequence_cfi import * from ..sequences.HLTParticleFlowSequence_cfi import * from ..sequences.HLTEndSequence_cfi import * -from ..modules.hltPuppiTauTkIsoEle4522L1TkFilter_cfi import * +from ..modules.hltPuppiTauTkIsoEle45_22L1TkFilter_cfi import * from ..modules.hltEgammaCandidatesL1Seeded_cfi import * from ..modules.hltEgammaCandidatesWrapperL1Seeded_cfi import * from ..modules.hltEgammaClusterShapeL1Seeded_cfi import * @@ -57,21 +49,9 @@ from ..modules.hltEle32WPTightGsfTrackIsoL1SeededFilter_cfi import hltEle32WPTightGsfTrackIsoL1SeededFilter as _hltEle32WPTightGsfTrackIsoL1SeededFilter from ..modules.hltAK4PFJetsForTaus_cfi import * from ..modules.hltHpsSelectedPFTauLooseTauWPDeepTau_cfi import * -from ..modules.hltHpsPFTau30LooseTauWPDeepTau_cfi import * ## NEW (with threshold different from youngwan) -from ..modules.hltAK4PFJets_cfi import * +from ..modules.hltHpsPFTau30LooseTauWPDeepTau_cfi import * - - -#hltEG30EtL1SeededFilter = _hltEG32EtL1SeededFilter.clone( -# etcutEB = cms.double(30.0), -# etcutEE = cms.double(30.0), -# inputTag = cms.InputTag("hltEgammaCandidatesWrapperL1Seeded"), -# l1EGCand = cms.InputTag("hltEgammaCandidatesL1Seeded"), -# ncandcut = cms.int32(1), -# saveTags = cms.bool(True) -#) - hltEle30WPTightClusterShapeL1SeededFilter = _hltEle32WPTightClusterShapeL1SeededFilter.clone( absEtaLowEdges = cms.vdouble(0.0, 1.479), candTag = cms.InputTag('hltEG30EtL1SeededFilter'), @@ -550,17 +530,10 @@ HLT_Ele30_WPTight_L1Seeded_LooseDeepTauPFTauHPS30_eta2p1_CrossL1 = cms.Path( HLTBeginSequence + - hltPuppiTauTkIsoEle4522L1TkFilter + - - #RawToDigiSequence + + hltPuppiTauTkIsoEle45_22L1TkFilter + HLTRawToDigiSequence + - - #hgcalLocalRecoSequence + HLTHgcalLocalRecoSequence + - - #localrecoSequence + HLTLocalrecoSequence + - HLTDoFullUnpackingEgammaEcalL1SeededSequence + HLTPFClusteringForEgammaL1SeededSequence + HLTHgcalTiclPFClusteringForEgammaL1SeededSequence + diff --git a/HLTrigger/Configuration/python/HLT_75e33_timing_cff.py b/HLTrigger/Configuration/python/HLT_75e33_timing_cff.py index e68e419d2152a..b7722b079e624 100644 --- a/HLTrigger/Configuration/python/HLT_75e33_timing_cff.py +++ b/HLTrigger/Configuration/python/HLT_75e33_timing_cff.py @@ -111,6 +111,7 @@ fragment.load("HLTrigger/Configuration/HLT_75e33/paths/HLT_Ele115_NonIso_L1Seeded_cfi") fragment.load("HLTrigger/Configuration/HLT_75e33/paths/HLT_Ele26_WP70_L1Seeded_cfi") fragment.load("HLTrigger/Configuration/HLT_75e33/paths/HLT_Ele32_WPTight_L1Seeded_cfi") +fragment.load("HLTrigger/Configuration/HLT_75e33/paths/HLT_Ele30_WPTight_L1Seeded_LooseDeepTauPFTauHPS30_eta2p1_CrossL1_cfi") fragment.load("HLTrigger/Configuration/HLT_75e33/paths/HLT_IsoMu20_eta2p1_LooseDeepTauPFTauHPS27_eta2p1_CrossL1_cfi") fragment.load("HLTrigger/Configuration/HLT_75e33/paths/HLT_IsoMu24_FromL1TkMuon_cfi") fragment.load("HLTrigger/Configuration/HLT_75e33/paths/HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_FromL1TkMuon_cfi") @@ -372,6 +373,7 @@ fragment.L1T_TkIsoEle22TkEm12, fragment.HLT_Ele32_WPTight_L1Seeded, + fragment.HLT_Ele30_WPTight_L1Seeded_LooseDeepTauPFTauHPS30_eta2p1_CrossL1, fragment.HLT_Ele115_NonIso_L1Seeded, fragment.HLT_Ele26_WP70_L1Seeded, fragment.HLT_Photon108EB_TightID_TightIso_L1Seeded,