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)
18 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
19 premix_stage2.toModify(pixelDigitizer,
20 AddPixelInefficiency =
False 23 from SimTracker.SiPhase2Digitizer.phase2TrackerDigitizer_cfi
import phase2TrackerDigitizer
as _phase2TrackerDigitizer, _premixStage1ModifyDict
24 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
25 phase2_tracker.toReplaceWith(pixelDigitizer, _phase2TrackerDigitizer.clone())
30 (premix_stage2 & phase2_tracker).toModify(pixelDigitizer, **_premixStage1ModifyDict)
34 from Configuration.ProcessModifiers.runDependentForPixel_cff
import runDependentForPixel
35 (runDependentForPixel & premix_stage1).toModify(pixelDigitizer,
36 UseReweighting =
False,
37 applyLateReweighting =
False,
38 store_SimHitEntryExitPoints =
True,