|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
#include <ParticleProperties.h>

Static Public Member Functions | |
| static ParticleType | getParticleType (const std::string &str) |
| static std::string | getParticleTypeString (const ParticleType &type) |
| static double | getParticleMass (const ParticleType &type) |
| static double | getParticleCharge (const ParticleType &type) |
| static double | getParticleChargeInCoulomb (const ParticleType &type) |
| static double | getParticleLifetime (const ParticleType &type) |
| Return the mean rest-frame lifetime [s]. Throws if the particle is stable. | |
| static double | getParticleAnomaly (const ParticleType &type) |
Static Private Attributes | |
| static const BiMap< ParticleType, std::string > | bmParticleType_s |
| static const std::map< ParticleType, double > | particleMass_m |
| static const std::map< ParticleType, double > | particleCharge_m |
| static const std::map< ParticleType, double > | particleLifetime_m |
Definition at line 48 of file ParticleProperties.h.
|
static |
Return the magnetic moment anomaly G = (g-2)/2. Zero for species that are spin-0, not yet tabulated, or unsupported.
Definition at line 58 of file ParticleProperties.cpp.
References Physics::a_e, Physics::a_mu, Physics::a_p, ANTIPROTON, ELECTRON, MUON, POSITRON, and PROTON.
Referenced by Beam::update().
|
static |
Definition at line 40 of file ParticleProperties.cpp.
References particleCharge_m.
Referenced by getParticleChargeInCoulomb(), and Beam::update().
|
static |
Definition at line 44 of file ParticleProperties.cpp.
References getParticleCharge(), and Physics::q_e.

|
static |
Return the mean rest-frame lifetime [s]. Throws if the particle is stable.
Definition at line 48 of file ParticleProperties.cpp.
References getParticleTypeString(), and particleLifetime_m.

|
static |
Definition at line 36 of file ParticleProperties.cpp.
References particleMass_m.
Referenced by Beam::update().
|
static |
Definition at line 23 of file ParticleProperties.cpp.
References bmParticleType_s, BiMap< Left, Right >::right, and UNNAMED.
Referenced by MuonDecay::MuonDecay(), PartBunch< T, Dim >::PartBunch(), PionDecay::PionDecay(), Beam::update(), Beam::validatePolarization(), and TrackRun::wireDaughterContainers().
|
static |
Definition at line 32 of file ParticleProperties.cpp.
References bmParticleType_s, and BiMap< Left, Right >::left.
Referenced by getParticleLifetime(), and Decay::setDaughterContainer().
|
staticprivate |
Definition at line 73 of file ParticleProperties.h.
Referenced by getParticleType(), and getParticleTypeString().
|
staticprivate |
Definition at line 113 of file ParticleProperties.h.
Referenced by getParticleCharge().
|
staticprivate |
Definition at line 123 of file ParticleProperties.h.
Referenced by getParticleLifetime().
|
staticprivate |
Definition at line 95 of file ParticleProperties.h.
Referenced by getParticleMass().