From 8e2144c25560dd26213a2503b0e47574e0670e3f Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Tue, 30 Apr 2024 15:24:53 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGHF/TableProducer/candidateSelectorLc.cxx | 2 +- PWGHF/Utils/utilsAnalysis.h | 15 +++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/PWGHF/TableProducer/candidateSelectorLc.cxx b/PWGHF/TableProducer/candidateSelectorLc.cxx index 6c9c801b093..f5d0d304d75 100644 --- a/PWGHF/TableProducer/candidateSelectorLc.cxx +++ b/PWGHF/TableProducer/candidateSelectorLc.cxx @@ -437,7 +437,7 @@ struct HfCandidateSelectorLc { } } - if ( pidLcToPKPi == 1 && pidBayesLcToPKPi == 1 && isSelectedMlLcToPKPi && topolLcToPKPi && trackQualitySel) { + if (pidLcToPKPi == 1 && pidBayesLcToPKPi == 1 && isSelectedMlLcToPKPi && topolLcToPKPi && trackQualitySel) { statusLcToPKPi = 1; // identified as LcToPKPi } if (pidLcToPiKP == 1 && pidBayesLcToPiKP == 1 && isSelectedMlLcToPiKP && topolLcToPiKP && trackQualitySel) { diff --git a/PWGHF/Utils/utilsAnalysis.h b/PWGHF/Utils/utilsAnalysis.h index d8383c2d82e..3fff55f6478 100644 --- a/PWGHF/Utils/utilsAnalysis.h +++ b/PWGHF/Utils/utilsAnalysis.h @@ -73,10 +73,10 @@ template bool isItsQualityCuts(Track const& track, int itsNClsFoundMin, float itsChi2PerClusterMax) { if (track.itsNCls() < itsNClsFoundMin) { - return false; + return false; } if (track.itsChi2NCl() > itsChi2PerClusterMax) { - return false; + return false; } return true; } @@ -88,21 +88,20 @@ template bool isTpcQualityCuts(Track const& track, int tpcNClsFoundMin, int tpcNCrossedRowsMin, float tpcNCrossedRowsOverFindableClustersMin, float tpcChi2PerClusterMax) { if (track.tpcNClsFound() < tpcNClsFoundMin) { - return false; + return false; } if (track.tpcNClsCrossedRows() < tpcNCrossedRowsMin) { - return false; + return false; } if (track.tpcCrossedRowsOverFindableCls() < tpcNCrossedRowsOverFindableClustersMin) { - return false; + return false; } - if (track.tpcChi2NCl() > tpcChi2PerClusterMax ) { - return false; + if (track.tpcChi2NCl() > tpcChi2PerClusterMax) { + return false; } return true; } - } // namespace o2::analysis #endif // PWGHF_UTILS_UTILSANALYSIS_H_