File Charge.hpp¶
-
namespace Acts
Set the Geometry Context PLUGIN.
Set the Calibration Context PLUGIN.
Convenience functions to ease creation of and Acts::InterpolatedMaterialMap and to avoid code duplication.
Set the Mangetic Field Context PLUGIN.
Convenience functions to ease creation of and Acts::InterpolatedBFieldMap and to avoid code duplication.
Currently implemented for the two most common formats: rz and xyz.
-
class AnyCharge
- #include <Acts/EventData/Charge.hpp>
Charge and momentum interpretation for arbitrarily charged particles.
Only a charge magnitude identical to zero is interpreted as representing a neutral particle. This avoids ambiguities that might arise from using an approximate comparison with an arbitrary epsilon.
Public Functions
-
AnyCharge() = delete
Delete default constructor to ensure charge is always explicitely given.
-
template<typename T>
inline constexpr AnyCharge(T absQ) noexcept Construct with the magnitude of the input charge.
Private Members
-
float m_magnitude¶
Friends
- inline friend friend constexpr bool operator== (AnyCharge lhs, AnyCharge rhs) noexcept
Compare for equality.
-
AnyCharge() = delete
-
struct Neutral¶
- #include <Acts/EventData/Charge.hpp>
Charge and momentum interpretation for neutral particles.
Public Functions
-
Neutral() = default¶
Friends
- inline friend friend constexpr 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.
-
Neutral() = default¶
-
struct SinglyCharged¶
- #include <Acts/EventData/Charge.hpp>
Charge and momentum interpretation for particles with +-e charge.
Public Functions
-
SinglyCharged() = default¶
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¶
-
class AnyCharge