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 # Event content for premixing library
32 SimGeneralPREMIX = cms.PSet(
33  outputCommands = cms.untracked.vstring()
34 )
35 
36 _pp_on_AA_extraCommands = ['keep CrossingFramePlaybackInfoNew_mix_*_*','keep *_heavyIon_*_*']
37 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
38 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
39 for e in [pp_on_XeXe_2017, pp_on_AA]:
40  e.toModify( SimGeneralRAW, outputCommands = SimGeneralRAW.outputCommands + _pp_on_AA_extraCommands )
41  e.toModify( SimGeneralFEVTDEBUG, outputCommands = SimGeneralFEVTDEBUG.outputCommands + _pp_on_AA_extraCommands )
42  e.toModify( SimGeneralRECO, outputCommands = SimGeneralRECO.outputCommands + _pp_on_AA_extraCommands )
43  e.toModify( SimGeneralAOD, outputCommands = SimGeneralAOD.outputCommands + _pp_on_AA_extraCommands )