CMS 3D CMS Logo

SimGeneral_EventContent_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #Full Event content
4 SimGeneralFEVTDEBUG = cms.PSet(
5  outputCommands = cms.untracked.vstring('drop *_trackingtruthprod_*_*',
6  'drop *_electrontruth_*_*',
7  'keep *_mix_MergedTrackTruth_*',
8  'keep CrossingFramePlaybackInfoNew_*_*_*')
9 )
10 #RAW content
11 SimGeneralRAW = cms.PSet(
12  outputCommands = cms.untracked.vstring('keep CrossingFramePlaybackInfoNew_*_*_*',
13  'keep PileupSummaryInfos_*_*_*',
14  'keep int6stdbitsetstdpairs_*_AffectedAPVList_*',
15  'keep int_*_bunchSpacing_*')
16 )
17 #RECO content
18 SimGeneralRECO = cms.PSet(
19  outputCommands = cms.untracked.vstring('keep PileupSummaryInfos_*_*_*',
20  'keep int_*_bunchSpacing_*')
21 )
22 #AOD content
23 SimGeneralAOD = cms.PSet(
24  outputCommands = cms.untracked.vstring('keep PileupSummaryInfos_*_*_*',
25  'keep int_*_bunchSpacing_*')
26 )
27 
28 # mods for HGCAL
29 _phase2_hgc_extraCommands = [ 'keep *_mix_HGCDigisEE_*', 'keep *_mix_HGCDigisHEfront_*', 'keep *_mix_HGCDigisHEback_*',
30  'keep *_mix_MergedCaloTruth_*' ]
31 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
32 phase2_hgcal.toModify( SimGeneralRAW, outputCommands = SimGeneralRAW.outputCommands + _phase2_hgc_extraCommands )
33 phase2_hgcal.toModify( SimGeneralFEVTDEBUG, outputCommands = SimGeneralFEVTDEBUG.outputCommands + _phase2_hgc_extraCommands )
34 phase2_hgcal.toModify( SimGeneralRECO, outputCommands = SimGeneralRECO.outputCommands + _phase2_hgc_extraCommands )
35 
36 _phase2_timing_extraCommands = [ 'keep *_mix_FTLBarrel_*','keep *_mix_FTLEndcap_*','keep *_mix_InitialVertices_*' ]
37 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
38 phase2_timing.toModify( SimGeneralRAW, outputCommands = SimGeneralRAW.outputCommands + _phase2_timing_extraCommands )
39 phase2_timing.toModify( SimGeneralFEVTDEBUG, outputCommands = SimGeneralFEVTDEBUG.outputCommands + _phase2_timing_extraCommands )
40 phase2_timing.toModify( SimGeneralRECO, outputCommands = SimGeneralRECO.outputCommands + _phase2_timing_extraCommands )
41