From 70f54532005efad31ed4e60a492054a9db9f2d46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?BiaoZhang=20=28=E5=BC=A0=E5=BD=AA=29?= <52267892+zhangbiao-phy@users.noreply.github.com> Date: Tue, 2 Dec 2025 14:40:52 +0100 Subject: [PATCH] filll correct rapidity distribution --- PWGHF/D2H/Tasks/taskLc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGHF/D2H/Tasks/taskLc.cxx b/PWGHF/D2H/Tasks/taskLc.cxx index 9550eb95a0d..767a13f3d18 100644 --- a/PWGHF/D2H/Tasks/taskLc.cxx +++ b/PWGHF/D2H/Tasks/taskLc.cxx @@ -790,7 +790,7 @@ struct HfTaskLc { const auto decayLength = candidate.decayLength(); const auto chi2PCA = candidate.chi2PCA(); const auto cpa = candidate.cpa(); - const auto rapidity = std::abs(HfHelper::yLc(candidate)); + const auto rapidity = HfHelper::yLc(candidate); if (fillTHn) { double outputBkg(-1), outputPrompt(-1), outputFD(-1);