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_*_*')
32 SimGeneralPREMIX = cms.PSet(
33 outputCommands = cms.untracked.vstring()
37 _phase2_hgc_extraCommands = cms.PSet(
38 v = cms.vstring(
'keep *_simHGCalUnsuppressedDigis_EE_*',
'keep *_simHGCalUnsuppressedDigis_HEfront_*',
'keep *_simHGCalUnsuppressedDigis_HEback_*',
'keep *_mix_MergedCaloTruth_*'),
41 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
42 premix_stage2.toModify(_phase2_hgc_extraCommands,
43 v = [
'keep *_mixData_HGCDigisEE_*',
'keep *_mixData_HGCDigisHEfront_*',
'keep *_mixData_HGCDigisHEback_*',
'keep *_mixData_MergedCaloTruth_*']
45 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
46 phase2_hgcal.toModify( SimGeneralRAW, outputCommands = SimGeneralRAW.outputCommands + _phase2_hgc_extraCommands.v )
47 phase2_hgcal.toModify( SimGeneralFEVTDEBUG, outputCommands = SimGeneralFEVTDEBUG.outputCommands + _phase2_hgc_extraCommands.v )
48 phase2_hgcal.toModify( SimGeneralRECO, outputCommands = SimGeneralRECO.outputCommands + _phase2_hgc_extraCommands.v )
49 phase2_hgcal.toModify( SimGeneralPREMIX, outputCommands = SimGeneralPREMIX.outputCommands + _phase2_hgc_extraCommands.v )
51 _phase2_timing_extraCommands = [
'keep *_mix_FTLBarrel_*',
'keep *_mix_FTLEndcap_*',
'keep *_mix_InitialVertices_*' ]
52 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
53 phase2_timing.toModify( SimGeneralRAW, outputCommands = SimGeneralRAW.outputCommands + _phase2_timing_extraCommands )
54 phase2_timing.toModify( SimGeneralFEVTDEBUG, outputCommands = SimGeneralFEVTDEBUG.outputCommands + _phase2_timing_extraCommands )
55 phase2_timing.toModify( SimGeneralRECO, outputCommands = SimGeneralRECO.outputCommands + _phase2_timing_extraCommands )
57 _pp_on_AA_extraCommands = [
'keep CrossingFramePlaybackInfoNew_mix_*_*',
'keep *_heavyIon_*_*']
58 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
59 from Configuration.Eras.Modifier_pp_on_AA_2018_cff
import pp_on_AA_2018
60 for e
in [pp_on_XeXe_2017, pp_on_AA_2018]:
61 e.toModify( SimGeneralRAW, outputCommands = SimGeneralRAW.outputCommands + _pp_on_AA_extraCommands )
62 e.toModify( SimGeneralFEVTDEBUG, outputCommands = SimGeneralFEVTDEBUG.outputCommands + _pp_on_AA_extraCommands )
63 e.toModify( SimGeneralRECO, outputCommands = SimGeneralRECO.outputCommands + _pp_on_AA_extraCommands )
64 e.toModify( SimGeneralAOD, outputCommands = SimGeneralAOD.outputCommands + _pp_on_AA_extraCommands )