File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
PWGCF/FemtoUniverse/Tasks Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1545,9 +1545,9 @@ struct FemtoUniversePairTaskTrackV0Extended {
15451545 const auto & mcpart = mcparts.iteratorAt (mcPartId);
15461546 //
15471547 if (part.partType () == aod::femtouniverseparticle::ParticleType::kV0 ) {
1548- if (!invMLambda (part.mLambda (), part.mAntiLambda ()))
1549- continue ;
15501548 if (mcpart.pdgMCTruth () == kLambda0 ) {
1549+ if (!invMLambda (part.mLambda (), part.mAntiLambda (), 0 ))
1550+ continue ;
15511551 const auto & posChild = parts.iteratorAt (part.globalIndex () - 2 - parts.begin ().globalIndex ());
15521552 const auto & negChild = parts.iteratorAt (part.globalIndex () - 1 - parts.begin ().globalIndex ());
15531553 if constexpr (std::experimental::is_detected<hasSigma, typename PartType::iterator>::value) {
@@ -1573,6 +1573,8 @@ struct FemtoUniversePairTaskTrackV0Extended {
15731573 registryMCreco.fill (HIST (" plus/MCrecoLambda" ), mcpart.pt (), mcpart.eta ()); // lambda
15741574
15751575 } else if (mcpart.pdgMCTruth () == kLambda0Bar ) {
1576+ if (!invMLambda (part.mLambda (), part.mAntiLambda (), 1 ))
1577+ continue ;
15761578 const auto & posChild = parts.iteratorAt (part.globalIndex () - 2 - parts.begin ().globalIndex ());
15771579 const auto & negChild = parts.iteratorAt (part.globalIndex () - 1 - parts.begin ().globalIndex ());
15781580 if constexpr (std::experimental::is_detected<hasSigma, typename PartType::iterator>::value) {
You can’t perform that action at this time.
0 commit comments