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