CMS 3D CMS Logo

RecoLocalMuon_EventContent_cff.py
Go to the documentation of this file.
1 # The following comments couldn't be translated into the new config version:
2 
3 import FWCore.ParameterSet.Config as cms
4 
5 # AOD content
6 RecoLocalMuonAOD = cms.PSet(
7  outputCommands = cms.untracked.vstring(
8  'keep *_dt4DSegments_*_*',
9  'keep *_dt4DCosmicSegments_*_*',
10  'keep *_cscSegments_*_*',
11  'keep *_rpcRecHits_*_*')
12 )
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_*_*'])
21 
22 phase2_muon.toModify( RecoLocalMuonAOD,
23  outputCommands = RecoLocalMuonAOD.outputCommands + [
24  'keep *_me0RecHits_*_*',
25  'keep *_me0Segments_*_*'])
26 
27 # RECO content
28 RecoLocalMuonRECO = cms.PSet(
29  outputCommands = cms.untracked.vstring('keep *_dt1DRecHits_*_*',
30  'keep *_dt1DCosmicRecHits_*_*',
31  'keep *_csc2DRecHits_*_*')
32 )
33 RecoLocalMuonRECO.outputCommands.extend(RecoLocalMuonAOD.outputCommands)
34 
35 # Full Event content
36 RecoLocalMuonFEVT = cms.PSet(
37  outputCommands = cms.untracked.vstring()
38 )
39 RecoLocalMuonFEVT.outputCommands.extend(RecoLocalMuonRECO.outputCommands)