Template Struct Intersection¶
Defined in File Intersection.hpp
Struct Documentation¶
-
template<unsigned int
DIM>
structActs::Intersection¶ Intersection struct used for position.
Public Types
Public Functions
-
Intersection(const ActsVector<DIM> &sinter, double slength, Status sstatus)¶ Constructor with arguments.
- Parameters
sinter: is the position of the intersectionslength: is the path length to the intersectionsvalid: is a boolean indicating if intersection is valid
-
Intersection() = default¶ Default constructor.
-
operator bool() const¶ Bool() operator for validity checking.
-
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
-
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.
-