CMS 3D CMS Logo

ecalDigitizer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
10 
11 ecalDigitizer = cms.PSet(
12  ecal_digi_parameters,
13  apd_sim_parameters,
14  ecal_electronics_sim,
15  ecal_cosmics_sim,
16  ecal_sim_parameter_map,
17  ecal_notCont_sim,
18  es_electronics_sim,
19  hitsProducer = cms.string('g4SimHits'),
20  accumulatorType = cms.string("EcalDigiProducer"),
21  makeDigiSimLinks = cms.untracked.bool(False)
22 )
23 
24 from Configuration.Eras.Modifier_fastSim_cff import fastSim
25 fastSim.toModify(ecalDigitizer, hitsProducer = "fastSimProducer")
26 
27 ecalDigitizer.doEB = cms.bool(True)
28 ecalDigitizer.doEE = cms.bool(True)
29 ecalDigitizer.doES = cms.bool(True)
30 
31 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
32 phase2_common.toModify( ecalDigitizer, doES = cms.bool(False) )
33 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
34 phase2_hgcal.toModify( ecalDigitizer, doEE = cms.bool(False) )