From 0a00740277715cbd0ecc9331e0e3d12596c90f80 Mon Sep 17 00:00:00 2001 From: Anton Riedel Date: Wed, 1 Apr 2026 09:15:37 +0200 Subject: [PATCH] Bug: fix kstar_truth calculation --- PWGCF/Femto/Core/pairHistManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGCF/Femto/Core/pairHistManager.h b/PWGCF/Femto/Core/pairHistManager.h index c0695ef3614..2e431427f9c 100644 --- a/PWGCF/Femto/Core/pairHistManager.h +++ b/PWGCF/Femto/Core/pairHistManager.h @@ -646,7 +646,7 @@ class PairHistManager auto sum = part1 + part2; // Boost particle 1 to the pair rest frame (Prf) and calculate k* (would be equivalent using particle 2) // make a copy of particle 1 - auto particle1Prf = ROOT::Math::PtEtaPhiMVector(mParticle1); + auto particle1Prf = ROOT::Math::PtEtaPhiMVector(part1); // get lorentz boost into pair rest frame ROOT::Math::Boost boostPrf(sum.BoostToCM()); // boost particle 1 into pair rest frame and calculate its momentum, which has the same value as k*