File indexing completed on 2024-04-06 12:30:38
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from SimGeneral.MixingModule.SiPixelSimParameters_cfi import SiPixelSimBlock
0004
0005 pixelDigitizer = cms.PSet(
0006 SiPixelSimBlock,
0007 accumulatorType = cms.string("SiPixelDigitizer"),
0008 hitsProducer = cms.string('g4SimHits'),
0009 makeDigiSimLinks = cms.untracked.bool(True)
0010 )
0011 from Configuration.ProcessModifiers.premix_stage1_cff import premix_stage1
0012 premix_stage1.toModify(pixelDigitizer, makeDigiSimLinks = False)
0013
0014
0015 from CalibTracker.SiPixelESProducers.siPixelQualityForDigitizerESProducer_cfi import *
0016
0017
0018
0019
0020
0021 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
0022 premix_stage2.toModify(pixelDigitizer,
0023 AddPixelInefficiency = False,
0024 KillBadFEDChannels = False,
0025 killModules = False
0026 )
0027
0028 from SimTracker.SiPhase2Digitizer.phase2TrackerDigitizer_cfi import phase2TrackerDigitizer as _phase2TrackerDigitizer, _premixStage1ModifyDict
0029 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0030 phase2_tracker.toReplaceWith(pixelDigitizer, _phase2TrackerDigitizer.clone())
0031
0032
0033
0034
0035 (premix_stage2 & phase2_tracker).toModify(pixelDigitizer, **_premixStage1ModifyDict)
0036 from CalibTracker.SiPixelESProducers.PixelFEDChannelCollectionProducer_cfi import *
0037
0038
0039 from Configuration.ProcessModifiers.runDependentForPixel_cff import runDependentForPixel
0040 (runDependentForPixel & premix_stage1).toModify(pixelDigitizer,
0041 UseReweighting = False,
0042 applyLateReweighting = False,
0043 store_SimHitEntryExitPoints = True,
0044 AdcFullScale = 1023,
0045 MissCalibrate = False
0046 )
0047