@@ -348,7 +348,7 @@ bool eventSelection(const Tcollision& collision, HistogramRegistry& registry, La
348348template <typename Tcollision>
349349float getCentrality (Tcollision const & collision, const int centralityEstimator)
350350{
351- if constexpr (!o2::aod::HasCentrality<Tcollision>) {
351+ if constexpr (!o2::aod::HasCentrality<Tcollision>) { // requires aod::CentFV0As, aod::CentFT0Ms, aod::CentFT0As, aod::CentFT0Cs, aod::CentNTPVs
352352 return -1 .f ;
353353 }
354354 if (centralityEstimator == centDetectors::kFV0A ) {
@@ -475,6 +475,7 @@ class PidManager
475475 }
476476 }
477477
478+ // ITS
478479 template <typename Ttrack>
479480 float getClusterSizeCosLambdaITS (const Ttrack& track)
480481 {
@@ -508,7 +509,7 @@ class PidManager
508509 // TPC
509510 float getExpectedTPCsignal (const float p)
510511 {
511- if (! mUseTpcCentralCalibration )
512+ if (mUseTpcCentralCalibration )
512513 return -999 .f ;
513514
514515 float pScaled = p * mMomScaling [0 ] + mMomScaling [1 ];
@@ -524,7 +525,7 @@ class PidManager
524525 template <typename Ttrack>
525526 float getNSigmaTPC (const Ttrack& track)
526527 {
527- if (! mUseTpcCentralCalibration ) {
528+ if (mUseTpcCentralCalibration ) {
528529 return getNSigmaTPCcentral (track);
529530 }
530531 float expectedSignal = getExpectedTPCsignal (track.tpcInnerParam ());
0 commit comments