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