LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Helper class for read of a single vector coordinate. More...
#include "geo_vectors_utils.h"
Public Types | |
using | Vector_t = typename Traits_t::Vector_t |
using | Scalar_t = typename Traits_t::Scalar_t |
using | Getter_t = typename Traits_t::Getter_t |
Public Member Functions | |
constexpr | CoordGetter (Getter_t getter) |
Constructor: sets getter and setter functions. More... | |
Scalar_t | operator() (Vector_t const &v) const |
Returns the value of the bound coordinate. More... | |
Scalar_t | get (Vector_t const &v) const |
Returns the value of the bound coordinate. More... | |
Private Types | |
using | Traits_t = CoordGetterTraits< Vector > |
Private Attributes | |
Getter_t | fGetter |
Member function returning the coordinate value. More... | |
Helper class for read of a single vector coordinate.
Definition at line 257 of file geo_vectors_utils.h.
using geo::vect::details::CoordGetter< Vector >::Getter_t = typename Traits_t::Getter_t |
Definition at line 263 of file geo_vectors_utils.h.
using geo::vect::details::CoordGetter< Vector >::Scalar_t = typename Traits_t::Scalar_t |
Definition at line 262 of file geo_vectors_utils.h.
|
private |
Definition at line 258 of file geo_vectors_utils.h.
using geo::vect::details::CoordGetter< Vector >::Vector_t = typename Traits_t::Vector_t |
Definition at line 261 of file geo_vectors_utils.h.
|
inline |
Constructor: sets getter and setter functions.
Definition at line 266 of file geo_vectors_utils.h.
|
inline |
Returns the value of the bound coordinate.
Definition at line 272 of file geo_vectors_utils.h.
|
inline |
Returns the value of the bound coordinate.
Definition at line 269 of file geo_vectors_utils.h.
|
private |
Member function returning the coordinate value.
Definition at line 275 of file geo_vectors_utils.h.