19 import FWCore.ParameterSet.Config
as cms
22 RecoLocalMuonFEVT = cms.PSet(
23 outputCommands = cms.untracked.vstring(
24 'keep *_muonDTDigis_*_*',
25 'keep *_dttfDigis_*_*',
26 'keep *_dt1DRecHits_*_*',
27 'keep *_dt4DSegments_*_*',
28 'keep *_dt4DSegmentsT0Seg_*_*',
29 'keep *_csc2DRecHits_*_*',
30 'keep *_cscSegments_*_*',
31 'keep RPCDetIdRPCDigiMuonDigiCollection_*_*_*',
32 'keep *_rpcRecHits_*_*')
35 RecoLocalMuonRECO = cms.PSet(
36 outputCommands = cms.untracked.vstring(
37 'keep *_muonDTDigis_*_*',
38 'keep *_dttfDigis_*_*',
39 'keep *_dt1DRecHits_*_*',
40 'keep *_dt4DSegments_*_*',
41 'keep *_dt4DSegmentsT0Seg_*_*',
42 'keep *_csc2DRecHits_*_*',
43 'keep *_cscSegments_*_*',
45 'keep RPCDetIdRPCDigiMuonDigiCollection_muonRPCDigis_*_*',
46 'keep *_rpcRecHits_*_*')
49 RecoLocalMuonAOD = cms.PSet(
50 outputCommands = cms.untracked.vstring()
55 era.toModify( o, outputCommands = o.outputCommands + commands )
57 from Configuration.Eras.Modifier_run2_GEM_2017_cff
import run2_GEM_2017
58 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
59 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
60 _outputs = [RecoLocalMuonFEVT, RecoLocalMuonRECO, RecoLocalMuonAOD]
61 _updateOutput( run2_GEM_2017, _outputs, [
'keep *_gemRecHits_*_*',
'keep *_gemSegments_*_*'] )
62 _updateOutput( run3_GEM, _outputs, [
'keep *_gemRecHits_*_*',
'keep *_gemSegments_*_*'] )
63 _updateOutput(phase2_muon, _outputs, [
'keep *_me0RecHits_*_*',
'keep *_me0Segments_*_*'])
def _updateOutput(era, outputPSets, commands)