From 91197e053a0d4d234fb6e8e36e3b92ea6abd1f0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Jacazio?= Date: Thu, 18 Sep 2025 22:40:34 +0200 Subject: [PATCH 1/2] Replace TMath::Abs with std::abs in etaChargeConditionFunc, add include --- PWGLF/Utils/inelGt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PWGLF/Utils/inelGt.h b/PWGLF/Utils/inelGt.h index 70c3de8ab4f..486a6924db4 100644 --- a/PWGLF/Utils/inelGt.h +++ b/PWGLF/Utils/inelGt.h @@ -24,6 +24,7 @@ #include "TParticlePDG.h" #include +#include namespace o2 { @@ -69,7 +70,7 @@ bool isINELgtNmc(TMcParticles particles, int nChToSatisfySelection, pdgDatabase ParticlesEtaAndCharge.resize(nParticles); auto etaChargeConditionFunc = [](EtaCharge elem) { - return ((TMath::Abs(elem.eta) < 1.0) && (TMath::Abs(elem.charge) > 0.001)); + return ((std::abs(elem.eta) < 1.0) && (std::abs(elem.charge) > 0.001)); }; if (std::count_if(ParticlesEtaAndCharge.begin(), ParticlesEtaAndCharge.end(), etaChargeConditionFunc) > nChToSatisfySelection) { From 5aa3a509581bbb74002e1fd446dc9701711fbd77 Mon Sep 17 00:00:00 2001 From: ALICE Builder Date: Thu, 18 Sep 2025 22:41:36 +0200 Subject: [PATCH 2/2] Please consider the following formatting changes to #13036 (#13037) --- PWGLF/Utils/inelGt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGLF/Utils/inelGt.h b/PWGLF/Utils/inelGt.h index 486a6924db4..04cd2351d1d 100644 --- a/PWGLF/Utils/inelGt.h +++ b/PWGLF/Utils/inelGt.h @@ -23,8 +23,8 @@ #include "TParticlePDG.h" -#include #include +#include namespace o2 {