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