1 import FWCore.ParameterSet.Config
as cms
11 ecalDigitizer = cms.PSet(
16 ecal_sim_parameter_map,
19 hitsProducer = cms.string(
'g4SimHits'),
20 accumulatorType = cms.string(
"EcalDigiProducer"),
21 makeDigiSimLinks = cms.untracked.bool(
False)
24 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
25 if fastSim.isChosen():
26 ecalDigitizer.hitsProducer = cms.string(
"famosSimHits")
28 ecalDigitizer.doEB = cms.bool(
True)
29 ecalDigitizer.doEE = cms.bool(
True)
30 ecalDigitizer.doES = cms.bool(
True)
32 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
33 phase2_common.toModify( ecalDigitizer, doES = cms.bool(
False) )
34 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
35 phase2_hgcal.toModify( ecalDigitizer, doEE = cms.bool(
False) )