We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90375ff commit 73571c2Copy full SHA for 73571c2
1 file changed
PWGLF/Tasks/Strangeness/strangenessInJetsIons.cxx
@@ -2236,7 +2236,7 @@ struct StrangenessInJetsIons {
2236
2237
// ------------------------------------------------
2238
// --- Generated hadrons in reconstructed jets ----
2239
- for (auto& particle : mcParticlesPerColl) {
+ for (const auto& particle : mcParticlesPerColl) {
2240
if (!particle.isPhysicalPrimary() || std::abs(particle.eta()) > 0.8)
2241
continue;
2242
0 commit comments