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 from Configuration.Eras.Modifier_bParking_cff
import bParking
17 for e
in [run2_GEM_2017, run3_GEM]:
18 e.toModify( RecoLocalMuonAOD,
19 outputCommands = RecoLocalMuonAOD.outputCommands + [
20 'keep *_gemRecHits_*_*',
21 'keep *_gemSegments_*_*'])
23 phase2_muon.toModify( RecoLocalMuonAOD,
24 outputCommands = RecoLocalMuonAOD.outputCommands + [
25 'keep *_me0RecHits_*_*',
26 'keep *_me0Segments_*_*'])
27 bParking.toModify( RecoLocalMuonAOD,
28 outputCommands = RecoLocalMuonAOD.outputCommands + [
29 'keep *_dt1DRecHits_*_*',
30 'keep *_csc2DRecHits_*_*'])
34 RecoLocalMuonRECO = cms.PSet(
35 outputCommands = cms.untracked.vstring(
'keep *_dt1DRecHits_*_*',
36 'keep *_dt1DCosmicRecHits_*_*',
37 'keep *_csc2DRecHits_*_*')
39 RecoLocalMuonRECO.outputCommands.extend(RecoLocalMuonAOD.outputCommands)
42 RecoLocalMuonFEVT = cms.PSet(
43 outputCommands = cms.untracked.vstring()
45 RecoLocalMuonFEVT.outputCommands.extend(RecoLocalMuonRECO.outputCommands)