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_MET105_IsoTrk50_v*",
15  "MC_PFMET_v17"
16  ]
17 )
18 
19 disappTrkSelection=cms.EDFilter("TrackSelector",
20  src = cms.InputTag("generalTracks"),
21  cut = cms.string('pt > 25 && abs(eta()) < 2.1'),
22  filter = cms.bool(True)
23 )
24 
25 # disappTrk skim sequence
26 EXODisappTrkSkimSequence = cms.Sequence(
27  hltDisappTrk * disappTrkSelection
28  )