Skip to content

Commit cc36a20

Browse files
committed
GPU TPC: Fix setting of FitInProjection and PropagateBzOnly
1 parent 824a528 commit cc36a20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GPU/GPUTracking/Merger/GPUTPCGMTrackParam.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ GPUd() bool GPUTPCGMTrackParam::Fit(GPUTPCGMMerger* GPUrestrict() merger, int32_
9595

9696
ResetCovariance();
9797
prop.SetSeedingErrors(!(refit && attempt == 0));
98-
prop.SetFitInProjections(param.rec.fitInProjections == -1 ? (iWay != 0) : param.rec.fitInProjections);
99-
prop.SetPropagateBzOnly(param.rec.fitPropagateBzOnly > iWay);
98+
prop.SetFitInProjections(param.rec.fitInProjections == -1 ? (iWay == 0) : param.rec.fitInProjections);
99+
prop.SetPropagateBzOnly(iWay < param.rec.fitPropagateBzOnly);
100100
prop.SetMatLUT((param.rec.useMatLUT && iWay == nWays - 1) ? merger->GetConstantMem()->calibObjects.matLUT : nullptr);
101101
prop.SetTrack(this, iWay ? prop.GetAlpha() : Alpha);
102102
ConstrainSinPhi(iWay == 0 ? 0.95f : GPUCA_MAX_SIN_PHI_LOW);

0 commit comments

Comments
 (0)