File indexing completed on 2024-04-06 12:25:57
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004 RecoLocalMuonAOD = cms.PSet(
0005 outputCommands = cms.untracked.vstring()
0006 )
0007 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
0008 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
0009 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
0010
0011 run2_GEM_2017.toModify( RecoLocalMuonAOD,
0012 outputCommands = RecoLocalMuonAOD.outputCommands + [
0013 'keep *_gemRecHits_*_*',
0014 'keep *_gemSegments_*_*'])
0015 run3_GEM.toModify( RecoLocalMuonAOD,
0016 outputCommands = RecoLocalMuonAOD.outputCommands + [
0017 'keep *_gemRecHits_*_*',
0018 'keep *_gemSegments_*_*'])
0019 phase2_muon.toModify( RecoLocalMuonAOD,
0020 outputCommands = RecoLocalMuonAOD.outputCommands + [
0021 'keep *_me0RecHits_*_*',
0022 'keep *_me0Segments_*_*'])
0023
0024
0025 RecoLocalMuonRECO = cms.PSet(
0026 outputCommands = cms.untracked.vstring(
0027 'keep *_muonDTDigis_*_*',
0028 'keep *_dttfDigis_*_*',
0029 'keep *_dt1DRecHits_*_*',
0030 'keep *_dt4DSegments_*_*',
0031 'keep *_dt4DSegmentsT0Seg_*_*',
0032 'keep *_csc2DRecHits_*_*',
0033 'keep *_cscSegments_*_*',
0034 'keep RPCDetIdRPCDigiMuonDigiCollection_muonRPCDigis_*_*',
0035 'keep *_rpcRecHits_*_*')
0036 )
0037 RecoLocalMuonRECO.outputCommands.extend(RecoLocalMuonAOD.outputCommands)
0038
0039
0040 RecoLocalMuonFEVT = cms.PSet(
0041 outputCommands = cms.untracked.vstring(
0042 'keep RPCDetIdRPCDigiMuonDigiCollection_*_*_*')
0043 )
0044 RecoLocalMuonFEVT.outputCommands.extend(RecoLocalMuonRECO.outputCommands)