1 import FWCore.ParameterSet.Config
as cms
3 from SimGeneral.MixingModule.SiPixelSimParameters_cfi
import SiPixelSimBlock
5 pixelDigitizer = cms.PSet(
7 accumulatorType = cms.string(
"SiPixelDigitizer"),
8 hitsProducer = cms.string(
'g4SimHits'),
9 makeDigiSimLinks = cms.untracked.bool(
True)
11 from Configuration.ProcessModifiers.premix_stage1_cff
import premix_stage1
12 premix_stage1.toModify(pixelDigitizer, makeDigiSimLinks =
False)
19 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
20 premix_stage2.toModify(pixelDigitizer,
21 AddPixelInefficiency =
False 24 from SimTracker.SiPhase2Digitizer.phase2TrackerDigitizer_cfi
import phase2TrackerDigitizer
as _phase2TrackerDigitizer
25 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
26 phase2_tracker.toReplaceWith(pixelDigitizer, _phase2TrackerDigitizer)