From cfa26a8afc37134e77a0df0ef1680711e7f861c7 Mon Sep 17 00:00:00 2001 From: AdrianoDee Date: Thu, 1 Oct 2020 14:22:22 +0200 Subject: [PATCH] Fix BS naming in siPixelRecHitsCUDAPreSplitting (#551) Fixing BeamSpotCUDA naming in siPixelRecHitsCUDAPreSplitting to be compliant with changes made in cms-sw#31130 . --- .../SiPixelRecHits/python/SiPixelRecHits_cfi.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/RecoLocalTracker/SiPixelRecHits/python/SiPixelRecHits_cfi.py b/RecoLocalTracker/SiPixelRecHits/python/SiPixelRecHits_cfi.py index 8995471470f37..2a0c005e51622 100644 --- a/RecoLocalTracker/SiPixelRecHits/python/SiPixelRecHits_cfi.py +++ b/RecoLocalTracker/SiPixelRecHits/python/SiPixelRecHits_cfi.py @@ -28,7 +28,10 @@ siPixelRecHitsPreSplittingTask = cms.Task(siPixelRecHitsPreSplitting) -siPixelRecHitsCUDAPreSplitting = _siPixelRecHitCUDA.clone() +siPixelRecHitsCUDAPreSplitting = _siPixelRecHitCUDA.clone( + beamSpot = "offlineBeamSpotToCUDA" +) + siPixelRecHitsLegacyPreSplitting = _siPixelRecHitFromSOA.clone() siPixelRecHitsPreSplittingTaskCUDA = cms.Task( siPixelRecHitsCUDAPreSplitting, @@ -39,4 +42,3 @@ _siPixelRecHitsPreSplittingTask_gpu = siPixelRecHitsPreSplittingTask.copy() _siPixelRecHitsPreSplittingTask_gpu.add(siPixelRecHitsPreSplittingTaskCUDA) gpu.toReplaceWith(siPixelRecHitsPreSplittingTask, _siPixelRecHitsPreSplittingTask_gpu) -