Skip to content

Commit

Permalink
Please consider the following formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alibuild committed Apr 30, 2024
1 parent 82eb996 commit 8e2144c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion PWGHF/TableProducer/candidateSelectorLc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
15 changes: 7 additions & 8 deletions PWGHF/Utils/utilsAnalysis.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ template <typename Track>
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;
}
Expand All @@ -88,21 +88,20 @@ template <typename Track>
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_

0 comments on commit 8e2144c

Please sign in to comment.