Struct Acts::Neutral

struct Neutral

Charge and momentum interpretation for neutral particles.

Public Functions

Neutral() = default
template<typename T>
inline constexpr Neutral(T absQ) noexcept

Construct and verify the input charge magnitude (in debug builds).

This constructor is only provided to allow consistent construction.

template<typename T>
inline constexpr T extractCharge(T) const noexcept
template<typename T>
inline constexpr T extractMomentum(T pInv) const noexcept

Friends

inline friend constexpr bool operator==(Neutral, Neutral) noexcept

Compare for equality.

This is always true as Neutral has no internal state. Must be available to provide a consistent interface.