Skip to content

Commit 69a3d6e

Browse files
author
Lucia Anna Tarasovicova
committed
fix v0 pdg code variable
1 parent f8f7366 commit 69a3d6e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

ALICE3/TableProducer/alice3strangenessFinder.cxx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,6 @@ struct Alice3strangenessFinder {
465465
bool isK0s = false;
466466
bool isLambda = false;
467467
bool isAntiLambda = false;
468-
int v0PdgCode = 0;
469468
int iPosPart = 0;
470469
for (auto const& posParticle : positiveMCParticlesGrouped) {
471470
radiusPos = std::hypot(posParticle.vx(), posParticle.vy());
@@ -480,14 +479,8 @@ struct Alice3strangenessFinder {
480479
}
481480
if (radiusPos == radiusNeg) {
482481
isK0s = (posParticle.pdgCode() == kPiPlus && negParticle.pdgCode() == kPiMinus);
483-
if (isK0s)
484-
v0PdgCode = kK0Short;
485482
isLambda = (posParticle.pdgCode() == kProton && negParticle.pdgCode() == kPiMinus);
486-
if (isLambda)
487-
v0PdgCode = kLambda0;
488483
isAntiLambda = (posParticle.pdgCode() == kPiPlus && negParticle.pdgCode() == kProtonBar);
489-
if (isAntiLambda)
490-
v0PdgCode = kLambda0Bar;
491484
if (isK0s || isLambda || isAntiLambda) {
492485
if (!isK0s && isK0Gun)
493486
continue;

0 commit comments

Comments
 (0)