Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions PWGCF/Flow/Tasks/pidcme.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/// \file pidcme.cxx
/// \brief task to calculate the pikp cme signal and bacground.
// C++/ROOT includes.
// o2-linter: disable=name/workflow-file
// o2-linter: disable=name/workflow-file
#include <chrono>
#include <string>
#include <vector>
Expand Down Expand Up @@ -222,7 +222,7 @@ struct FillPIDcolums {
for (int8_t i = 0; i < 3; i++) {
if (selectionPid(track, i))
pidFlag = pidFlag * 10 + i + 1;
if (pidFlag > 10) { // If a track is identified as two different tracks.
if (pidFlag > 10) { // If a track is identified as two different tracks.
if (std::abs(nSigmaArray[(pidFlag / 10) - 1]) < std::abs(nSigmaArray[(pidFlag % 10) - 1])) // The track is identified as the particle whose |nsigma| is the least.
pidFlag /= 10;
else
Expand Down Expand Up @@ -721,4 +721,5 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
adaptAnalysisTask<FillPIDcolums>(cfgc),
adaptAnalysisTask<pidcme>(cfgc),
};
}
}