CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 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_*_*'])
22 
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_*_*'])
31 
32 
33 # RECO content
34 RecoLocalMuonRECO = cms.PSet(
35  outputCommands = cms.untracked.vstring('keep *_dt1DRecHits_*_*',
36  'keep *_dt1DCosmicRecHits_*_*',
37  'keep *_csc2DRecHits_*_*')
38 )
39 RecoLocalMuonRECO.outputCommands.extend(RecoLocalMuonAOD.outputCommands)
40 
41 # Full Event content
42 RecoLocalMuonFEVT = cms.PSet(
43  outputCommands = cms.untracked.vstring()
44 )
45 RecoLocalMuonFEVT.outputCommands.extend(RecoLocalMuonRECO.outputCommands)