Skip to content

Commit

Permalink
Fix BS naming in siPixelRecHitsCUDAPreSplitting (#551)
Browse files Browse the repository at this point in the history
Fixing BeamSpotCUDA naming in siPixelRecHitsCUDAPreSplitting to be compliant with changes made in cms-sw#31130 .
  • Loading branch information
AdrianoDee authored and fwyzard committed Oct 1, 2020
1 parent 0c377ca commit 2bc9656
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions RecoLocalTracker/SiPixelRecHits/python/SiPixelRecHits_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@

siPixelRecHitsPreSplittingTask = cms.Task(siPixelRecHitsPreSplitting)

siPixelRecHitsCUDAPreSplitting = _siPixelRecHitCUDA.clone()
siPixelRecHitsCUDAPreSplitting = _siPixelRecHitCUDA.clone(
beamSpot = "offlineBeamSpotToCUDA"
)

siPixelRecHitsLegacyPreSplitting = _siPixelRecHitFromSOA.clone()
siPixelRecHitsPreSplittingTaskCUDA = cms.Task(
siPixelRecHitsCUDAPreSplitting,
Expand All @@ -39,4 +42,3 @@
_siPixelRecHitsPreSplittingTask_gpu = siPixelRecHitsPreSplittingTask.copy()
_siPixelRecHitsPreSplittingTask_gpu.add(siPixelRecHitsPreSplittingTaskCUDA)
gpu.toReplaceWith(siPixelRecHitsPreSplittingTask, _siPixelRecHitsPreSplittingTask_gpu)

0 comments on commit 2bc9656

Please sign in to comment.