CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SimMuon_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 #save digis
4 
5 #save digis sim link and trigger infos
6 
7 import FWCore.ParameterSet.Config as cms
8 
9 # Used to make conditional changes for different running scenarios
10 from Configuration.StandardSequences.Eras import eras
11 
12 #Full Event content with DIGI
13 SimMuonFEVTDEBUG = cms.PSet(
14  outputCommands = cms.untracked.vstring('keep *_simMuonCSCDigis_*_*',
15  'keep *_simMuonDTDigis_*_*',
16  'keep *_simMuonRPCDigis_*_*')
17 )
18 #RAW content
19 SimMuonRAW = cms.PSet(
20  outputCommands = cms.untracked.vstring('keep StripDigiSimLinkedmDetSetVector_simMuonCSCDigis_*_*',
21  'keep CSCDetIdCSCComparatorDigiMuonDigiCollection_simMuonCSCDigis_*_*',
22  'keep DTLayerIdDTDigiSimLinkMuonDigiCollection_simMuonDTDigis_*_*',
23  'keep RPCDigiSimLinkedmDetSetVector_simMuonRPCDigis_*_*')
24 )
25 # Add extra collections if running in Run 2. Not sure why but these
26 # collections were added to pretty much all event content in the old
27 # customisation function.
28 eras.run2_common.toModify( SimMuonRAW.outputCommands, func=lambda outputCommands: outputCommands.append('keep *_simMuonCSCDigis_*_*') )
29 eras.run2_common.toModify( SimMuonRAW.outputCommands, func=lambda outputCommands: outputCommands.append('keep *_simMuonRPCDigis_*_*') )
30 
31 #RECO content
32 SimMuonRECO = cms.PSet(
33  outputCommands = cms.untracked.vstring('keep StripDigiSimLinkedmDetSetVector_simMuonCSCDigis_*_*',
34  'keep DTLayerIdDTDigiSimLinkMuonDigiCollection_simMuonDTDigis_*_*',
35  'keep RPCDigiSimLinkedmDetSetVector_simMuonRPCDigis_*_*')
36 )
37 #AOD content
38 SimMuonAOD = cms.PSet(
39  outputCommands = cms.untracked.vstring()
40 )
41 
42