CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RecoLocalMuonCosmics_EventContent_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # AOD content
4 RecoLocalMuonAOD = cms.PSet(
5  outputCommands = cms.untracked.vstring()
6 )
7 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
8 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
9 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
10 
11 run2_GEM_2017.toModify( RecoLocalMuonAOD,
12  outputCommands = RecoLocalMuonAOD.outputCommands + [
13  'keep *_gemRecHits_*_*',
14  'keep *_gemSegments_*_*'])
15 run3_GEM.toModify( RecoLocalMuonAOD,
16  outputCommands = RecoLocalMuonAOD.outputCommands + [
17  'keep *_gemRecHits_*_*',
18  'keep *_gemSegments_*_*'])
19 phase2_muon.toModify( RecoLocalMuonAOD,
20  outputCommands = RecoLocalMuonAOD.outputCommands + [
21  'keep *_me0RecHits_*_*',
22  'keep *_me0Segments_*_*'])
23 
24 # RECO content
25 RecoLocalMuonRECO = cms.PSet(
26  outputCommands = cms.untracked.vstring(
27  'keep *_muonDTDigis_*_*',
28  'keep *_dttfDigis_*_*',
29  'keep *_dt1DRecHits_*_*',
30  'keep *_dt4DSegments_*_*',
31  'keep *_dt4DSegmentsT0Seg_*_*',
32  'keep *_csc2DRecHits_*_*',
33  'keep *_cscSegments_*_*',
34  'keep RPCDetIdRPCDigiMuonDigiCollection_muonRPCDigis_*_*',
35  'keep *_rpcRecHits_*_*')
36 )
37 RecoLocalMuonRECO.outputCommands.extend(RecoLocalMuonAOD.outputCommands)
38 
39 # Full Event content
40 RecoLocalMuonFEVT = cms.PSet(
41  outputCommands = cms.untracked.vstring(
42  'keep RPCDetIdRPCDigiMuonDigiCollection_*_*_*')
43 )
44 RecoLocalMuonFEVT.outputCommands.extend(RecoLocalMuonRECO.outputCommands)