CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PDWG_EXOMONOPOLE_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Unprescale HLT_MET and HLT_SinglePhoton triggers
5 hltMonopole = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
6 hltMonopole.TriggerResultsTag = cms.InputTag( "TriggerResults", "", "HLT" )
7 hltMonopole.HLTPaths = cms.vstring(
8  #2016
9  "HLT_Photon175_v*",
10  "HLT_DoublePhoton60_v*",
11  "HLT_PFMET300_v*",
12  "HLT_PFMET170_HBHE_BeamHaloCleaned_v*",
13  #2017 and 2018
14  "HLT_Photon200_v*",
15  "HLT_Photon300_NoHE_v*",
16  "HLT_DoublePhoton70_v*",
17  "HLT_PFMET140_PFMHT140_IDTight_v*",
18  "HLT_PFMET250_HBHECleaned_v*",
19  "HLT_PFMET300_HBHECleaned_v*"
20 )
21 hltMonopole.throw = False
22 hltMonopole.andOr = True
23 
24 from Configuration.EventContent.EventContent_cff import AODEventContent
25 EXOMonopoleSkimContent = AODEventContent.clone()
26 EXOMonopoleSkimContent.outputCommands.append('keep *_hybridSuperClusters_*_*')
27 EXOMonopoleSkimContent.outputCommands.append('keep *_multi5x5SuperClusters_multi5x5EndcapSuperClusters_*')
28 EXOMonopoleSkimContent.outputCommands.append('keep *_multi5x5SuperClusters_uncleanOnlyMulti5x5EndcapBasicClusters_*')
29 EXOMonopoleSkimContent.outputCommands.append('keep *_multi5x5SuperClusters_uncleanOnlyMulti5x5EndcapSuperClusters_*')
30 EXOMonopoleSkimContent.outputCommands.append('keep *_siStripClusters_*_*')
31 EXOMonopoleSkimContent.outputCommands.append('keep *_siPixelClusters_*_*')
32 EXOMonopoleSkimContent.outputCommands.append('drop *_generalTracks_*_*')
33 EXOMonopoleSkimContent.outputCommands.append('keep *_generalTracks_*_*')
34 EXOMonopoleSkimContent.outputCommands.append('drop *_generalTracks_QualityMasks_*')
35 EXOMonopoleSkimContent.outputCommands.append('keep *_ecalRecHit_EcalRecHitsEB_*')
36 EXOMonopoleSkimContent.outputCommands.append('keep *_ecalRecHit_EcalRecHitsEE_*')
37 EXOMonopoleSkimContent.outputCommands.append('keep *_hbhereco_*_*')
38 
39 # monopole skim sequence
40 EXOMonopoleSkimSequence = cms.Sequence(
41  hltMonopole
42  )