|
ACTS
Experiment-independent tracking
|
This is an accessor for cases where the material is directly stored in the grid, it simply forwards the grid entry in const and non-const way. More...
#include <Acts/Material/GridSurfaceMaterial.hpp>
Public Types | |
| using | grid_value_type = MaterialSlab |
| Broadcast the type of the material slab. | |
Public Member Functions | |
| template<typename grid_type> | |
| void | scale (grid_type &grid, double scale) |
| Scale the material (by scaling the thickness). | |
| template<typename grid_type> | |
| const MaterialSlab & | slab (grid_type &grid, const typename grid_type::point_t &point) const |
| Direct const access to the material slap sorted in the grid. | |
| Public Member Functions inherited from Acts::IGridMaterialAccessor | |
| virtual | ~IGridMaterialAccessor ()=default |
This is an accessor for cases where the material is directly stored in the grid, it simply forwards the grid entry in const and non-const way.
Broadcast the type of the material slab.
| void Acts::GridMaterialAccessor::scale | ( | grid_type & | grid, |
| double | scale ) |
Scale the material (by scaling the thickness).
| grid | the grid (ignored) |
| scale | the amount of the scaling |
| const MaterialSlab & Acts::GridMaterialAccessor::slab | ( | grid_type & | grid, |
| const typename grid_type::point_t & | point ) const |
Direct const access to the material slap sorted in the grid.
| grid_type | the type of the grid, also defines the point type |
| grid | the grid |
| point | the lookup point (already casted from global, or filled from local) |