From 055735e7a942eaac0d0c5745a64dde7b9f26a8f8 Mon Sep 17 00:00:00 2001 From: anerokhi <44967087+anerokhi@users.noreply.github.com> Date: Mon, 26 Jul 2021 12:10:02 +0300 Subject: [PATCH] Use refernce to const --- Analysis/Core/include/AnalysisCore/MC.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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