Skip to content

Commit 34449b4

Browse files
committed
fix: computeBertschPrattLCMS use function params instead of member vars
1 parent 3dcf52a commit 34449b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGCF/Femto/Core/pairHistManager.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,8 +957,8 @@ class PairHistManager
957957

958958
std::tuple<float, float, float> computeBertschPrattLCMS(ROOT::Math::PtEtaPhiMVector const& part1, ROOT::Math::PtEtaPhiMVector const& part2)
959959
{
960-
const ROOT::Math::PxPyPzEVector p1(mParticle1);
961-
const ROOT::Math::PxPyPzEVector p2(mParticle2);
960+
const ROOT::Math::PxPyPzEVector p1(part1);
961+
const ROOT::Math::PxPyPzEVector p2(part2);
962962
const ROOT::Math::PxPyPzEVector pSum = p1 + p2;
963963

964964
const double tPx = pSum.Px();

0 commit comments

Comments
 (0)