|
ACTS
Experiment-independent tracking
|
GridSurfaceMaterialT. More...
#include <Acts/Material/GridSurfaceMaterial.hpp>
Public Types | |
| using | BoundToGridLocalDelegate |
| Type alias for bound coordinates to grid local coordinates conversion delegate. | |
| using | GlobalToGridLocalDelegate |
| Type alias for global coordinates to grid local coordinates conversion delegate. | |
| using | grid_type = grid_t |
| Broadcast grid type. | |
| using | material_accessor_type = material_accessor_t |
| Broadcast material accessor type. | |
Public Member Functions | |
| GridSurfaceMaterialT (grid_type &&grid, material_accessor_type &&materialAccessor, BoundToGridLocalDelegate boundToGridLocal, GlobalToGridLocalDelegate globalToGridLocal) | |
| Constructor for indexed surface material. | |
| const GridAccess::IBoundToGridLocal & | boundToGridLocal () const final |
| Accessor to the bound to grid local delegate. | |
| const BoundToGridLocalDelegate & | boundToGridLocalDelegate () const |
| Accessor to the bound to grid local delegate. | |
| const GridAccess::IGlobalToGridLocal & | globalToGridLocal () const final |
| Accessor to the global to grid local delegate. | |
| const GlobalToGridLocalDelegate & | globalToGridLocalDelegate () const |
| Accessor to the global to grid local delegate. | |
| const grid_type & | grid () const final |
| Accessor to the grid. | |
| AnyGridConstView< typename material_accessor_t::grid_value_type > | gridConstView () const final |
| AnyGridView< typename material_accessor_t::grid_value_type > | gridView () final |
| const material_accessor_type & | materialAccessor () const final |
| Accessor to the material accessor. | |
| const MaterialSlab & | materialSlab (const Vector2 &lp) const final |
| Return method for full material description of the Surface. | |
| virtual MaterialSlab | materialSlab (const Vector2 &lp, Direction pDir, MaterialUpdateMode mode) const |
| Return method for fully scaled material description of the Surface. | |
| const MaterialSlab & | materialSlab (const Vector3 &gp) const final |
| Return method for full material description of the Surface. | |
| virtual MaterialSlab | materialSlab (const Vector3 &gp, Direction pDir, MaterialUpdateMode mode) const |
| Return method for full material description of the Surface. | |
| ISurfaceMaterial & | scale (double factor) final |
| Scale operator. | |
| std::ostream & | toStream (std::ostream &sl) const final |
| Output Method for std::ostream, to be overloaded by child classes. | |
| Public Member Functions inherited from Acts::ISurfaceMaterial | |
| ISurfaceMaterial ()=default | |
| Constructor. | |
| ISurfaceMaterial (double splitFactor) | |
| Constructor. | |
| ISurfaceMaterial (double splitFactor, MappingType mappingType) | |
| Constructor. | |
| virtual | ~ISurfaceMaterial ()=default |
| Destructor. | |
| double | factor (Direction pDir, MaterialUpdateMode mode) const |
| Update pre factor. | |
| MappingType | mappingType () const |
| Return the type of surface material mapping. | |
| std::string | toString () const |
| output into a string | |
Additional Inherited Members | |
| Protected Attributes inherited from Acts::ISurfaceMaterial | |
| MappingType | m_mappingType {MappingType::Default} |
| Use the default mapping type by default. | |
| double | m_splitFactor {1.} |
| the split factor in favour of oppositePre | |
GridSurfaceMaterialT.
It extends the ISurfaceMaterial base class and allows to create material maps associated to a grid structure
| grid_type | is the type of the grid used here |
| material_accessor_type | is the type of the accessor to the material |
It is templated on the material type and a slab accessor type in order to allow it to be used in the material recording as well.
| using Acts::GridSurfaceMaterialT< grid_t, material_accessor_t >::BoundToGridLocalDelegate |
Type alias for bound coordinates to grid local coordinates conversion delegate.
| using Acts::GridSurfaceMaterialT< grid_t, material_accessor_t >::GlobalToGridLocalDelegate |
Type alias for global coordinates to grid local coordinates conversion delegate.
| using Acts::GridSurfaceMaterialT< grid_t, material_accessor_t >::grid_type = grid_t |
Broadcast grid type.
| using Acts::GridSurfaceMaterialT< grid_t, material_accessor_t >::material_accessor_type = material_accessor_t |
Broadcast material accessor type.
| Acts::GridSurfaceMaterialT< grid_t, material_accessor_t >::GridSurfaceMaterialT | ( | grid_type && | grid, |
| material_accessor_type && | materialAccessor, | ||
| BoundToGridLocalDelegate | boundToGridLocal, | ||
| GlobalToGridLocalDelegate | globalToGridLocal ) |
Constructor for indexed surface material.
| grid | the index grid steering the access to the material vector |
| materialAccessor | the material accessor: from grid, from indexed vector |
| boundToGridLocal | the delegation from bound to grid local frame |
| globalToGridLocal | the delegation from global into grid local frame |
|
finalvirtual |
Accessor to the bound to grid local delegate.
Implements Acts::IGridSurfaceMaterial< material_accessor_t::grid_value_type >.
| const BoundToGridLocalDelegate & Acts::GridSurfaceMaterialT< grid_t, material_accessor_t >::boundToGridLocalDelegate | ( | ) | const |
Accessor to the bound to grid local delegate.
|
finalvirtual |
Accessor to the global to grid local delegate.
Implements Acts::IGridSurfaceMaterial< material_accessor_t::grid_value_type >.
| const GlobalToGridLocalDelegate & Acts::GridSurfaceMaterialT< grid_t, material_accessor_t >::globalToGridLocalDelegate | ( | ) | const |
Accessor to the global to grid local delegate.
|
finalvirtual |
Accessor to the grid.
Implements Acts::IGridSurfaceMaterial< material_accessor_t::grid_value_type >.
|
finalvirtual |
Implements Acts::IGridSurfaceMaterial< material_accessor_t::grid_value_type >.
|
finalvirtual |
Implements Acts::IGridSurfaceMaterial< material_accessor_t::grid_value_type >.
|
finalvirtual |
Accessor to the material accessor.
Implements Acts::IGridSurfaceMaterial< material_accessor_t::grid_value_type >.
|
finalvirtual |
Return method for full material description of the Surface.
| lp | is the local position used for the (eventual) lookup |
Implements Acts::ISurfaceMaterial.
|
virtual |
Return method for fully scaled material description of the Surface.
| lp | is the local position used for the (eventual) lookup |
| pDir | is the positive direction through the surface |
| mode | is the material update directive |
Reimplemented from Acts::ISurfaceMaterial.
|
finalvirtual |
Return method for full material description of the Surface.
| gp | is the global position used for the (eventual) lookup |
Implements Acts::ISurfaceMaterial.
|
virtual |
Return method for full material description of the Surface.
| gp | is the global position used for the (eventual) lookup |
| pDir | is the positive direction through the surface |
| mode | is the material update directive |
Reimplemented from Acts::ISurfaceMaterial.
|
finalvirtual |
Scale operator.
| factor | is the scale factor applied |
Implements Acts::ISurfaceMaterial.
|
finalvirtual |
Output Method for std::ostream, to be overloaded by child classes.
| sl | Output stream to write to |
Implements Acts::ISurfaceMaterial.