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)
27 from Configuration.Eras.Modifier_phase2_ecal_devel_cff
import phase2_ecal_devel
28 _phase2_ecalDigiTask_devel = cms.Task()
29 phase2_ecal_devel.toReplaceWith(ecalDigiTask,_phase2_ecalDigiTask_devel)
33 process.load(
"SimCalorimetry.EcalSimProducers.esEcalLiteDTUPedestalsProducer_cfi")
34 process.load(
"SimCalorimetry.EcalSimProducers.esCATIAGainProducer_cfi")
36 modifyDigi_Phase2EcalPed = phase2_ecal_devel.makeProcessModifier(_modifyEcalForPh2)