Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-07-05 03:36:34

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # Unprescale HLT_MET and HLT_SinglePhoton triggers
0004 import HLTrigger.HLTfilters.hltHighLevel_cfi
0005 hltMonopole = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
0006 hltMonopole.TriggerResultsTag = cms.InputTag( "TriggerResults", "", "HLT" )
0007 hltMonopole.HLTPaths = cms.vstring(
0008     #2016
0009     #"HLT_Photon175_v*",
0010     #"HLT_DoublePhoton60_v*",
0011     #"HLT_PFMET300_v*",
0012     #"HLT_PFMET170_HBHE_BeamHaloCleaned_v*",
0013     #2017,2018
0014     #"HLT_Photon200_v*",
0015     #"HLT_Photon300_NoHE_v*",
0016     #"HLT_DoublePhoton70_v*",
0017     #"HLT_PFMET140_PFMHT140_IDTight_v*",
0018     #"HLT_PFMET250_HBHECleaned_v*",
0019     #"HLT_PFMET300_HBHECleaned_v*",
0020     #2021: on EGamma dataset only
0021     #"HLT_Photon200_v*",
0022     #"HLT_DoublePhoton70_v*",
0023     #"HLT_DoublePhoton85_v*",
0024     #2024: on EGamma, MET and JetMET datasets
0025     "HLT_Photon200_v*",
0026     "HLT_PFMET200_BeamHaloCleaned_v*"
0027 )
0028 hltMonopole.throw = False
0029 hltMonopole.andOr = True
0030 
0031 from Configuration.EventContent.EventContent_cff import AODEventContent
0032 EXOMonopoleSkimContent = AODEventContent.clone()
0033 EXOMonopoleSkimContent.outputCommands.append('drop *')
0034 EXOMonopoleSkimContent.outputCommands.append('keep *_hybridSuperClusters_*_*')
0035 EXOMonopoleSkimContent.outputCommands.append('keep *_multi5x5SuperClusters_multi5x5EndcapBasicClusters_*')
0036 EXOMonopoleSkimContent.outputCommands.append('keep *_multi5x5SuperClusters_multi5x5EndcapSuperClusters_*')
0037 EXOMonopoleSkimContent.outputCommands.append('keep *_multi5x5SuperClusters_uncleanOnlyMulti5x5EndcapBasicClusters_*')
0038 EXOMonopoleSkimContent.outputCommands.append('keep *_multi5x5SuperClusters_uncleanOnlyMulti5x5EndcapSuperClusters_*')
0039 EXOMonopoleSkimContent.outputCommands.append('keep *_uncleanSCRecovered_uncleanHybridBarrelBasicClusters_*') 
0040 EXOMonopoleSkimContent.outputCommands.append('keep *_uncleanEERecovered_uncleanEndcapBasicClusters_*')
0041 EXOMonopoleSkimContent.outputCommands.append('keep *_siStripClusters_*_*')
0042 EXOMonopoleSkimContent.outputCommands.append('keep *_siPixelClusters_*_*')
0043 EXOMonopoleSkimContent.outputCommands.append('keep *_generalTracks_*_*')
0044 EXOMonopoleSkimContent.outputCommands.append('drop *_generalTracks_QualityMasks_*')
0045 EXOMonopoleSkimContent.outputCommands.append('keep *_ecalRecHit_EcalRecHitsEB_*')
0046 EXOMonopoleSkimContent.outputCommands.append('keep *_ecalRecHit_EcalRecHitsEE_*')
0047 EXOMonopoleSkimContent.outputCommands.append('keep *_hbhereco_*_*')
0048 EXOMonopoleSkimContent.outputCommands.append('keep edmTriggerResults_TriggerResults_*_*')
0049 EXOMonopoleSkimContent.outputCommands.append('keep *_hltTriggerSummaryAOD_*_*')
0050 EXOMonopoleSkimContent.outputCommands.append('keep *_offlinePrimaryVertices_*_*')
0051 EXOMonopoleSkimContent.outputCommands.append('keep *_gedGsfElectrons_*_*')
0052 EXOMonopoleSkimContent.outputCommands.append('keep *_photons_*_*')
0053 EXOMonopoleSkimContent.outputCommands.append('keep *_pfMet_*_*')
0054 EXOMonopoleSkimContent.outputCommands.append('keep *_offlineBeamSpot_*_*')
0055 EXOMonopoleSkimContent.outputCommands.append('keep *_siPixelDigis_*_*')
0056 
0057 # monopole skim sequence
0058 EXOMonopoleSkimSequence = cms.Sequence(hltMonopole)