diff --git a/DPG/Tasks/AOTTrack/V0Cascades/qaLamMomResolution.cxx b/DPG/Tasks/AOTTrack/V0Cascades/qaLamMomResolution.cxx index 4db86cb6f0a..0d706e17a9e 100644 --- a/DPG/Tasks/AOTTrack/V0Cascades/qaLamMomResolution.cxx +++ b/DPG/Tasks/AOTTrack/V0Cascades/qaLamMomResolution.cxx @@ -304,8 +304,8 @@ struct qaLamMomResolution { tuneV0(v0data, protonTrackIU, pionTrackIU, mcparticles, bcs); std::array pPos{0., 0., 0.}; std::array pNeg{0., 0., 0.}; - mTrackParCovProton.getPxPyPzGlo(pPos); - mTrackParCovPion.getPxPyPzGlo(pNeg); + mTrackParCovPos.getPxPyPzGlo(pPos); + mTrackParCovNeg.getPxPyPzGlo(pNeg); massLambda = RecoDecay::m(std::array{std::array{pPos[0], pPos[1], pPos[2]}, std::array{pNeg[0], pNeg[1], pNeg[2]}}, std::array{o2::constants::physics::MassProton, o2::constants::physics::MassPionCharged});