You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constfloat sy2 = CAMath::Min(Merger->Param().rec.tpc.tubeMaxSize2, Merger->Param().rec.tpc.tubeChi2 * (err2Y + CAMath::Abs(mC[0]))); // Cov can be bogus when following circle
563
564
constfloat sz2 = CAMath::Min(Merger->Param().rec.tpc.tubeMaxSize2, Merger->Param().rec.tpc.tubeChi2 * (err2Z + CAMath::Abs(mC[2]))); // In that case we should provide the track error externally
564
565
constfloat tubeY = CAMath::Sqrt(sy2);
565
566
constfloat tubeZ = CAMath::Sqrt(sz2);
566
567
constfloat sy21 = 1.f / sy2;
567
568
constfloat sz21 = 1.f / sz2;
568
-
floatnY, nZ;
569
+
floatuncorrectedY, uncorrectedZ;
569
570
if (Merger->Param().par.earlyTpcTransform) {
570
-
nY = Y;
571
-
nZ = Z;
571
+
uncorrectedY = Y;
572
+
uncorrectedZ = Z;
572
573
} else {
573
-
Merger->GetConstantMem()->calibObjects.fastTransformHelper->InverseTransformYZtoNominalYZ(slice, iRow, Y, Z, nY, nZ);
574
+
Merger->GetConstantMem()->calibObjects.fastTransformHelper->InverseTransformYZtoNominalYZ(slice, iRow, Y, Z, uncorrectedY, uncorrectedZ);
574
575
}
575
576
576
-
if (CAMath::Abs(nY) > row.getTPCMaxY()) {
577
+
if (CAMath::Abs(uncorrectedY) > row.getTPCMaxY()) {
0 commit comments