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)
21 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
22 premix_stage2.toModify(pixelDigitizer,
23 AddPixelInefficiency =
False,
24 KillBadFEDChannels =
False,
28 from SimTracker.SiPhase2Digitizer.phase2TrackerDigitizer_cfi
import phase2TrackerDigitizer
as _phase2TrackerDigitizer, _premixStage1ModifyDict
29 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
30 phase2_tracker.toReplaceWith(pixelDigitizer, _phase2TrackerDigitizer.clone())
35 (premix_stage2 & phase2_tracker).toModify(pixelDigitizer, **_premixStage1ModifyDict)
39 from Configuration.ProcessModifiers.runDependentForPixel_cff
import runDependentForPixel
40 (runDependentForPixel & premix_stage1).toModify(pixelDigitizer,
41 UseReweighting =
False,
42 applyLateReweighting =
False,
43 store_SimHitEntryExitPoints =
True,