File indexing completed on 2024-06-28 02:36:16
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi import siPixelDigis
0004
0005 siPixelDigisTask = cms.Task(
0006
0007 siPixelDigis
0008 )
0009
0010
0011 from EventFilter.SiPixelRawToDigi.siPixelDigisSoAFromCUDA_cfi import siPixelDigisSoAFromCUDA as _siPixelDigisSoAFromCUDA
0012 siPixelDigisSoA = _siPixelDigisSoAFromCUDA.clone(
0013 src = "siPixelClustersPreSplittingCUDA"
0014 )
0015
0016
0017 from EventFilter.SiPixelRawToDigi.siPixelDigiErrorsSoAFromCUDA_cfi import siPixelDigiErrorsSoAFromCUDA as _siPixelDigiErrorsSoAFromCUDA
0018 siPixelDigiErrorsSoA = _siPixelDigiErrorsSoAFromCUDA.clone(
0019 src = "siPixelClustersPreSplittingCUDA"
0020 )
0021
0022
0023 from EventFilter.SiPixelRawToDigi.siPixelDigiErrorsFromSoA_cfi import siPixelDigiErrorsFromSoA as _siPixelDigiErrorsFromSoA
0024 siPixelDigiErrors = _siPixelDigiErrorsFromSoA.clone()
0025
0026
0027 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
0028 phase1Pixel.toModify(siPixelDigiErrors,
0029 UsePhase1 = True
0030 )
0031
0032 from Configuration.ProcessModifiers.gpu_cff import gpu
0033 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0034 (gpu & ~phase2_tracker).toReplaceWith(siPixelDigisTask, cms.Task(
0035
0036 siPixelDigisSoA,
0037
0038 siPixelDigiErrorsSoA,
0039
0040 siPixelDigiErrors,
0041
0042 siPixelDigisTask.copy()
0043 ))
0044
0045
0046 phase2_tracker.toReplaceWith(siPixelDigisTask, cms.Task())