1 import FWCore.ParameterSet.Config
as cms
12 ecalDigiTask = cms.Task(simEcalTriggerPrimitiveDigis, simEcalDigis, simEcalPreshowerDigis)
13 ecalDigiSequence = cms.Sequence(ecalDigiTask)
17 from Configuration.ProcessModifiers.premix_stage1_cff
import premix_stage1
18 premix_stage1.toReplaceWith(ecalDigiTask, ecalDigiTask.copyAndExclude([simEcalPreshowerDigis]))
21 _phase2_ecalDigiTask = ecalDigiTask.copy()
22 _phase2_ecalDigiTask.add(simEcalEBTriggerPrimitiveDigis)
24 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
25 phase2_common.toReplaceWith(ecalDigiTask,_phase2_ecalDigiTask)