|
ACTS
Experiment-independent tracking
|
describes a straight-line trajectory More...
#include <detray/tracks/ray.hpp>
Public Types | |
| using | algebra_type = algebra_t |
| Algebra backend used by the ray calculations. | |
| using | point3_type = dpoint3D<algebra_type> |
| Three-dimensional position type. | |
| using | scalar_type = dscalar<algebra_type> |
| Scalar type used for path length. | |
| using | transform3_type = dtransform3D<algebra_type> |
| Three-dimensional transform type associated with the algebra. | |
| using | vector3_type = dvector3D<algebra_type> |
| Three-dimensional direction type. | |
Public Member Functions | |
| template<typename A> | |
| ray (const free_track_parameters< A > &track) | |
| Parametrized constructor that complies with track interface. | |
| ray (const point3_type &pos, const scalar_type, const vector3_type &dir, const scalar_type) | |
| Parametrized constructor that complies with track interface. | |
| ray (point3_type &&pos, vector3_type &&dir) | |
| Parametrized constructor from a position and direction. | |
| const vector3_type & | dir () const |
| Return the ray direction. | |
| const vector3_type & | dir (const scalar_type) const |
| Return the constant direction at any path length. | |
| const point3_type & | pos () const |
| Return the ray origin. | |
| point3_type | pos (const scalar_type s) const |
| Evaluate the ray at a path length. | |
| constexpr scalar_type | qop () const |
| void | set_dir (vector3_type dir) |
| void | set_pos (point3_type pos) |
| Set the ray origin. | |
describes a straight-line trajectory
| detray::detail::ray< algebra_t >::ray | ( | point3_type && | pos, |
| vector3_type && | dir ) |
Parametrized constructor from a position and direction.
| pos | the track position |
| dir | the track momentum direction |
| detray::detail::ray< algebra_t >::ray | ( | const point3_type & | pos, |
| const scalar_type | , | ||
| const vector3_type & | dir, | ||
| const scalar_type | ) |
Parametrized constructor that complies with track interface.
| pos | the track position |
| dir | the track momentum direction |
|
explicit |
Parametrized constructor that complies with track interface.
| track | the track state that should be approximated |
| const vector3_type & detray::detail::ray< algebra_t >::dir | ( | ) | const |
Return the ray direction.
| const vector3_type & detray::detail::ray< algebra_t >::dir | ( | const scalar_type | ) | const |
Return the constant direction at any path length.
| const point3_type & detray::detail::ray< algebra_t >::pos | ( | ) | const |
Return the ray origin.
| point3_type detray::detail::ray< algebra_t >::pos | ( | const scalar_type | s | ) | const |
Evaluate the ray at a path length.
| s | signed distance from the origin |
|
constexpr |
| void detray::detail::ray< algebra_t >::set_dir | ( | vector3_type | dir | ) |
| dir | new direction of the ray |
| void detray::detail::ray< algebra_t >::set_pos | ( | point3_type | pos | ) |
Set the ray origin.
| pos | new position on the ray |