@@ -598,20 +598,25 @@ GPUd() int GPUTPCGMPropagator::GetPropagatedYZ(float x, float& GPUrestrict() pro
598598}
599599
600600GPUd () void GPUTPCGMPropagator::GetErr2(float & GPUrestrict () err2Y, float& GPUrestrict() err2Z, const GPUParam& GPUrestrict() param, float posZ, int iRow, short clusterState, bool sideC) const
601+ {
602+ GetErr2 (err2Y, err2Z, param, mT0 .GetSinPhi (), mT0 .DzDs (), posZ, mT ->GetX (), iRow, clusterState, sideC);
603+ mStatErrors .GetOfflineStatisticalErrors (err2Y, err2Z, mT0 .GetSinPhi (), mT0 .DzDs (), clusterState);
604+ }
605+
606+ GPUd () void GPUTPCGMPropagator::GetErr2(float & GPUrestrict () err2Y, float& GPUrestrict() err2Z, const GPUParam& GPUrestrict() param, float snp, float tgl, float posZ, float x, int iRow, short clusterState, bool sideC)
601607{
602608#ifndef GPUCA_TPC_GEOMETRY_O2
603609 if (mSeedingErrors ) {
604- param.GetClusterErrorsSeeding2 (iRow, posZ, mT0 . GetSinPhi (), mT0 . DzDs () , err2Y, err2Z);
610+ param.GetClusterErrorsSeeding2 (iRow, posZ, snp, tgl , err2Y, err2Z);
605611 } else
606612#endif
607613 {
608- param.GetClusterErrors2 (iRow, posZ, mT0 . GetSinPhi (), mT0 . DzDs () , err2Y, err2Z);
614+ param.GetClusterErrors2 (iRow, posZ, snp, tgl , err2Y, err2Z);
609615 }
610616 param.UpdateClusterError2ByState (clusterState, err2Y, err2Z);
611- float statErr2 = param.GetSystematicClusterErrorIFC2 (mT -> GetX () , posZ, sideC);
617+ float statErr2 = param.GetSystematicClusterErrorIFC2 (x , posZ, sideC);
612618 err2Y += statErr2;
613619 err2Z += statErr2;
614- mStatErrors .GetOfflineStatisticalErrors (err2Y, err2Z, mT0 .SinPhi (), mT0 .DzDs (), clusterState);
615620}
616621
617622GPUd () float GPUTPCGMPropagator::PredictChi2(float posY, float posZ, int iRow, const GPUParam& GPUrestrict () param, short clusterState, bool sideC) const
0 commit comments