CMS 3D CMS Logo

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,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  #2021: on EGamma dataset only
21  "HLT_Photon200_v*",
22  "HLT_DoublePhoton70_v*",
23  "HLT_DoublePhoton85_v*",
24 )
25 hltMonopole.throw = False
26 hltMonopole.andOr = True
27 
28 from Configuration.EventContent.EventContent_cff import AODEventContent
29 EXOMonopoleSkimContent = AODEventContent.clone()
30 EXOMonopoleSkimContent.outputCommands.append('drop *')
31 EXOMonopoleSkimContent.outputCommands.append('keep *_hybridSuperClusters_*_*')
32 EXOMonopoleSkimContent.outputCommands.append('keep *_multi5x5SuperClusters_multi5x5EndcapBasicClusters_*')
33 EXOMonopoleSkimContent.outputCommands.append('keep *_multi5x5SuperClusters_multi5x5EndcapSuperClusters_*')
34 EXOMonopoleSkimContent.outputCommands.append('keep *_multi5x5SuperClusters_uncleanOnlyMulti5x5EndcapBasicClusters_*')
35 EXOMonopoleSkimContent.outputCommands.append('keep *_multi5x5SuperClusters_uncleanOnlyMulti5x5EndcapSuperClusters_*')
36 EXOMonopoleSkimContent.outputCommands.append('keep *_uncleanSCRecovered_uncleanHybridBarrelBasicClusters_*')
37 EXOMonopoleSkimContent.outputCommands.append('keep *_uncleanEERecovered_uncleanEndcapBasicClusters_*')
38 EXOMonopoleSkimContent.outputCommands.append('keep *_siStripClusters_*_*')
39 EXOMonopoleSkimContent.outputCommands.append('keep *_siPixelClusters_*_*')
40 EXOMonopoleSkimContent.outputCommands.append('keep *_generalTracks_*_*')
41 EXOMonopoleSkimContent.outputCommands.append('drop *_generalTracks_QualityMasks_*')
42 EXOMonopoleSkimContent.outputCommands.append('keep *_ecalRecHit_EcalRecHitsEB_*')
43 EXOMonopoleSkimContent.outputCommands.append('keep *_ecalRecHit_EcalRecHitsEE_*')
44 EXOMonopoleSkimContent.outputCommands.append('keep *_hbhereco_*_*')
45 EXOMonopoleSkimContent.outputCommands.append('keep edmTriggerResults_TriggerResults_*_*')
46 EXOMonopoleSkimContent.outputCommands.append('keep *_hltTriggerSummaryAOD_*_*')
47 EXOMonopoleSkimContent.outputCommands.append('keep *_offlinePrimaryVertices_*_*')
48 EXOMonopoleSkimContent.outputCommands.append('keep *_gedGsfElectrons_*_*')
49 EXOMonopoleSkimContent.outputCommands.append('keep *_photons_*_*')
50 EXOMonopoleSkimContent.outputCommands.append('keep *_pfMet_*_*')
51 EXOMonopoleSkimContent.outputCommands.append('keep *_offlineBeamSpot_*_*')
52 EXOMonopoleSkimContent.outputCommands.append('keep *_siPixelDigis_*_*')
53 
54 # monopole skim sequence
55 EXOMonopoleSkimSequence = cms.Sequence(hltMonopole)