1 import FWCore.ParameterSet.Config
as cms
13 ecalDigitizer = cms.PSet(
16 component_digi_parameters,
19 ecal_sim_parameter_map,
22 hitsProducer = cms.string(
'g4SimHits'),
23 accumulatorType = cms.string(
"EcalDigiProducer"),
24 makeDigiSimLinks = cms.untracked.bool(
False)
27 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
28 fastSim.toModify(ecalDigitizer, hitsProducer =
"fastSimProducer")
30 ecalDigitizer.doEB = cms.bool(
True)
31 ecalDigitizer.doEE = cms.bool(
True)
32 ecalDigitizer.doES = cms.bool(
True)
36 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
37 phase2_hgcal.toModify( ecalDigitizer, doEE = cms.bool(
False) )
39 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
40 phase2_common.toModify( ecalDigitizer, doES = cms.bool(
False) )
43 from Configuration.Eras.Modifier_phase2_ecal_devel_cff
import phase2_ecal_devel
44 from SimGeneral.MixingModule.ecalDigitizer_Ph2_cfi
import ecalDigitizer_Ph2
as _ecalDigitizer_Ph2
45 phase2_ecal_devel.toReplaceWith(ecalDigitizer,_ecalDigitizer_Ph2)