CMS 3D CMS Logo

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  "HLT_DoubleMediumDeepTauPFTauHPS*_L2NN_eta2p1_*",
25  "HLT_LooseDeepTauPFTauHPS*_L2NN_eta2p1_v*"
26  ]
27 )
28 
29 disappTrkSelection=cms.EDFilter("TrackSelector",
30  src = cms.InputTag("generalTracks"),
31  cut = cms.string('pt > 25 && abs(eta()) < 2.1'),
32  filter = cms.bool(True)
33 )
34 
35 # disappTrk skim sequence
36 EXODisappTrkSkimSequence = cms.Sequence(
37  hltDisappTrk * disappTrkSelection
38  )