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 26 from SimTracker.SiPhase2Digitizer.phase2TrackerDigitizer_cfi
import phase2TrackerDigitizer
as _phase2TrackerDigitizer, _premixStage1ModifyDict
27 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
28 phase2_tracker.toReplaceWith(pixelDigitizer, _phase2TrackerDigitizer.clone())
33 (premix_stage2 & phase2_tracker).toModify(pixelDigitizer, **_premixStage1ModifyDict)
37 from Configuration.ProcessModifiers.runDependentForPixel_cff
import runDependentForPixel
38 (runDependentForPixel & premix_stage1).toModify(pixelDigitizer,
39 UseReweighting =
False,
40 applyLateReweighting =
False,
41 store_SimHitEntryExitPoints =
True,