|
ACTS
Experiment-independent tracking
|
Six-component parameter vector expressed in a surface-bound coordinate frame. More...
#include <detray/tracks/bound_track_parameters.hpp>
Public Types | |
Type definitions for the struct | |
| using | algebra_type = algebra_t |
| Algebra backend used for the vector operations. | |
| using | scalar_type = dscalar<algebra_t> |
| Scalar type used by the stored parameters. | |
| using | point2_type = dpoint2D<algebra_t> |
| Two-dimensional type for local surface coordinates. | |
| using | vector3_type = dvector3D<algebra_t> |
| Three-dimensional type for directions and momentum. | |
| using | vector_type = bound_vector<algebra_t> |
| Fixed-size vector storing the six bound parameters. | |
Public Member Functions | |
| bound_parameters_vector ()=default | |
| Default constructor. | |
| bound_parameters_vector (const point2_type &loc_p, const scalar_type phi, const scalar_type theta, const scalar_type qop, const scalar_type t) | |
| Construct from single parameters. | |
| bound_parameters_vector (const vector_type &vec) | |
| Construct from a 6-dim vector of parameters. | |
| point2_type | bound_local () const |
| vector3_type | dir () const |
| constexpr bool | is_invalid (const bool do_check=true) const |
| vector3_type | mom (const scalar_type q) const |
| bool | operator== (const bound_parameters_vector &rhs) const |
| Compare all six bound parameters within scalar precision. | |
| decltype(auto) | operator[] (const std::size_t i) |
| Convenience access to the track parameters - non-const. | |
| scalar_type | operator[] (const std::size_t i) const |
| Convenience access to the track parameters - const. | |
| scalar_type | p (const scalar_type q) const |
| scalar_type | phi () const |
| scalar_type | pT (const scalar_type q) const |
| scalar_type | pz (const scalar_type q) const |
| scalar_type | qop () const |
| scalar_type | qopT () const |
| scalar_type | qopz () const |
| void | set_bound_local (const point2_type &pos) |
| Set the bound local position. | |
| void | set_phi (const scalar_type phi) |
| Set the global phi angle. | |
| void | set_qop (const scalar_type qop) |
| Set the q/p value. | |
| void | set_theta (const scalar_type theta) |
| Set the global theta angle. | |
| void | set_time (const scalar_type t) |
| Set the time. | |
| void | set_vector (const vector_type &v, const bool skip_check=false) |
| Set the underlying vector. | |
| scalar_type | theta () const |
| scalar_type | time () const |
| vector_type & | vector () |
| Access the track parameters as a 6-dim vector - non-const. | |
| const vector_type & | vector () const |
| Access the track parameters as a 6-dim vector - const. | |
Six-component parameter vector expressed in a surface-bound coordinate frame.
|
explicit |
Construct from a 6-dim vector of parameters.
| vec | vector containing the bound parameters in canonical order |
| detray::bound_parameters_vector< algebra_t >::bound_parameters_vector | ( | const point2_type & | loc_p, |
| const scalar_type | phi, | ||
| const scalar_type | theta, | ||
| const scalar_type | qop, | ||
| const scalar_type | t ) |
Construct from single parameters.
| loc_p | the bound local position |
| phi | the global phi angle of the track direction |
| theta | the global theta angle of the track direction |
| qop | the q/p value |
| t | the time |
| point2_type detray::bound_parameters_vector< algebra_t >::bound_local | ( | ) | const |
| vector3_type detray::bound_parameters_vector< algebra_t >::dir | ( | ) | const |
|
constexpr |
| do_check | toggle checking (e.g. don't trigger assertions for documented errors) |
| vector3_type detray::bound_parameters_vector< algebra_t >::mom | ( | const scalar_type | q | ) | const |
| q | particle charge |
| bool detray::bound_parameters_vector< algebra_t >::operator== | ( | const bound_parameters_vector< algebra_t > & | rhs | ) | const |
Compare all six bound parameters within scalar precision.
| rhs | parameter vector to compare with this vector |
| decltype(auto) detray::bound_parameters_vector< algebra_t >::operator[] | ( | const std::size_t | i | ) |
Convenience access to the track parameters - non-const.
| i | index in the bound parameter vector |
| scalar_type detray::bound_parameters_vector< algebra_t >::operator[] | ( | const std::size_t | i | ) | const |
Convenience access to the track parameters - const.
| i | index in the bound parameter vector |
| scalar_type detray::bound_parameters_vector< algebra_t >::p | ( | const scalar_type | q | ) | const |
| q | particle charge |
| scalar_type detray::bound_parameters_vector< algebra_t >::phi | ( | ) | const |
| scalar_type detray::bound_parameters_vector< algebra_t >::pT | ( | const scalar_type | q | ) | const |
| q | particle charge |
| scalar_type detray::bound_parameters_vector< algebra_t >::pz | ( | const scalar_type | q | ) | const |
| q | particle charge |
| scalar_type detray::bound_parameters_vector< algebra_t >::qop | ( | ) | const |
| scalar_type detray::bound_parameters_vector< algebra_t >::qopT | ( | ) | const |
| scalar_type detray::bound_parameters_vector< algebra_t >::qopz | ( | ) | const |
| void detray::bound_parameters_vector< algebra_t >::set_bound_local | ( | const point2_type & | pos | ) |
Set the bound local position.
| pos | new local position |
| void detray::bound_parameters_vector< algebra_t >::set_phi | ( | const scalar_type | phi | ) |
Set the global phi angle.
| phi | azimuth in radians |
| void detray::bound_parameters_vector< algebra_t >::set_qop | ( | const scalar_type | qop | ) |
Set the q/p value.
| qop | signed charge divided by momentum |
| void detray::bound_parameters_vector< algebra_t >::set_theta | ( | const scalar_type | theta | ) |
Set the global theta angle.
| theta | polar angle in radians |
| void detray::bound_parameters_vector< algebra_t >::set_time | ( | const scalar_type | t | ) |
Set the time.
| t | time value |
| void detray::bound_parameters_vector< algebra_t >::set_vector | ( | const vector_type & | v, |
| const bool | skip_check = false ) |
Set the underlying vector.
| v | new parameter vector |
| skip_check | bypass the validity assertion when true |
| scalar_type detray::bound_parameters_vector< algebra_t >::theta | ( | ) | const |
| scalar_type detray::bound_parameters_vector< algebra_t >::time | ( | ) | const |
| vector_type & detray::bound_parameters_vector< algebra_t >::vector | ( | ) |
Access the track parameters as a 6-dim vector - non-const.
| const vector_type & detray::bound_parameters_vector< algebra_t >::vector | ( | ) | const |
Access the track parameters as a 6-dim vector - const.