|
ACTS
Experiment-independent tracking
|
Interpolate material classification values from material values on a given grid. More...
#include <Acts/Material/InterpolatedMaterialMap.hpp>
Classes | |
| struct | Cache |
| Temporary storage of a certain cell to improve material access. More... | |
Public Member Functions | |
| InterpolatedMaterialMap (Mapper_t &&mapper) | |
| Create interpolated map. | |
| InterpolatedMaterialMap (Mapper_t &&mapper, BinUtility bu) | |
| Create interpolated map. | |
| const BinUtility & | binUtility () const |
| Return the BinUtility. | |
| const Mapper_t & | getMapper () const |
| Convenience method to access underlying material mapper. | |
| Material | getMaterial (const Vector3 &position) const |
| Retrieve the interpolated material. | |
| Material | getMaterial (const Vector3 &position, Cache &cache) const |
| Retrieve material. | |
| Material | getMaterialGradient (const Vector3 &position, ActsMatrix< 5, 5 > &) const |
| Retrieve material value & its "gradient". | |
| Material | getMaterialGradient (const Vector3 &position, ActsMatrix< 5, 5 > &, Cache &) const |
| Retrieve material value & its "gradient". | |
| bool | isInside (const Vector3 &position) const |
| Check whether given 3D position is inside look-up domain. | |
| const Material | material (const Vector3 &position) const override |
| Retrieve the binned material. | |
| std::ostream & | toStream (std::ostream &sl) const override |
| Output Method for std::ostream. | |
| Public Member Functions inherited from Acts::IVolumeMaterial | |
| virtual | ~IVolumeMaterial ()=default |
| Virtual Destructor. | |
Interpolate material classification values from material values on a given grid.
This class implements a material service which is initialized by a material map defined by:
The material value for a given global position is then determined by:
| G | Type of the grid |
|
explicit |
Create interpolated map.
| [in] | mapper | Material map |
| Acts::InterpolatedMaterialMap< Mapper_t >::InterpolatedMaterialMap | ( | Mapper_t && | mapper, |
| BinUtility | bu ) |
Create interpolated map.
| [in] | mapper | Material map |
| [in] | bu | BinUtility for build from |
| const BinUtility & Acts::InterpolatedMaterialMap< Mapper_t >::binUtility | ( | ) | const |
Return the BinUtility.
| const Mapper_t & Acts::InterpolatedMaterialMap< Mapper_t >::getMapper | ( | ) | const |
Convenience method to access underlying material mapper.
| Material Acts::InterpolatedMaterialMap< Mapper_t >::getMaterial | ( | const Vector3 & | position | ) | const |
Retrieve the interpolated material.
| [in] | position | Global 3D position |
| Material Acts::InterpolatedMaterialMap< Mapper_t >::getMaterial | ( | const Vector3 & | position, |
| Cache & | cache ) const |
Retrieve material.
| [in] | position | Global 3D position |
| [in,out] | cache | Cache object. Contains material cell used for interpolation |
| Material Acts::InterpolatedMaterialMap< Mapper_t >::getMaterialGradient | ( | const Vector3 & | position, |
| ActsMatrix< 5, 5 > & | ) const |
Retrieve material value & its "gradient".
| [in] | position | Global 3D position |
| Material Acts::InterpolatedMaterialMap< Mapper_t >::getMaterialGradient | ( | const Vector3 & | position, |
| ActsMatrix< 5, 5 > & | , | ||
| Cache & | ) const |
Retrieve material value & its "gradient".
| [in] | position | Global 3D position |
| bool Acts::InterpolatedMaterialMap< Mapper_t >::isInside | ( | const Vector3 & | position | ) | const |
Check whether given 3D position is inside look-up domain.
| [in] | position | Global 3D position |
true if position is inside the defined map, otherwise false
|
overridevirtual |
Retrieve the binned material.
| [in] | position | Global 3D position |
Implements Acts::IVolumeMaterial.
|
overridevirtual |
Output Method for std::ostream.
| sl | The outoput stream |
Implements Acts::IVolumeMaterial.