diff --git a/PWGLF/DataModel/LFStrangenessTables.h b/PWGLF/DataModel/LFStrangenessTables.h index e23cf922e38..c572ffe0f31 100644 --- a/PWGLF/DataModel/LFStrangenessTables.h +++ b/PWGLF/DataModel/LFStrangenessTables.h @@ -1740,11 +1740,11 @@ DECLARE_SOA_DYNAMIC_COLUMN(Phi, phi, //! neutron phi in the range [0, 2pi) DECLARE_SOA_DYNAMIC_COLUMN(Eta, eta, //! neutron pseudorapidity [](float px, float py, float pz) -> float { return RecoDecay::eta(std::array{px, py, pz}); }); DECLARE_SOA_DYNAMIC_COLUMN(Y, y, //! neutron rapidity - [](float pz, float e) -> float { return std::atanh(pz/e); }); + [](float pz, float e) -> float { return std::atanh(pz / e); }); } // namespace zdcneutrons DECLARE_SOA_TABLE(ZDCNeutrons, "AOD", "ZDCNEUTRON", //! MC properties of the neutrons within ZDC acceptance (for UPC analysis) - mcparticle::PdgCode, mcparticle::StatusCode, mcparticle::Flags, + mcparticle::PdgCode, mcparticle::StatusCode, mcparticle::Flags, mcparticle::Vx, mcparticle::Vy, mcparticle::Vz, mcparticle::Vt, mcparticle::Px, mcparticle::Py, mcparticle::Pz, mcparticle::E, // Dynamic columns for manipulating information diff --git a/PWGLF/TableProducer/Strangeness/strangederivedbuilder.cxx b/PWGLF/TableProducer/Strangeness/strangederivedbuilder.cxx index e7e55770b40..4e417eab8ab 100644 --- a/PWGLF/TableProducer/Strangeness/strangederivedbuilder.cxx +++ b/PWGLF/TableProducer/Strangeness/strangederivedbuilder.cxx @@ -1070,8 +1070,8 @@ struct strangederivedbuilder { } if (std::abs(mcPart.pdgCode()) == kNeutron) { // check if it is a neutron or anti-neutron - if (std::abs(mcPart.eta()) > 8.7) { // check if it is within ZDC acceptance - zdcNeutrons(mcPart.pdgCode(), mcPart.statusCode(), mcPart.flags(), + if (std::abs(mcPart.eta()) > 8.7) { // check if it is within ZDC acceptance + zdcNeutrons(mcPart.pdgCode(), mcPart.statusCode(), mcPart.flags(), mcPart.vx(), mcPart.vy(), mcPart.vz(), mcPart.vt(), mcPart.px(), mcPart.py(), mcPart.pz(), mcPart.e());