CMS 3D CMS Logo

RecoLocalMuonCosmics_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 # DT
4 
5 # no Drift algo
6 
7 # CSC
8 
9 # RPC
10 
11 # DT
12 
13 # no Drift algo
14 
15 # CSC
16 
17 # RPC
18 
19 import FWCore.ParameterSet.Config as cms
20 
21 # Full Event content
22 RecoLocalMuonFEVT = cms.PSet(
23  outputCommands = cms.untracked.vstring(
24  'keep *_muonDTDigis_*_*',
25  'keep *_dttfDigis_*_*',
26  'keep *_dt1DRecHits_*_*',
27  'keep *_dt4DSegments_*_*',
28  'keep *_dt4DSegmentsT0Seg_*_*',
29  'keep *_csc2DRecHits_*_*',
30  'keep *_cscSegments_*_*',
31  'keep RPCDetIdRPCDigiMuonDigiCollection_*_*_*',
32  'keep *_rpcRecHits_*_*')
33 )
34 # RECO content
35 RecoLocalMuonRECO = cms.PSet(
36  outputCommands = cms.untracked.vstring(
37  'keep *_muonDTDigis_*_*',
38  'keep *_dttfDigis_*_*',
39  'keep *_dt1DRecHits_*_*',
40  'keep *_dt4DSegments_*_*',
41  'keep *_dt4DSegmentsT0Seg_*_*',
42  'keep *_csc2DRecHits_*_*',
43  'keep *_cscSegments_*_*',
44  #'keep RPCDetIdRPCDigiMuonDigiCollection_*_*_*',
45  'keep RPCDetIdRPCDigiMuonDigiCollection_muonRPCDigis_*_*',
46  'keep *_rpcRecHits_*_*')
47 )
48 # AOD content
49 RecoLocalMuonAOD = cms.PSet(
50  outputCommands = cms.untracked.vstring()
51 )
52 
53 def _updateOutput( era, outputPSets, commands):
54  for o in outputPSets:
55  era.toModify( o, outputCommands = o.outputCommands + commands )
56 
57 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
58 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
59 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
60 _outputs = [RecoLocalMuonFEVT, RecoLocalMuonRECO, RecoLocalMuonAOD]
61 _updateOutput( run2_GEM_2017, _outputs, ['keep *_gemRecHits_*_*', 'keep *_gemSegments_*_*'] )
62 _updateOutput( run3_GEM, _outputs, ['keep *_gemRecHits_*_*', 'keep *_gemSegments_*_*'] )
63 _updateOutput(phase2_muon, _outputs, ['keep *_me0RecHits_*_*', 'keep *_me0Segments_*_*'])
RecoLocalMuonCosmics_EventContent_cff._updateOutput
def _updateOutput(era, outputPSets, commands)
Definition: RecoLocalMuonCosmics_EventContent_cff.py:53