CMS 3D CMS Logo

RecoLocalMuon_EventContent_cff.py
Go to the documentation of this file.
1 # The following comments couldn't be translated into the new config version:
2 
3 import FWCore.ParameterSet.Config as cms
4 
5 # Full Event content
6 RecoLocalMuonFEVT = cms.PSet(
7  outputCommands = cms.untracked.vstring('keep *_dt1DRecHits_*_*',
8  'keep *_dt4DSegments_*_*',
9  'keep *_csc2DRecHits_*_*',
10  'keep *_cscSegments_*_*',
11  'keep *_rpcRecHits_*_*')
12 )
13 # RECO content
14 RecoLocalMuonRECO = cms.PSet(
15  outputCommands = cms.untracked.vstring('keep *_dt1DRecHits_*_*',
16  'keep *_dt4DSegments_*_*',
17  'keep *_dt1DCosmicRecHits_*_*',
18  'keep *_dt4DCosmicSegments_*_*',
19  'keep *_csc2DRecHits_*_*',
20  'keep *_cscSegments_*_*',
21  'keep *_rpcRecHits_*_*')
22 )
23 # AOD content
24 RecoLocalMuonAOD = cms.PSet(
25  outputCommands = cms.untracked.vstring(
26  'keep *_dt4DSegments_*_*',
27  'keep *_dt4DCosmicSegments_*_*',
28  'keep *_cscSegments_*_*',
29  'keep *_rpcRecHits_*_*')
30 )
31 def _updateOutput( era, outputPSets, commands):
32  for o in outputPSets:
33  era.toModify( o, outputCommands = o.outputCommands + commands )
34 
35 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
36 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
37 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
38 _outputs = [RecoLocalMuonFEVT, RecoLocalMuonRECO, RecoLocalMuonAOD]
39 _updateOutput( run2_GEM_2017, _outputs, ['keep *_gemRecHits_*_*', 'keep *_gemSegments_*_*'] )
40 _updateOutput( run3_GEM, _outputs, ['keep *_gemRecHits_*_*', 'keep *_gemSegments_*_*'] )
41 _updateOutput(phase2_muon, _outputs, ['keep *_me0RecHits_*_*', 'keep *_me0Segments_*_*'])
def _updateOutput(era, outputPSets, commands)