1 import FWCore.ParameterSet.Config
as cms
12 ecalDigitizer = cms.PSet(
17 ecal_sim_parameter_map,
20 hitsProducer = cms.string(
'g4SimHits'),
21 accumulatorType = cms.string(
"EcalDigiProducer"),
22 makeDigiSimLinks = cms.untracked.bool(
False)
25 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
26 fastSim.toModify(ecalDigitizer, hitsProducer =
"fastSimProducer")
28 ecalDigitizer.doEB = cms.bool(
True)
29 ecalDigitizer.doEE = cms.bool(
True)
30 ecalDigitizer.doES = cms.bool(
True)
34 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
35 phase2_hgcal.toModify( ecalDigitizer, doEE = cms.bool(
False) )
37 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
38 phase2_common.toModify( ecalDigitizer, doES = cms.bool(
False) )
41 from Configuration.Eras.Modifier_phase2_ecal_devel_cff
import phase2_ecal_devel
42 from SimGeneral.MixingModule.ecalDigitizer_Ph2_cfi
import ecalDigitizer_Ph2
as _ecalDigitizer_Ph2
43 phase2_ecal_devel.toReplaceWith(ecalDigitizer,_ecalDigitizer_Ph2)