Skip to content

Commit 63b3196

Browse files
Fix compilation error
1 parent c1df8f3 commit 63b3196

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/Tasks/Strangeness/derivedlambdakzeroanalysis.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2064,9 +2064,9 @@ struct derivedlambdakzeroanalysis {
20642064
auto v0mother = v0.motherMCPart();
20652065
float rapidityXi = 999.;
20662066
if (std::abs(v0mother.pdgCode()) == PDG_t::kXiMinus)
2067-
rapidity = RecoDecay::y(std::array{v0mother.px(), v0mother.py(), v0mother.pz()}, o2::constants::physics::MassXiMinus);
2067+
rapidityXi = RecoDecay::y(std::array{v0mother.px(), v0mother.py(), v0mother.pz()}, o2::constants::physics::MassXiMinus);
20682068
if (std::abs(v0mother.pdgCode()) == o2::constants::physics::Pdg::kXi0)
2069-
rapidity = RecoDecay::y(std::array{v0mother.px(), v0mother.py(), v0mother.pz()}, o2::constants::physics::MassXi0);
2069+
rapidityXi = RecoDecay::y(std::array{v0mother.px(), v0mother.py(), v0mother.pz()}, o2::constants::physics::MassXi0);
20702070

20712071
if (std::fabs(rapidityXi) > 0.5f)
20722072
return; // not a valid mother rapidity (PDG selection is later)

0 commit comments

Comments
 (0)