Skip to content

Commit c602976

Browse files
committed
GPU: Fix direction for material correction in sector track refit
1 parent 6b98f49 commit c602976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GPU/GPUTracking/Merger/GPUTPCGMMerger.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ GPUd() int32_t GPUTPCGMMerger::RefitSectorTrack(GPUTPCGMSectorTrack& sectorTrack
514514
const ClusterNative& cl = GetConstantMem()->ioPtrs.clustersNative->clustersLinear[GetConstantMem()->ioPtrs.clustersNative->clusterOffset[sector][0] + clusterIndex];
515515
flags = cl.getFlags();
516516
GetConstantMem()->calibObjects.fastTransformHelper->Transform(sector, row, cl.getPad(), cl.getTime(), x, y, z, trk.TZOffset());
517-
if (prop.PropagateToXAlpha(x, alpha, true)) {
517+
if (prop.PropagateToXAlpha(x, alpha, way == 0)) {
518518
return way == 0;
519519
}
520520
trk.ConstrainSinPhi();

0 commit comments

Comments
 (0)