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