Struct Acts::Neutral
-
struct Neutral
Charge and momentum interpretation for neutral particles.
Public Functions
-
constexpr Neutral() = default
-
inline constexpr Neutral(float absQ) noexcept
Construct and verify the input charge magnitude (in debug builds).
This constructor is only provided to allow consistent construction.
-
inline constexpr float absQ() const noexcept
-
template<typename T>
inline constexpr auto extractCharge(T) const noexcept
-
template<typename T>
inline constexpr auto extractMomentum(T qOverP) const noexcept
Friends
- inline friend constexpr friend bool operator== (Neutral, Neutral) noexcept
Compare for equality.
This is always
true
asNeutral
has no internal state. Must be available to provide a consistent interface.
-
constexpr Neutral() = default