1 import FWCore.ParameterSet.Config
as cms
4 SimGeneralFEVTDEBUG = cms.PSet(
5 outputCommands = cms.untracked.vstring(
'drop *_trackingtruthprod_*_*',
6 'drop *_electrontruth_*_*',
7 'keep *_mix_MergedTrackTruth_*',
8 'keep CrossingFramePlaybackInfoNew_*_*_*')
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_*')
20 SimGeneralRECO = cms.PSet(
21 outputCommands = cms.untracked.vstring(
'keep PileupSummaryInfos_*_*_*',
22 'keep int_*_bunchSpacing_*',
23 'keep *_genPUProtons_*_*')
26 SimGeneralAOD = cms.PSet(
27 outputCommands = cms.untracked.vstring(
'keep PileupSummaryInfos_*_*_*',
28 'keep int_*_bunchSpacing_*',
29 'keep *_genPUProtons_*_*')
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 )
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 )
46 _pp_on_AA_extraCommands = [
'keep CrossingFramePlaybackInfoNew_mix_*_*',
'keep *_heavyIon_*_*']
47 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
48 from Configuration.Eras.Modifier_pp_on_AA_2018_cff
import pp_on_AA_2018
49 for e
in [pp_on_XeXe_2017, pp_on_AA_2018]:
50 e.toModify( SimGeneralRAW, outputCommands = SimGeneralRAW.outputCommands + _pp_on_AA_extraCommands )
51 e.toModify( SimGeneralFEVTDEBUG, outputCommands = SimGeneralFEVTDEBUG.outputCommands + _pp_on_AA_extraCommands )
52 e.toModify( SimGeneralRECO, outputCommands = SimGeneralRECO.outputCommands + _pp_on_AA_extraCommands )
53 e.toModify( SimGeneralAOD, outputCommands = SimGeneralAOD.outputCommands + _pp_on_AA_extraCommands )