CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
PDWG_EXODisappTrk_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from Configuration.EventContent.EventContent_cff import AODSIMEventContent
4 EXODisappTrkSkimContent = AODSIMEventContent.clone()
5 EXODisappTrkSkimContent.outputCommands.append('drop *')
6 EXODisappTrkSkimContent.outputCommands.append('keep *_reducedHcalRecHits_*_*')
7 EXODisappTrkSkimContent.outputCommands.append('keep *_reducedEcalRecHits*_*_*')
8 
9 import HLTrigger.HLTfilters.hltHighLevel_cfi as _hltHighLevel
10 hltDisappTrk = _hltHighLevel.hltHighLevel.clone(
11  throw = False,
12  andOr = True,
13  HLTPaths = [
14  "HLT_PFMET*_PFMHT*_IDTight_v*",
15  "HLT_PFMETTypeOne*_PFMHT*_IDTight_v*",
16  "HLT_PFMETNoMu*_PFMHTNoMu*_IDTight_v*",
17  "HLT_MET*_IsoTrk*_v*",
18  "HLT_PFMET*_*Cleaned_v*",
19  "HLT_Ele*_WPTight_Gsf_v*",
20  "HLT_Ele*_WPLoose_Gsf_v*",
21  "HLT_IsoMu*_v*",
22  "HLT_MediumChargedIsoPFTau*HighPtRelaxedIso_Trk50_eta2p1_v*",
23  "HLT_VBF_DoubleMediumDeepTauPFTauHPS20_eta2p1_v*",
24  # 2023
25  "HLT_DoubleMediumDeepTauPFTauHPS*_L2NN_eta2p1_*",
26  "HLT_LooseDeepTauPFTauHPS*_L2NN_eta2p1_v*",
27  # 2022
28  "HLT_VBF_DoubleMediumChargedIsoPFTauHPS20_Trk1_eta2p1_v*",
29  "HLT_DoubleMediumDeepTauIsoPFTauHPS*_L2NN_eta2p1_v*",
30  "HLT_DoubleMediumChargedIsoPFTauHPS*_Trk1_eta2p1_v*",
31  ]
32 )
33 
34 disappTrkSelection=cms.EDFilter("TrackSelector",
35  src = cms.InputTag("generalTracks"),
36  cut = cms.string('pt > 25 && abs(eta()) < 2.1'),
37  filter = cms.bool(True)
38 )
39 
40 # disappTrk skim sequence
41 EXODisappTrkSkimSequence = cms.Sequence(
42  hltDisappTrk * disappTrkSelection
43  )