File indexing completed on 2024-05-20 22:40:09
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004
0005 SimCalorimetryFEVTDEBUG = cms.PSet(
0006 outputCommands = cms.untracked.vstring('keep *_simEcalDigis_*_*',
0007 'keep *_simEcalPreshowerDigis_*_*',
0008 'keep *_simEcalTriggerPrimitiveDigis_*_*',
0009 'keep *_simEcalEBTriggerPrimitiveDigis_*_*',
0010 'keep *_simEcalEBTriggerPrimitivePhase2Digis_*_*',
0011 'keep *_simHcalDigis_*_*',
0012 'keep ZDCDataFramesSorted_simHcalUnsuppressedDigis_*_*',
0013 'drop ZDCDataFramesSorted_mix_simHcalUnsuppressedDigis*_*',
0014 'keep *_simHcalTriggerPrimitiveDigis_*_*',
0015 'keep *_mix_HcalSamples_*',
0016 'keep *_mixData_HcalSamples_*',
0017 'keep *_mix_HcalHits_*',
0018 'keep *_mixData_HcalHits_*',
0019 'keep *_DMHcalTriggerPrimitiveDigis_*_*',
0020 )
0021 )
0022 SimCalorimetryRAW = cms.PSet(
0023 outputCommands = cms.untracked.vstring('keep EBSrFlagsSorted_simEcalDigis_*_*',
0024 'keep EESrFlagsSorted_simEcalDigis_*_*')
0025 )
0026 SimCalorimetryRECO = cms.PSet(
0027 outputCommands = cms.untracked.vstring()
0028 )
0029 SimCalorimetryAOD = cms.PSet(
0030 outputCommands = cms.untracked.vstring()
0031 )
0032 SimCalorimetryPREMIX = cms.PSet(
0033 outputCommands = cms.untracked.vstring(
0034 'keep EBDigiCollection_simEcalDigis_*_*',
0035 'keep EEDigiCollection_simEcalDigis_*_*',
0036 'keep ESDigiCollection_simEcalUnsuppressedDigis_*_*',
0037 'keep *_simHcalDigis_*_*',
0038 )
0039 )
0040
0041
0042
0043
0044 from Configuration.Eras.Modifier_run2_common_cff import run2_common
0045 run2_common.toModify( SimCalorimetryFEVTDEBUG.outputCommands, func=lambda outputCommands: outputCommands.append('keep *_simHcalUnsuppressedDigis_*_*') )
0046 run2_common.toModify( SimCalorimetryRAW.outputCommands, func=lambda outputCommands: outputCommands.append('keep *_simHcalUnsuppressedDigis_*_*') )
0047
0048 from Configuration.Eras.Modifier_run3_ecal_devel_cff import run3_ecal_devel
0049 run3_ecal_devel.toModify(SimCalorimetryFEVTDEBUG.outputCommands, func=lambda outputCommands: outputCommands.append('keep *_mix_EBTimeDigi_*') )
0050 run3_ecal_devel.toModify(SimCalorimetryRAW.outputCommands, func=lambda outputCommands: outputCommands.append('keep *_mix_EBTimeDigi_*') )
0051 run3_ecal_devel.toModify(SimCalorimetryFEVTDEBUG.outputCommands, func=lambda outputCommands: outputCommands.append('keep EBDigiCollection_simEcalUnsuppressedDigis_*_*') )
0052 run3_ecal_devel.toModify(SimCalorimetryRAW.outputCommands, func=lambda outputCommands: outputCommands.append('keep EBDigiCollection_simEcalUnsuppressedDigis_*_*') )
0053
0054 from Configuration.Eras.Modifier_phase2_ecal_devel_cff import phase2_ecal_devel
0055 phase2_ecal_devel.toModify(SimCalorimetryFEVTDEBUG.outputCommands, func=lambda outputCommands: outputCommands.append('keep *_ecal*_*_*') )
0056
0057 from Configuration.Eras.Modifier_phase2_hcal_cff import phase2_hcal
0058 phase2_hcal.toModify(SimCalorimetryFEVTDEBUG.outputCommands, func=lambda outputCommands: outputCommands.append('keep *_DMHcalDigis_*_*') )
0059
0060 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
0061 phase2_timing.toModify(SimCalorimetryFEVTDEBUG.outputCommands, func=lambda outputCommands: outputCommands.append('keep *_mix_EETimeDigi_*') )
0062 phase2_timing.toModify(SimCalorimetryFEVTDEBUG.outputCommands, func=lambda outputCommands: outputCommands.append('keep *_mix_EBTimeDigi_*') )
0063
0064 phase2_timing.toModify(SimCalorimetryRAW.outputCommands, func=lambda outputCommands: outputCommands.append('keep *_mix_EETimeDigi_*') )
0065 phase2_timing.toModify(SimCalorimetryRAW.outputCommands, func=lambda outputCommands: outputCommands.append('keep *_mix_EBTimeDigi_*') )
0066
0067 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
0068 phase2_common.toModify( SimCalorimetryFEVTDEBUG.outputCommands, func=lambda outputCommands: outputCommands.append('keep *_simEcalUnsuppressedDigis_*_*') )
0069 phase2_common.toModify( SimCalorimetryRAW.outputCommands, func=lambda outputCommands: outputCommands.append('keep *_simEcalUnsuppressedDigis_*_*') )
0070 phase2_common.toModify( SimCalorimetryPREMIX.outputCommands, func=lambda outputCommands: outputCommands.append('drop ESDigiCollection_simEcalUnsuppressedDigis_*_*') )
0071
0072 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
0073 phase2_hgcal.toModify( SimCalorimetryPREMIX.outputCommands, func=lambda outputCommands: outputCommands.append('drop EEDigiCollection_simEcalDigis_*_*') )
0074
0075
0076
0077 _phase2_hgc_extraCommands = cms.PSet(
0078 v = cms.vstring('keep *_simHGCalUnsuppressedDigis_EE_*', 'keep *_simHGCalUnsuppressedDigis_HEfront_*', 'keep *_simHGCalUnsuppressedDigis_HEback_*', 'keep *_mix_MergedCaloTruth_*', 'keep *_mix_MergedMtdTruth_*', 'keep *_mix_MergedMtdTruthLC_*', 'keep *_mix_MergedMtdTruthST_*'),
0079 )
0080
0081 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
0082 premix_stage2.toModify(_phase2_hgc_extraCommands,
0083 v = ['keep *_mixData_HGCDigisEE_*', 'keep *_mixData_HGCDigisHEfront_*', 'keep *_mixData_HGCDigisHEback_*', 'keep *_mixData_MergedCaloTruth_*', 'keep *_mix_MergedMtdTruth_*', 'keep *_mixData_MergedMtdTruthLC_*', 'keep *_mix_MergedMtdTruthST_*'])
0084 phase2_hgcal.toModify( SimCalorimetryRAW, outputCommands = SimCalorimetryRAW.outputCommands + _phase2_hgc_extraCommands.v )
0085 phase2_hgcal.toModify( SimCalorimetryFEVTDEBUG, outputCommands = SimCalorimetryFEVTDEBUG.outputCommands + _phase2_hgc_extraCommands.v )
0086 phase2_hgcal.toModify( SimCalorimetryRECO, outputCommands = SimCalorimetryRECO.outputCommands + _phase2_hgc_extraCommands.v )
0087 phase2_hgcal.toModify( SimCalorimetryPREMIX, outputCommands = SimCalorimetryPREMIX.outputCommands + _phase2_hgc_extraCommands.v )
0088
0089 from Configuration.Eras.Modifier_phase2_hfnose_cff import phase2_hfnose
0090 phase2_hfnose.toModify( SimCalorimetryFEVTDEBUG.outputCommands, func=lambda outputCommands: outputCommands.append('keep *_simHFNoseUnsuppressedDigis_*_*') )
0091 phase2_hfnose.toModify( SimCalorimetryRAW.outputCommands, func=lambda outputCommands: outputCommands.append('keep *_simHFNoseUnsuppressedDigis_*_*') )