Skip to content

Commit

Permalink
[Strangeness Tracking] Fix cascade invariant masses (#12091)
Browse files Browse the repository at this point in the history
* Fix cascade invariant masses

* Please consider the following formatting changes

---------

Co-authored-by: ALICE Action Bot <[email protected]>
  • Loading branch information
fmazzasc and alibuild authored Oct 18, 2023
1 parent 8b35e2a commit f33b30c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ class StrangenessTracker
o2::base::PropagatorImpl<float>::MatCorrType mCorrType = o2::base::PropagatorImpl<float>::MatCorrType::USEMatCorrNONE; // use mat correction

std::vector<std::vector<o2::track::TrackParCovF>> mDaughterTracks; // vector of daughter tracks (per thread)
StrangeTrack mStrangeTrack; // structure containing updated mother and daughter track refs
ClusAttachments mStructClus; // # of attached tracks, 1 for mother, 2 for daughter

ClassDefNV(StrangenessTracker, 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ void StrangenessTracker::processCascade(int iCasc, const Cascade& casc, const Ca
std::array<float, 3> momV0, mombach;
mFitter3Body[iThread].getTrack(0).getPxPyPzGlo(momV0); // V0 momentum at decay vertex
mFitter3Body[iThread].getTrack(1).getPxPyPzGlo(mombach); // bachelor momentum at decay vertex
mStrangeTrack.mMasses[0] = calcMotherMass(momV0, mombach, PID::Lambda, PID::Pion); // Xi invariant mass at decay vertex
mStrangeTrack.mMasses[1] = calcMotherMass(momV0, mombach, PID::Lambda, PID::Kaon); // Omega invariant mass at decay vertex
strangeTrack.mMasses[0] = calcMotherMass(momV0, mombach, PID::Lambda, PID::Pion); // Xi invariant mass at decay vertex
strangeTrack.mMasses[1] = calcMotherMass(momV0, mombach, PID::Lambda, PID::Kaon); // Omega invariant mass at decay vertex

LOG(debug) << "ITS Track matched with a Cascade decay topology ....";
LOG(debug) << "Number of ITS track clusters attached: " << itsTrack.getNumberOfClusters();
Expand Down

0 comments on commit f33b30c

Please sign in to comment.