CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
outputCommands_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # When re-running HLT, this function will provide a set of output commands to
4 # provide the minimal content necessary for input to HLTMuonValidator.
5 def outputCommands(hlt_name):
6  return cms.untracked.vstring(
7  'drop *_*_*_*',
8  'keep *_genParticles_*_*',
9  'keep recoMuons_muons_*_RECO',
10  'keep *_hltL1extraParticles_*_%s' % hlt_name,
11  'keep *_hltL2Muons_*_%s' % hlt_name,
12  'keep *_hltL3Muons_*_%s' % hlt_name,
13  'keep *_hltL2MuonCandidates_*_%s' % hlt_name,
14  'keep *_hltL3MuonCandidates_*_%s' % hlt_name,
15  'keep *_hltTriggerSummaryRAW_*_%s' % hlt_name,
16  'keep *_TriggerResults_*_%s' % hlt_name,
17  'keep *_hltL2MuonSeeds_*_%s' % hlt_name,
18  'keep *_hltL3TrajectorySeed_*_%s' % hlt_name,
19  )