From ed50a50c4b519329722652afed8ce37c60c8c50b Mon Sep 17 00:00:00 2001 From: marcellocosti Date: Mon, 30 Dec 2024 16:32:08 +0100 Subject: [PATCH] restore mcRecoParticles argument --- PWGHF/D2H/Tasks/taskDplus.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PWGHF/D2H/Tasks/taskDplus.cxx b/PWGHF/D2H/Tasks/taskDplus.cxx index 7977a100791..7c4c149fb0b 100644 --- a/PWGHF/D2H/Tasks/taskDplus.cxx +++ b/PWGHF/D2H/Tasks/taskDplus.cxx @@ -471,8 +471,8 @@ struct HfTaskDplus { // Run analysis for the reconstructed Dplus candidates with MC matching /// \param recoCandidates are reconstructed candidates /// \param recoColls are reconstructed collisions - template - void runAnalysisMcRec(McRecoCollisionsCent const& /*recoColls*/) + template + void runAnalysisMcRec(const T1& /*recoCandidates*/, McRecoCollisionsCent const& /*recoColls*/) { float cent{-1}; float occ{-1}; @@ -702,7 +702,7 @@ struct HfTaskDplus { McRecoCollisionsCent const& mcRecoCollisions, aod::McCollisions const& mcGenCollisions) { - runAnalysisMcRec(mcRecoCollisions); + runAnalysisMcRec(mcRecoParticles, mcRecoCollisions); runAnalysisMcGen(mcGenCollisions, mcRecoCollisions, mcGenParticles); } PROCESS_SWITCH(HfTaskDplus, processMc, "Process MC w/o ML", false); @@ -712,7 +712,7 @@ struct HfTaskDplus { McRecoCollisionsCent const& mcRecoCollisions, aod::McCollisions const& mcGenCollisions) { - runAnalysisMcRec(mcRecoCollisions); + runAnalysisMcRec(mcRecoParticles, mcRecoCollisions); runAnalysisMcGen(mcGenCollisions, mcRecoCollisions, mcGenParticles); } PROCESS_SWITCH(HfTaskDplus, processMcWithMl, "Process MC with ML", false);