1 import FWCore.ParameterSet.Config
as cms
4 from EventFilter.SiPixelRawToDigi.siPixelDigisSoAFromCUDA_cfi
import siPixelDigisSoAFromCUDA
as _siPixelDigisSoAFromCUDA
5 from EventFilter.SiPixelRawToDigi.siPixelDigiErrorsSoAFromCUDA_cfi
import siPixelDigiErrorsSoAFromCUDA
as _siPixelDigiErrorsSoAFromCUDA
6 from EventFilter.SiPixelRawToDigi.siPixelDigiErrorsFromSoA_cfi
import siPixelDigiErrorsFromSoA
as _siPixelDigiErrorsFromSoA
8 siPixelDigisTask = cms.Task(siPixelDigis)
10 siPixelDigisSoA = _siPixelDigisSoAFromCUDA.clone(
11 src =
"siPixelClustersPreSplittingCUDA"
13 siPixelDigiErrorsSoA = _siPixelDigiErrorsSoAFromCUDA.clone(
14 src =
"siPixelClustersPreSplittingCUDA"
16 siPixelDigiErrors = _siPixelDigiErrorsFromSoA.clone()
18 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
19 phase1Pixel.toModify(siPixelDigiErrors, UsePhase1=
True)
21 siPixelDigisTaskCUDA = cms.Task(
27 from Configuration.ProcessModifiers.gpu_cff
import gpu
28 _siPixelDigisTask_gpu = siPixelDigisTask.copy()
29 _siPixelDigisTask_gpu.add(siPixelDigisTaskCUDA)
30 gpu.toReplaceWith(siPixelDigisTask, _siPixelDigisTask_gpu)