3 import FWCore.ParameterSet.Config
as cms
6 RecoLocalMuonAOD = cms.PSet(
7 outputCommands = cms.untracked.vstring(
8 'keep *_dt4DSegments_*_*',
9 'keep *_dt4DCosmicSegments_*_*',
10 'keep *_cscSegments_*_*',
11 'keep *_rpcRecHits_*_*')
13 from Configuration.Eras.Modifier_run2_GEM_2017_cff
import run2_GEM_2017
14 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
15 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
16 for e
in [run2_GEM_2017, run3_GEM]:
17 e.toModify( RecoLocalMuonAOD,
18 outputCommands = RecoLocalMuonAOD.outputCommands + [
19 'keep *_gemRecHits_*_*',
20 'keep *_gemSegments_*_*'])
22 phase2_muon.toModify( RecoLocalMuonAOD,
23 outputCommands = RecoLocalMuonAOD.outputCommands + [
24 'keep *_me0RecHits_*_*',
25 'keep *_me0Segments_*_*'])
28 RecoLocalMuonRECO = cms.PSet(
29 outputCommands = cms.untracked.vstring(
'keep *_dt1DRecHits_*_*',
30 'keep *_dt1DCosmicRecHits_*_*',
31 'keep *_csc2DRecHits_*_*')
33 RecoLocalMuonRECO.outputCommands.extend(RecoLocalMuonAOD.outputCommands)
36 RecoLocalMuonFEVT = cms.PSet(
37 outputCommands = cms.untracked.vstring()
39 RecoLocalMuonFEVT.outputCommands.extend(RecoLocalMuonRECO.outputCommands)