Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions PWGLF/DataModel/LFStrangenessTables.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions PWGLF/TableProducer/Strangeness/strangederivedbuilder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down
Loading