File ParticleData.hpp
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
Functions
-
std::optional<float> findCharge(PdgParticle pdg)
Find the charge for a given PDG particle number.
- Returns
Charge in native units.
-
std::optional<float> findMass(PdgParticle pdg)
Find the mass for a given PDG particle number.
- Returns
Mass in native units.
-
std::optional<std::string_view> findName(PdgParticle pdg)
Find a descriptive particle name for a given PDG particle number.
- Returns
Particle name.
-
std::optional<ParticleData> findParticleData(PdgParticle pdg)
Find all known particle data for a given PDG particle number.
- Returns
Particle name.
-
std::ostream &operator<<(std::ostream &os, PdgParticle pdg)
Print PDG particle numbers with a descriptive name.
-
std::optional<std::string_view> pdgToShortAbsString(PdgParticle pdg)
-
struct ParticleData
- #include <Acts/Definitions/ParticleData.hpp>
-
std::optional<float> findCharge(PdgParticle pdg)