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)
26 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
27 phase2_common.toReplaceWith(ecalDigiTask,_phase2_ecalDigiTask)
29 from Configuration.Eras.Modifier_phase2_ecal_devel_cff
import phase2_ecal_devel
30 _phase2_ecalDigiTask_devel = cms.Task()
31 phase2_ecal_devel.toReplaceWith(ecalDigiTask,_phase2_ecalDigiTask_devel)
34 from Configuration.Eras.Modifier_phase2_ecalTP_devel_cff
import phase2_ecalTP_devel
36 _phase2_ecalDigiTask_devel2 = cms.Task(simEcalEBTriggerPrimitivePhase2Digis)
37 phase2_ecalTP_devel.toReplaceWith(ecalDigiTask,_phase2_ecalDigiTask_devel2)
41 process.load(
"SimCalorimetry.EcalSimProducers.esEcalLiteDTUPedestalsProducer_cfi")
42 process.load(
"SimCalorimetry.EcalSimProducers.esCATIAGainProducer_cfi")
43 modifyDigi_Phase2EcalPed = phase2_ecal_devel.makeProcessModifier(_modifyEcalForPh2)
47 process.load(
"SimCalorimetry.EcalEBTrigPrimProducers.ecalEBTriggerPrimitivePhase2ESProducer_cfi")
48 modifyDigi_Phase2EcalTP = phase2_ecalTP_devel.makeProcessModifier(_modifyEcalTPForPh2)
def _modifyEcalTPForPh2(process)
def _modifyEcalForPh2(process)