From a3a5dcc151c7640021547efc5434cdd871aa560e Mon Sep 17 00:00:00 2001 From: Mattia Faggin Date: Thu, 1 Feb 2024 14:38:47 +0100 Subject: [PATCH 1/2] Fix Lc daughter type-cast. --- PWGHF/TableProducer/candidateCreatorSigmac0plusplus.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PWGHF/TableProducer/candidateCreatorSigmac0plusplus.cxx b/PWGHF/TableProducer/candidateCreatorSigmac0plusplus.cxx index 14c44c14adb..a0097f87f08 100644 --- a/PWGHF/TableProducer/candidateCreatorSigmac0plusplus.cxx +++ b/PWGHF/TableProducer/candidateCreatorSigmac0plusplus.cxx @@ -201,9 +201,9 @@ struct HfCandidateCreatorSigmac0plusplus { ////////////////////////////////////////////////////////////////////////////////////// /// Exclude the current candidate soft pion if it corresponds already to a candidate Lc prong - int indexProng0 = candLc.template prong0_as().globalIndex(); - int indexProng1 = candLc.template prong1_as().globalIndex(); - int indexProng2 = candLc.template prong2_as().globalIndex(); + int indexProng0 = candLc.template prong0_as().globalIndex(); + int indexProng1 = candLc.template prong1_as().globalIndex(); + int indexProng2 = candLc.template prong2_as().globalIndex(); int indexSoftPi = trackSoftPi.globalIndex(); if (indexSoftPi == indexProng0 || indexSoftPi == indexProng1 || indexSoftPi == indexProng2) { continue; From 63db9c83c63f62d5d1c2b393c58ba6abbaa1ff93 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Thu, 1 Feb 2024 13:42:49 +0000 Subject: [PATCH 2/2] MegaLinter fixes --- PWGHF/TableProducer/candidateCreatorSigmac0plusplus.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGHF/TableProducer/candidateCreatorSigmac0plusplus.cxx b/PWGHF/TableProducer/candidateCreatorSigmac0plusplus.cxx index a0097f87f08..3ddadecd530 100644 --- a/PWGHF/TableProducer/candidateCreatorSigmac0plusplus.cxx +++ b/PWGHF/TableProducer/candidateCreatorSigmac0plusplus.cxx @@ -15,7 +15,7 @@ /// /// \author Mattia Faggin , University and INFN PADOVA -#include "CCDB/BasicCCDBManager.h" // for dca recalculation +#include "CCDB/BasicCCDBManager.h" // for dca recalculation #include "CommonConstants/PhysicsConstants.h" #include "DataFormatsParameters/GRPMagField.h" // for dca recalculation #include "DataFormatsParameters/GRPObject.h" // for dca recalculation