@@ -446,6 +446,7 @@ GPUdi() void TPCFastTransform::getTOFcorrection(int slice, int /*row*/, float x,
446446
447447GPUdi () void TPCFastTransform::TransformInternal (int slice, int row, float & u, float & v, float & x, const TPCFastTransform* ref, const TPCFastTransform* ref2, float scale, float scale2, int scaleMode) const
448448{
449+ GPUCA_RTC_SPECIAL_CODE (ref2 = nullptr ; scale2 = 0 .f ;);
449450 if (mApplyCorrection ) {
450451 float dx = 0 .f , du = 0 .f , dv = 0 .f ;
451452 if ((scale >= 0 .f ) || (scaleMode == 1 ) || (scaleMode == 2 )) {
@@ -776,6 +777,7 @@ GPUdi() float TPCFastTransform::getMaxDriftTime(int slice) const
776777
777778GPUdi () void TPCFastTransform::InverseTransformYZtoX (int slice, int row, float y, float z, float & x, const TPCFastTransform* ref, const TPCFastTransform* ref2, float scale, float scale2, int scaleMode) const
778779{
780+ GPUCA_RTC_SPECIAL_CODE (ref2 = nullptr ; scale2 = 0 .f ;);
779781 // / Transformation y,z -> x
780782 float u = 0 , v = 0 ;
781783 getGeometry ().convLocalToUV (slice, y, z, u, v);
@@ -816,6 +818,7 @@ GPUdi() void TPCFastTransform::InverseTransformYZtoX(int slice, int row, float y
816818
817819GPUdi () void TPCFastTransform::InverseTransformYZtoNominalYZ (int slice, int row, float y, float z, float & ny, float & nz, const TPCFastTransform* ref, const TPCFastTransform* ref2, float scale, float scale2, int scaleMode) const
818820{
821+ GPUCA_RTC_SPECIAL_CODE (ref2 = nullptr ; scale2 = 0 .f ;);
819822 // / Transformation y,z -> x
820823 float u = 0 , v = 0 , un = 0 , vn = 0 ;
821824 getGeometry ().convLocalToUV (slice, y, z, u, v);
0 commit comments