Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Core/include/Acts/Utilities/Intersection.hpp>
Public Types | |
using | Position = ActsVector< DIM > |
Position type. | |
using | Status = IntersectionStatus |
Status enum. | |
Public Member Functions | |
constexpr | Intersection (const Position &position, double pathLength, Status status) |
constexpr | operator bool () const |
Returns whether the intersection was successful or not. | |
constexpr const Position & | position () const |
constexpr ActsScalar | pathLength () const |
constexpr Status | status () const |
Static Public Member Functions | |
static constexpr Intersection | invalid () |
static constexpr bool | forwardOrder (const Intersection &aIntersection, const Intersection &bIntersection) |
static constexpr bool | closestOrder (const Intersection &aIntersection, const Intersection &bIntersection) |
Private Member Functions | |
constexpr | Intersection ()=default |
Private Attributes | |
Position | m_position = Position::Zero() |
Position of the intersection. | |
ActsScalar | m_pathLength = std::numeric_limits<double>::infinity() |
Signed path length to the intersection (if valid) | |
Status | m_status = Status::unreachable |
The Status of the intersection. | |
Intersection struct used for position
Definition at line 45 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 45 of file Intersection.hpp
using Acts::Intersection< DIM >::Position = ActsVector<DIM> |
Position type.
Definition at line 48 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 48 of file Intersection.hpp
using Acts::Intersection< DIM >::Status = IntersectionStatus |
Status enum.
Definition at line 50 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 50 of file Intersection.hpp
|
inline |
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 |
Definition at line 57 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 57 of file Intersection.hpp
|
privatedefault |
|
inlinestatic |
Comparison function for closest order i.e. intersection closest to 0 will be first.
Definition at line 85 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 85 of file Intersection.hpp
|
inlinestatic |
Comparison function for forward order i.e. intersection closest to -inf will be first.
Definition at line 76 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 76 of file Intersection.hpp
|
inlinestatic |
Definition at line 72 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 72 of file Intersection.hpp
Referenced by Acts::detail::IntersectionHelper2D::intersectCircleSegment(), Acts::detail::IntersectionHelper2D::intersectEllipse(), and Acts::detail::IntersectionHelper2D::intersectSegment().
|
inlineexplicit |
Returns whether the intersection was successful or not.
Definition at line 62 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 62 of file Intersection.hpp
|
inline |
Definition at line 68 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 68 of file Intersection.hpp
Referenced by ActsFatras::PlanarSurfaceMask::annulusMask(), Acts::Intersection< 3 >::closestOrder(), Acts::Intersection< 3 >::forwardOrder(), Acts::ConeSurface::intersect(), Acts::CylinderSurface::intersect(), and Acts::ObjectIntersection< Surface >::pathLength().
|
inline |
Definition at line 66 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 66 of file Intersection.hpp
Referenced by ActsFatras::PlanarSurfaceMask::annulusMask(), Acts::MultiEigenStepperLoop< extensionlist_t, component_reducer_t, auctioneer_t >::boundState(), and Acts::ObjectIntersection< Surface >::position().
|
inline |
Definition at line 70 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 70 of file Intersection.hpp
Referenced by ActsFatras::PlanarSurfaceMask::annulusMask(), Acts::Intersection< 3 >::closestOrder(), and Acts::ObjectIntersection< Surface >::status().
|
private |
Signed path length to the intersection (if valid)
Definition at line 105 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 105 of file Intersection.hpp
Referenced by Acts::Intersection< 3 >::pathLength().
|
private |
Position of the intersection.
Definition at line 103 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 103 of file Intersection.hpp
Referenced by Acts::Intersection< 3 >::position().
|
private |
The Status of the intersection.
Definition at line 107 of file Intersection.hpp.
View newest version in sPHENIX GitHub at line 107 of file Intersection.hpp
Referenced by Acts::Intersection< 3 >::operator bool(), and Acts::Intersection< 3 >::status().