|
ACTS
Experiment-independent tracking
|
Base class for all grid types. More...
#include <Acts/Utilities/Grid.hpp>
Public Member Functions | |
| virtual | ~IGrid ()=default |
| virtual boost::container::small_vector< const IAxis *, 3 > | axes () const =0 |
| Get a dynamically sized vector of axis objects for inspection. | |
| virtual std::size_t | dimensions () const =0 |
| Get the number of dimensions of the grid. | |
| virtual std::type_info const & | valueType () const =0 |
| Get the type of the values stored in the grid. | |
Protected Member Functions | |
| virtual std::any | atLocalBinsAny (AnyIndexType indices) const =0 |
| Get the value of a bin for a given set of indices. | |
| virtual std::any | atLocalBinsAny (AnyIndexType indices)=0 |
| Get the value of a bin for a given set of indices. | |
| virtual void | toStream (std::ostream &os) const =0 |
| using | AnyIndexType = boost::container::small_vector<std::size_t, 3> |
| Type-erased interface to access the contents of the grid. | |
| using | AnyPointType = boost::container::small_vector<double, 3> |
| Type alias for dynamic point type (coordinates as vector of doubles). | |
| virtual AnyPointType | lowerLeftBinEdgeAny (AnyIndexType indices) const =0 |
| Get the lower left edge of a bin for a given set of indices. | |
| virtual AnyPointType | upperRightBinEdgeAny (AnyIndexType indices) const =0 |
| Get the upper right edge of a bin for a given set of indices. | |
| virtual AnyPointType | binCenterAny (AnyIndexType indices) const =0 |
| Get the center of a bin for a given set of indices. | |
| virtual AnyIndexType | numLocalBinsAny () const =0 |
| Get the number of local bins for a given set of indices. | |
Base class for all grid types.
| using Acts::IGrid::AnyIndexType = boost::container::small_vector<std::size_t, 3> |
Type-erased interface to access the contents of the grid.
std::any and the dynamically sized index and point types. USE WITH CARE! | using Acts::IGrid::AnyPointType = boost::container::small_vector<double, 3> |
Type alias for dynamic point type (coordinates as vector of doubles).
|
virtualdefault |
|
protectedpure virtual |
Get the value of a bin for a given set of indices.
| indices | The indices to get the value of the bin for |
std::any contains a const pointer to the value Implemented in Acts::Grid< T, Axes >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis, EAxis >, Acts::Grid< BinType, PhiAxisType, ZAxisType, RAxisType >, Acts::Grid< const TrackingVolume *, Axes... >, Acts::Grid< HoughCell< identifier_t >, Axis, Axis >, Acts::Grid< HoughCount_t, HoughAxis, HoughAxis >, Acts::Grid< SurfaceVector, Axis1, Axis2 >, Acts::Grid< T, Axis< AxisType::Equidistant, aType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Equidistant, bType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Variable, bType > >, Acts::Grid< T, Axis< AxisType::Variable, aType > >, Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Equidistant, bType > >, and Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Variable, bType > >.
|
protectedpure virtual |
Get the value of a bin for a given set of indices.
| indices | The indices to get the value of the bin for |
std::any contains a pointer to the value Implemented in Acts::Grid< T, Axes >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis, EAxis >, Acts::Grid< BinType, PhiAxisType, ZAxisType, RAxisType >, Acts::Grid< const TrackingVolume *, Axes... >, Acts::Grid< HoughCell< identifier_t >, Axis, Axis >, Acts::Grid< HoughCount_t, HoughAxis, HoughAxis >, Acts::Grid< SurfaceVector, Axis1, Axis2 >, Acts::Grid< T, Axis< AxisType::Equidistant, aType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Equidistant, bType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Variable, bType > >, Acts::Grid< T, Axis< AxisType::Variable, aType > >, Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Equidistant, bType > >, and Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Variable, bType > >.
|
pure virtual |
Get a dynamically sized vector of axis objects for inspection.
Implemented in Acts::Grid< T, Axes >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis, EAxis >, Acts::Grid< BinType, PhiAxisType, ZAxisType, RAxisType >, Acts::Grid< const TrackingVolume *, Axes... >, Acts::Grid< HoughCell< identifier_t >, Axis, Axis >, Acts::Grid< HoughCount_t, HoughAxis, HoughAxis >, Acts::Grid< SurfaceVector, Axis1, Axis2 >, Acts::Grid< T, Axis< AxisType::Equidistant, aType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Equidistant, bType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Variable, bType > >, Acts::Grid< T, Axis< AxisType::Variable, aType > >, Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Equidistant, bType > >, and Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Variable, bType > >.
|
pure virtual |
Get the center of a bin for a given set of indices.
| indices | The indices to get the center of the bin for |
Implemented in Acts::Grid< T, Axes >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis, EAxis >, Acts::Grid< BinType, PhiAxisType, ZAxisType, RAxisType >, Acts::Grid< const TrackingVolume *, Axes... >, Acts::Grid< HoughCell< identifier_t >, Axis, Axis >, Acts::Grid< HoughCount_t, HoughAxis, HoughAxis >, Acts::Grid< SurfaceVector, Axis1, Axis2 >, Acts::Grid< T, Axis< AxisType::Equidistant, aType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Equidistant, bType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Variable, bType > >, Acts::Grid< T, Axis< AxisType::Variable, aType > >, Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Equidistant, bType > >, and Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Variable, bType > >.
|
pure virtual |
Get the number of dimensions of the grid.
Implemented in Acts::Grid< T, Axes >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis, EAxis >, Acts::Grid< BinType, PhiAxisType, ZAxisType, RAxisType >, Acts::Grid< const TrackingVolume *, Axes... >, Acts::Grid< HoughCell< identifier_t >, Axis, Axis >, Acts::Grid< HoughCount_t, HoughAxis, HoughAxis >, Acts::Grid< SurfaceVector, Axis1, Axis2 >, Acts::Grid< T, Axis< AxisType::Equidistant, aType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Equidistant, bType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Variable, bType > >, Acts::Grid< T, Axis< AxisType::Variable, aType > >, Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Equidistant, bType > >, and Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Variable, bType > >.
|
pure virtual |
Get the lower left edge of a bin for a given set of indices.
| indices | The indices to get the lower left edge of the bin for |
Implemented in Acts::Grid< T, Axes >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis, EAxis >, Acts::Grid< BinType, PhiAxisType, ZAxisType, RAxisType >, Acts::Grid< const TrackingVolume *, Axes... >, Acts::Grid< HoughCell< identifier_t >, Axis, Axis >, Acts::Grid< HoughCount_t, HoughAxis, HoughAxis >, Acts::Grid< SurfaceVector, Axis1, Axis2 >, Acts::Grid< T, Axis< AxisType::Equidistant, aType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Equidistant, bType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Variable, bType > >, Acts::Grid< T, Axis< AxisType::Variable, aType > >, Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Equidistant, bType > >, and Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Variable, bType > >.
|
pure virtual |
Get the number of local bins for a given set of indices.
Implemented in Acts::Grid< T, Axes >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis, EAxis >, Acts::Grid< BinType, PhiAxisType, ZAxisType, RAxisType >, Acts::Grid< const TrackingVolume *, Axes... >, Acts::Grid< HoughCell< identifier_t >, Axis, Axis >, Acts::Grid< HoughCount_t, HoughAxis, HoughAxis >, Acts::Grid< SurfaceVector, Axis1, Axis2 >, Acts::Grid< T, Axis< AxisType::Equidistant, aType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Equidistant, bType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Variable, bType > >, Acts::Grid< T, Axis< AxisType::Variable, aType > >, Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Equidistant, bType > >, and Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Variable, bType > >.
|
protectedpure virtual |
| os | Output stream to write grid representation to |
Implemented in Acts::Grid< T, Axes >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis, EAxis >, Acts::Grid< BinType, PhiAxisType, ZAxisType, RAxisType >, Acts::Grid< const TrackingVolume *, Axes... >, Acts::Grid< HoughCell< identifier_t >, Axis, Axis >, Acts::Grid< HoughCount_t, HoughAxis, HoughAxis >, Acts::Grid< SurfaceVector, Axis1, Axis2 >, Acts::Grid< T, Axis< AxisType::Equidistant, aType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Equidistant, bType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Variable, bType > >, Acts::Grid< T, Axis< AxisType::Variable, aType > >, Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Equidistant, bType > >, and Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Variable, bType > >.
|
pure virtual |
Get the upper right edge of a bin for a given set of indices.
| indices | The indices to get the upper right edge of the bin for |
Implemented in Acts::Grid< T, Axes >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis, EAxis >, Acts::Grid< BinType, PhiAxisType, ZAxisType, RAxisType >, Acts::Grid< const TrackingVolume *, Axes... >, Acts::Grid< HoughCell< identifier_t >, Axis, Axis >, Acts::Grid< HoughCount_t, HoughAxis, HoughAxis >, Acts::Grid< SurfaceVector, Axis1, Axis2 >, Acts::Grid< T, Axis< AxisType::Equidistant, aType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Equidistant, bType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Variable, bType > >, Acts::Grid< T, Axis< AxisType::Variable, aType > >, Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Equidistant, bType > >, and Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Variable, bType > >.
|
pure virtual |
Get the type of the values stored in the grid.
Implemented in Acts::Grid< T, Axes >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis >, Acts::Grid< Acts::AccumulatedVolumeMaterial, EAxis, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis >, Acts::Grid< Acts::Material::ParametersVector, EAxis, EAxis, EAxis >, Acts::Grid< BinType, PhiAxisType, ZAxisType, RAxisType >, Acts::Grid< const TrackingVolume *, Axes... >, Acts::Grid< HoughCell< identifier_t >, Axis, Axis >, Acts::Grid< HoughCount_t, HoughAxis, HoughAxis >, Acts::Grid< SurfaceVector, Axis1, Axis2 >, Acts::Grid< T, Axis< AxisType::Equidistant, aType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Equidistant, bType > >, Acts::Grid< T, Axis< AxisType::Equidistant, aType >, Axis< AxisType::Variable, bType > >, Acts::Grid< T, Axis< AxisType::Variable, aType > >, Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Equidistant, bType > >, and Acts::Grid< T, Axis< AxisType::Variable, aType >, Axis< AxisType::Variable, bType > >.