|
ACTS
Experiment-independent tracking
|
Record of a surface intersection along a track. More...
#include <detray/test/utils/data_record.hpp>
Public Types | |
| using | algebra_type = dalgebra<typename detector_t::algebra_type, double> |
| Algebra type used to store values in double precision. | |
| using | intersection_type |
| Intersection result type stored by this record. | |
| using | point3_type = dpoint3D<algebra_type> |
| 3D point type used to store positions. | |
| using | scalar_type = dscalar<algebra_type> |
| Scalar type used by this record. | |
| using | vector3_type = dvector3D<algebra_type> |
| 3D vector type used to store directions. | |
Public Member Functions | |
| constexpr | intersection_record (const typename detector_t::point3_type &position, const typename detector_t::vector3_type &direction, const intersection_type &intr, const double q=detray::detail::invalid_value< double >(), const double p=detray::detail::invalid_value< double >(), const dindex v_idx=dindex_invalid) |
| The particle charge is not known in the navigation, but might be provided in a different context. | |
| template<concepts::value V = value_t> | |
| auto | position () const |
| GettersGet the intersection position. | |
| template<concepts::value V = value_t> | |
| auto | direction () const |
| Get the track direction. | |
| const intersection_type & | intersection () const |
| Get the intersection result. | |
| intersection_type & | intersection () |
| Get the mutable intersection result. | |
| dindex | volume () const |
| Get the containing volume index. | |
| template<concepts::value V = value_t> | |
| auto | charge () const |
| Get the particle charge. | |
| template<concepts::value V = value_t> | |
| auto | p () const |
| Get the momentum magnitude. | |
| free_track_parameters< typename detector_t::algebra_type > | track_param () const |
| template<concepts::point3D point_t> | |
| void | position (const point_t &position) |
| SettersSet the intersection position. | |
| template<concepts::vector3D vector_t> | |
| void | direction (const vector_t &dir) |
| Set the track direction. | |
| void | intersection (const intersection_type &intr) |
| Set the intersection result. | |
| void | volume (dindex vol_idx) |
| Set the containing volume index. | |
| template<concepts::scalar scalar_t> | |
| void | charge (const scalar_t q) |
| Set the particle charge. | |
| template<concepts::scalar scalar_t> | |
| void | p (const scalar_t p) |
| Set the momentum magnitude. | |
Record of a surface intersection along a track.
| using detray::intersection_record< detector_t >::intersection_type |
Intersection result type stored by this record.
|
constexpr |
The particle charge is not known in the navigation, but might be provided in a different context.
| position | Global intersection position. |
| direction | Track direction at the intersection. |
| intr | Intersection result. |
| q | Particle charge. |
| p | Momentum magnitude. |
| v_idx | Index of the volume containing the intersection. |
| auto detray::intersection_record< detector_t >::charge | ( | ) | const |
Get the particle charge.
| void detray::intersection_record< detector_t >::charge | ( | const scalar_t | q | ) |
Set the particle charge.
| q | New charge value. |
| auto detray::intersection_record< detector_t >::direction | ( | ) | const |
Get the track direction.
| void detray::intersection_record< detector_t >::direction | ( | const vector_t & | dir | ) |
Set the track direction.
| dir | New track direction. |
| intersection_type & detray::intersection_record< detector_t >::intersection | ( | ) |
Get the mutable intersection result.
| const intersection_type & detray::intersection_record< detector_t >::intersection | ( | ) | const |
Get the intersection result.
| void detray::intersection_record< detector_t >::intersection | ( | const intersection_type & | intr | ) |
Set the intersection result.
| intr | New intersection result. |
| auto detray::intersection_record< detector_t >::p | ( | ) | const |
Get the momentum magnitude.
| void detray::intersection_record< detector_t >::p | ( | const scalar_t | p | ) |
Set the momentum magnitude.
| p | New momentum magnitude. |
| auto detray::intersection_record< detector_t >::position | ( | ) | const |
GettersGet the intersection position.
| void detray::intersection_record< detector_t >::position | ( | const point_t & | position | ) |
SettersSet the intersection position.
| position | New global position. |
| free_track_parameters< typename detector_t::algebra_type > detray::intersection_record< detector_t >::track_param | ( | ) | const |
| dindex detray::intersection_record< detector_t >::volume | ( | ) | const |
Get the containing volume index.
| void detray::intersection_record< detector_t >::volume | ( | dindex | vol_idx | ) |
Set the containing volume index.
| vol_idx | New volume index. |