Function Acts::operator<<(std::ostream&, PdgParticle)

Function Documentation

std::ostream &Acts::operator<<(std::ostream &os, PdgParticle pdg)

Print PDG particle numbers with a descriptive name.

Note

This is a bit hacky since it modifies the namespace of another library (ActsCore). Since the core library does not need to contain the full particle data table, it can only be defined here. It also only extends the output and should not have any side effects. We are probably fine.