diff --git a/Detectors/TPC/calibration/SpacePoints/include/SpacePoints/SpacePointsCalibConfParam.h b/Detectors/TPC/calibration/SpacePoints/include/SpacePoints/SpacePointsCalibConfParam.h index 2465cbf512d2b..9a4d7c1474287 100644 --- a/Detectors/TPC/calibration/SpacePoints/include/SpacePoints/SpacePointsCalibConfParam.h +++ b/Detectors/TPC/calibration/SpacePoints/include/SpacePoints/SpacePointsCalibConfParam.h @@ -29,35 +29,35 @@ struct SpacePointsCalibConfParam : public o2::conf::ConfigurableParamHelpermaxZ2X; mIsInitialized = true; LOG(info) << "Initialization complete"; } @@ -182,10 +183,10 @@ void TrackResiduals::initBinning() } // // Z/X binning - mDZ2XI = mNZ2XBins / sMaxZ2X; + mDZ2XI = mNZ2XBins / mMaxZ2X; mDZ2X = 1.0f / mDZ2XI; // for uniform case only if (mUniformBins[VoxZ]) { - LOGF(info, "Z/X-binning is uniform with %i bins from 0 to %f", mNZ2XBins, sMaxZ2X); + LOGF(info, "Z/X-binning is uniform with %i bins from 0 to %f", mNZ2XBins, mMaxZ2X); for (int iz = 0; iz < mNZ2XBins; ++iz) { mZ2XBinsDH.push_back(.5f * mDZ2X); mZ2XBinsDI.push_back(mDZ2XI); @@ -265,7 +266,7 @@ int TrackResiduals::getRowID(float x) const bool TrackResiduals::findVoxelBin(int secID, float x, float y, float z, std::array& bvox) const { // Z/X bin - if (fabs(z / x) > sMaxZ2X) { + if (fabs(z / x) > mMaxZ2X) { return false; } int bz = getZ2XBinExact(secID < SECTORSPERSIDE ? z / x : -z / x); @@ -601,7 +602,7 @@ int TrackResiduals::validateVoxels(int iSec) resVox.flags |= Masked; } } // loop over Z - } // loop over Y/X + } // loop over Y/X mValidFracXBins[iSec][ix] = static_cast(cntValid) / (mNY2XBins * mNZ2XBins); LOGP(debug, "Sector {}: xBin {} has {} % of voxels valid. Total masked due to fit: {} ,and sigma: {}", iSec, ix, mValidFracXBins[iSec][ix] * 100., cntMaskedFit, cntMaskedSigma);