From 1d1eb3a3e8dda0e39731d5b7be0d6b6b4cc0a48e Mon Sep 17 00:00:00 2001 From: Andrea Sofia Triolo Date: Sat, 9 Nov 2024 02:15:52 +0100 Subject: [PATCH] [PWGLF] nonPromptCascade task: fixing swapping of beauty and charm fractions (#8350) --- PWGLF/Tasks/Strangeness/nonPromptCascade.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/PWGLF/Tasks/Strangeness/nonPromptCascade.cxx b/PWGLF/Tasks/Strangeness/nonPromptCascade.cxx index 23255229a5f..44e3ded502a 100644 --- a/PWGLF/Tasks/Strangeness/nonPromptCascade.cxx +++ b/PWGLF/Tasks/Strangeness/nonPromptCascade.cxx @@ -9,6 +9,11 @@ // granted to it by virtue of its status as an Intergovernmental Organization // or submit itself to any jurisdiction. +#include +#include +#include +#include + #include "CCDB/BasicCCDBManager.h" #include "Common/DataModel/Centrality.h" #include "Common/DataModel/EventSelection.h" @@ -389,7 +394,7 @@ struct NonPromptCascadeTask { mom = grandma; } } - return {fromCharm, fromBeauty}; + return {fromBeauty, fromCharm}; }; for (const auto& trackedCascade : trackedCascades) {