Skip to content

Commit d8ce1c5

Browse files
committed
linter for twoParticleCorrelationsMpi.cxx
1 parent 41a08d2 commit d8ce1c5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PWGCF/TwoParticleCorrelations/Tasks/twoParticleCorrelationsMpi.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ struct TwoParticleCorrelationsMpi {
602602

603603
yieldTemplates.clear();
604604
yieldTemplates.reserve(tree->GetEntries());
605-
for (Long64_t iEntry = 0; iEntry < tree->GetEntries(); ++iEntry) {
605+
for (int64_t iEntry = 0; iEntry < tree->GetEntries(); ++iEntry) {
606606
tree->GetEntry(iEntry);
607607
if (fitStatus != 0) {
608608
LOGF(warning, "Skipping failed yield template (%d, %d, %d), fit status %d", value.trigBin, value.assocBin, value.multBin, fitStatus);
@@ -614,11 +614,11 @@ struct TwoParticleCorrelationsMpi {
614614
continue;
615615
}
616616
const auto intervalMatchesAxis = [](const AxisSpec& axis, double low, double high) {
617-
constexpr double tolerance = 1e-6;
617+
constexpr double Tolerance = 1e-6;
618618
const auto& edges = axis.binEdges;
619619
return std::any_of(edges.begin(), edges.end() - 1, [&](const auto& edge) {
620620
const auto index = static_cast<std::size_t>(&edge - edges.data());
621-
return std::abs(edge - low) < tolerance && std::abs(edges[index + 1] - high) < tolerance;
621+
return std::abs(edge - low) < Tolerance && std::abs(edges[index + 1] - high) < Tolerance;
622622
});
623623
};
624624
if (!intervalMatchesAxis(AxisSpec(axisMultiplicity), value.nchLow, value.nchHigh) ||

0 commit comments

Comments
 (0)