diff --git a/Analysis/Core/include/AnalysisCore/MC.h b/Analysis/Core/include/AnalysisCore/MC.h index 54e0c17cef813..35bc55f0c08e6 100644 --- a/Analysis/Core/include/AnalysisCore/MC.h +++ b/Analysis/Core/include/AnalysisCore/MC.h @@ -61,7 +61,7 @@ bool isStable(int pdg) // Ported from AliRoot AliStack::IsPhysicalPrimary template -bool isPhysicalPrimary(Particle& particle) +bool isPhysicalPrimary(const Particle& particle) { // Test if a particle is a physical primary according to the following definition: // Particles produced in the collision including products of strong and