File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
PWGCF/TwoParticleCorrelations/Tasks Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -764,11 +764,11 @@ struct LambdaTableProducer {
764764 // get information about secondary lambdas
765765 if (cRecSecondaryLambda) {
766766 auto lambdaMothers = mcpart.template mothers_as <aod::McParticles>();
767- if (std::abs (lambdaMothers[0 ].pdgCode ()) == 3112 || std::abs (lambdaMothers[0 ].pdgCode ()) == 3212 || std::abs (lambdaMothers[0 ].pdgCode ()) == 3222 ) {
767+ if (std::abs (lambdaMothers[0 ].pdgCode ()) == kSigmaMinus || std::abs (lambdaMothers[0 ].pdgCode ()) == kSigma0 || std::abs (lambdaMothers[0 ].pdgCode ()) == kSigmaPlus ) {
768768 histos.fill (HIST (" Tracks/h2f_lambda_from_sigma" ), mcpart.pdgCode (), mcpart.pt ());
769- } else if (std::abs (lambdaMothers[0 ].pdgCode ()) == 3312 || std::abs (lambdaMothers[0 ].pdgCode ()) == 3322 ) {
769+ } else if (std::abs (lambdaMothers[0 ].pdgCode ()) == kXiMinus || std::abs (lambdaMothers[0 ].pdgCode ()) == kXi0 ) {
770770 histos.fill (HIST (" Tracks/h2f_lambda_from_cascade" ), mcpart.pdgCode (), mcpart.pt ());
771- } else if (std::abs (lambdaMothers[0 ].pdgCode ()) == 3334 ) {
771+ } else if (std::abs (lambdaMothers[0 ].pdgCode ()) == kOmegaMinus ) {
772772 histos.fill (HIST (" Tracks/h2f_lambda_from_omega" ), mcpart.pdgCode (), mcpart.pt ());
773773 }
774774 }
You can’t perform that action at this time.
0 commit comments