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  'keep *_genPUProtons_*_*',
17  'keep *_mix_MergedTrackTruth_*')
18 )
19 #RECO content
20 SimGeneralRECO = cms.PSet(
21  outputCommands = cms.untracked.vstring('keep PileupSummaryInfos_*_*_*',
22  'keep int_*_bunchSpacing_*',
23  'keep *_genPUProtons_*_*')
24 )
25 #AOD content
26 SimGeneralAOD = cms.PSet(
27  outputCommands = cms.untracked.vstring('keep PileupSummaryInfos_*_*_*',
28  'keep int_*_bunchSpacing_*',
29  'keep *_genPUProtons_*_*')
30 )
31 
32 # mods for HGCAL
33 _phase2_hgc_extraCommands = [ 'keep *_mix_HGCDigisEE_*', 'keep *_mix_HGCDigisHEfront_*', 'keep *_mix_HGCDigisHEback_*',
34  'keep *_mix_MergedCaloTruth_*' ]
35 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
36 phase2_hgcal.toModify( SimGeneralRAW, outputCommands = SimGeneralRAW.outputCommands + _phase2_hgc_extraCommands )
37 phase2_hgcal.toModify( SimGeneralFEVTDEBUG, outputCommands = SimGeneralFEVTDEBUG.outputCommands + _phase2_hgc_extraCommands )
38 phase2_hgcal.toModify( SimGeneralRECO, outputCommands = SimGeneralRECO.outputCommands + _phase2_hgc_extraCommands )
39 
40 _phase2_timing_extraCommands = [ 'keep *_mix_FTLBarrel_*','keep *_mix_FTLEndcap_*','keep *_mix_InitialVertices_*' ]
41 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
42 phase2_timing.toModify( SimGeneralRAW, outputCommands = SimGeneralRAW.outputCommands + _phase2_timing_extraCommands )
43 phase2_timing.toModify( SimGeneralFEVTDEBUG, outputCommands = SimGeneralFEVTDEBUG.outputCommands + _phase2_timing_extraCommands )
44 phase2_timing.toModify( SimGeneralRECO, outputCommands = SimGeneralRECO.outputCommands + _phase2_timing_extraCommands )
45