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 if fastSim.isChosen():
26  ecalDigitizer.hitsProducer = cms.string("famosSimHits")
27 
28 ecalDigitizer.doEB = cms.bool(True)
29 ecalDigitizer.doEE = cms.bool(True)
30 ecalDigitizer.doES = cms.bool(True)
31 
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) )