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_*_*',
12 'keep *_dt1DRecHits_*_*',
13 'keep *_csc2DRecHits_*_*')
15 from Configuration.Eras.Modifier_run2_GEM_2017_cff
import run2_GEM_2017
16 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
17 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
18 from Configuration.Eras.Modifier_bParking_cff
import bParking
19 for e
in [run2_GEM_2017, run3_GEM]:
20 e.toModify( RecoLocalMuonAOD,
21 outputCommands = RecoLocalMuonAOD.outputCommands + [
22 'keep *_gemRecHits_*_*',
23 'keep *_gemSegments_*_*'])
25 phase2_muon.toModify( RecoLocalMuonAOD,
26 outputCommands = RecoLocalMuonAOD.outputCommands + [
27 'keep *_me0RecHits_*_*',
28 'keep *_me0Segments_*_*'])
29 bParking.toModify( RecoLocalMuonAOD,
30 outputCommands = RecoLocalMuonAOD.outputCommands + [
31 'keep *_dt1DRecHits_*_*',
32 'keep *_csc2DRecHits_*_*'])
36 RecoLocalMuonRECO = cms.PSet(
37 outputCommands = cms.untracked.vstring(
'keep *_dt1DRecHits_*_*',
38 'keep *_dt1DCosmicRecHits_*_*',
39 'keep *_csc2DRecHits_*_*')
41 RecoLocalMuonRECO.outputCommands.extend(RecoLocalMuonAOD.outputCommands)
44 RecoLocalMuonFEVT = cms.PSet(
45 outputCommands = cms.untracked.vstring()
47 RecoLocalMuonFEVT.outputCommands.extend(RecoLocalMuonRECO.outputCommands)