|
ACTS
Experiment-independent tracking
|
Intersection struct containing the position, path length and status of an intersection. More...
#include <Acts/Utilities/Intersection.hpp>
Public Types | |
| using | Position = Eigen::Map<const ActsVector<DIM>> |
| Position type. | |
Public Member Functions | |
| constexpr | Intersection (const ActsVector< DIM > &position, double pathLength, IntersectionStatus status) noexcept |
| Constructor with arguments. | |
| constexpr | Intersection (const Intersection &) noexcept=default |
| Copy constructor. | |
| constexpr | Intersection (const Position &position, double pathLength, IntersectionStatus status) noexcept |
| Constructor from position vector, path length, and status. | |
| constexpr | Intersection (Intersection &&) noexcept=default |
| Move constructor. | |
| constexpr | Intersection (std::span< const double, DIM > position, double pathLength, IntersectionStatus status) noexcept |
| Constructor from position span, path length, and status. | |
| constexpr bool | isValid () const noexcept |
| Returns whether the intersection was successful or not. | |
| constexpr Intersection & | operator= (const Intersection &) noexcept=default |
| Copy assignment operator. | |
| constexpr Intersection & | operator= (Intersection &&) noexcept=default |
| Move assignment operator. | |
| constexpr double | pathLength () const noexcept |
| Returns the path length to the intersection. | |
| Position | position () const noexcept |
| Returns the position of the interseciton. | |
| constexpr IntersectionStatus | status () const noexcept |
| Returns the intersection status enum. | |
Static Public Member Functions | |
| static constexpr bool | closestForwardOrder (const Intersection &aIntersection, const Intersection &bIntersection) noexcept |
| Comparison function for closest forward order i.e. | |
| static constexpr bool | closestOrder (const Intersection &aIntersection, const Intersection &bIntersection) noexcept |
| Comparison function for closest order i.e. | |
| static constexpr Intersection | Invalid () noexcept |
| Static factory to create an invalid intersection. | |
| static constexpr bool | pathLengthOrder (const Intersection &aIntersection, const Intersection &bIntersection) noexcept |
| Comparison function for path length order i.e. | |
Intersection struct containing the position, path length and status of an intersection.
| using Acts::Intersection< DIM >::Position = Eigen::Map<const ActsVector<DIM>> |
Position type.
|
constexprnoexcept |
Constructor with arguments.
| position | is the position of the intersection |
| pathLength | is the path length to the intersection |
| status | is an enum indicating the status of the intersection |
|
constexprnoexcept |
Constructor from position vector, path length, and status.
| position | The intersection position |
| pathLength | The path length to the intersection |
| status | The intersection status |
|
constexprnoexcept |
Constructor from position span, path length, and status.
| position | Span of position coordinates |
| pathLength | The path length to the intersection |
| status | The intersection status |
|
constexprdefaultnoexcept |
Copy constructor.
|
constexprdefaultnoexcept |
Move constructor.
|
staticconstexprnoexcept |
Comparison function for closest forward order i.e.
intersection closest to 0 with positive path length will be first.
| aIntersection | First intersection to compare |
| bIntersection | Second intersection to compare |
|
staticconstexprnoexcept |
Comparison function for closest order i.e.
intersection closest to 0 will be first.
| aIntersection | First intersection to compare |
| bIntersection | Second intersection to compare |
|
staticconstexprnoexcept |
Static factory to create an invalid intersection.
|
constexprnoexcept |
Returns whether the intersection was successful or not.
|
constexprdefaultnoexcept |
Copy assignment operator.
|
constexprdefaultnoexcept |
Move assignment operator.
|
constexprnoexcept |
Returns the path length to the intersection.
|
staticconstexprnoexcept |
Comparison function for path length order i.e.
intersection closest to -inf will be first.
| aIntersection | First intersection to compare |
| bIntersection | Second intersection to compare |
|
noexcept |
Returns the position of the interseciton.
|
constexprnoexcept |
Returns the intersection status enum.