Struct Acts::Intersection¶
-
template<unsigned int DIM>
struct Acts::Intersection Intersection struct used for position.
Public Types
-
enum Status
Nested Status enum.
Values:
-
enumerator missed
-
enumerator unreachable
-
enumerator reachable
-
enumerator onSurface
-
enumerator missed
Public Functions
-
inline Intersection(const ActsVector<DIM> &sinter, double slength, Status sstatus)
Constructor with arguments.
- Parameters
sinter – is the position of the intersection
slength – is the path length to the intersection
sstatus – is an enum indicating the status of the intersection
-
Intersection() = default
Default constructor.
-
inline explicit operator bool() const
Bool() operator for validity checking.
-
inline bool operator<(const Intersection<DIM> &si) const
Smaller operator for sorting,.
it respects the validity of the intersection
- Parameters
si – is the intersection for testing
-
inline bool operator>(const Intersection<DIM> &si) const
Greater operator for sorting,.
it respects the validity of the intersection
- Parameters
si – is the intersection for testing
Public Members
-
ActsVector<DIM>::Scalar pathLength{std::numeric_limits<double>::infinity()}
Signed path length to the intersection (if valid)
-
ActsVector<DIM> position = ActsVector<DIM>::Zero()
Position of the intersection.
-
Status status = {Status::unreachable}
The Status of the intersection.
-
enum Status