1 import FWCore.ParameterSet.Config
as cms
4 from RecoLocalTracker.SiPixelClusterizer.siPixelRawToClusterCUDA_cfi
import siPixelRawToClusterCUDA
as _siPixelRawToClusterCUDA
5 from RecoLocalTracker.SiPixelClusterizer.siPixelDigisClustersFromSoA_cfi
import siPixelDigisClustersFromSoA
as _siPixelDigisClustersFromSoA
9 siPixelClustersPreSplittingTask = cms.Task(siPixelClustersPreSplitting)
11 siPixelClustersPreSplittingCUDA = _siPixelRawToClusterCUDA.clone()
12 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
13 run3_common.toModify(siPixelClustersPreSplittingCUDA,
17 siPixelDigisClustersPreSplitting = _siPixelDigisClustersFromSoA.clone()
18 siPixelClustersPreSplittingTaskCUDA = cms.Task(
19 siPixelClustersPreSplittingCUDA,
20 siPixelDigisClustersPreSplitting,
23 from Configuration.ProcessModifiers.gpu_cff
import gpu
24 _siPixelClustersPreSplittingTask_gpu = siPixelClustersPreSplittingTask.copy()
25 _siPixelClustersPreSplittingTask_gpu.add(siPixelClustersPreSplittingTaskCUDA)
26 gpu.toReplaceWith(siPixelClustersPreSplittingTask, _siPixelClustersPreSplittingTask_gpu)