Skip to content

Commit

Permalink
Fix Cluster-to-TrackingParticle matching for pixel tracking CPU workf…
Browse files Browse the repository at this point in the history
…low (#111)
  • Loading branch information
makortel authored and fwyzard committed Nov 16, 2020
1 parent 3b1ddef commit bed9714
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Validation/RecoTrack/python/TrackValidation_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,9 +713,13 @@ def _uniqueFirstLayers(layerList):
tpClusterProducerHeterogeneousPixelTrackingOnly = tpClusterProducerHeterogeneous.clone(
pixelClusterSrc = "siPixelClustersPreSplitting"
)
tpClusterProducerPixelTrackingOnly = tpClusterProducer.clone()
# Need to use the modifier to customize because the exact EDProducer type depends on the modifier
gpu.toModify(tpClusterProducerPixelTrackingOnly, src = "tpClusterProducerHeterogeneousPixelTrackingOnly")
tpClusterProducerPixelTrackingOnly = tpClusterProducer.clone(
pixelClusterSrc = "siPixelClustersPreSplitting"
)
from Configuration.ProcessModifiers.gpu_cff import gpu
gpu.toReplaceWith(tpClusterProducerPixelTrackingOnly, tpClusterProducerConverter.clone(
src = "tpClusterProducerHeterogeneousPixelTrackingOnly"
))

quickTrackAssociatorByHitsPixelTrackingOnly = quickTrackAssociatorByHits.clone(
cluster2TPSrc = "tpClusterProducerPixelTrackingOnly"
Expand Down

0 comments on commit bed9714

Please sign in to comment.