|
ACTS
Experiment-independent tracking
|
Base class of all surface-based material description. More...
#include <Acts/Material/ISurfaceMaterial.hpp>
Public Member Functions | |
| 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. | |
| virtual const MaterialSlab & | materialSlab (const Vector2 &lp) const =0 |
| 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. | |
| virtual const MaterialSlab & | materialSlab (const Vector3 &gp) const =0 |
| 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. | |
| virtual ISurfaceMaterial & | scale (double factor)=0 |
| Scale material. | |
| virtual std::ostream & | toStream (std::ostream &sl) const =0 |
| Output Method for std::ostream, to be overloaded by child classes. | |
| std::string | toString () const |
| output into a string | |
Protected Attributes | |
| MappingType | m_mappingType {MappingType::Default} |
| Use the default mapping type by default. | |
| double | m_splitFactor {1.} |
| the split factor in favour of oppositePre | |
Base class of all surface-based material description.
The class supplies references to MaterialSlab that are associated to a surface, extended by certain special representations (binned, homogeneous). The concrete MaterialSlab can depend on the local position on the surface.
|
default |
Constructor.
|
explicit |
Constructor.
| splitFactor | is the splitting ratio between pre/post update |
|
explicit |
Constructor.
| splitFactor | is the splitting ratio between pre/post update |
| mappingType | is the type of surface mapping associated to the surface |
|
virtualdefault |
Destructor.
| double Acts::ISurfaceMaterial::factor | ( | Direction | pDir, |
| MaterialUpdateMode | mode ) const |
Update pre factor.
| pDir | is the positive direction through the surface |
| mode | is the material update directive |
| MappingType Acts::ISurfaceMaterial::mappingType | ( | ) | const |
Return the type of surface material mapping.
|
pure virtual |
Return method for full material description of the Surface.
| lp | is the local position used for the (eventual) lookup |
Implemented in Acts::BinnedSurfaceMaterial, Acts::GridSurfaceMaterialT< grid_t, material_accessor_t >, Acts::GridSurfaceMaterialT< grid_type, GloballyIndexedMaterialAccessor >, Acts::GridSurfaceMaterialT< grid_type, GridMaterialAccessor >, Acts::GridSurfaceMaterialT< grid_type, IndexedMaterialAccessor >, Acts::HomogeneousSurfaceMaterial, Acts::ProtoSurfaceMaterialT< BinningType >, and Acts::ProtoSurfaceMaterialT< Acts::BinUtility >.
|
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 in Acts::BinnedSurfaceMaterial, Acts::GridSurfaceMaterialT< grid_t, material_accessor_t >, Acts::GridSurfaceMaterialT< grid_type, GloballyIndexedMaterialAccessor >, Acts::GridSurfaceMaterialT< grid_type, GridMaterialAccessor >, Acts::GridSurfaceMaterialT< grid_type, IndexedMaterialAccessor >, Acts::HomogeneousSurfaceMaterial, Acts::ProtoSurfaceMaterialT< BinningType >, and Acts::ProtoSurfaceMaterialT< Acts::BinUtility >.
|
pure virtual |
Return method for full material description of the Surface.
| gp | is the global position used for the (eventual) lookup |
Implemented in Acts::BinnedSurfaceMaterial, Acts::GridSurfaceMaterialT< grid_t, material_accessor_t >, Acts::GridSurfaceMaterialT< grid_type, GloballyIndexedMaterialAccessor >, Acts::GridSurfaceMaterialT< grid_type, GridMaterialAccessor >, Acts::GridSurfaceMaterialT< grid_type, IndexedMaterialAccessor >, Acts::HomogeneousSurfaceMaterial, Acts::ProtoSurfaceMaterialT< BinningType >, and Acts::ProtoSurfaceMaterialT< Acts::BinUtility >.
|
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 in Acts::BinnedSurfaceMaterial, Acts::GridSurfaceMaterialT< grid_t, material_accessor_t >, Acts::GridSurfaceMaterialT< grid_type, GloballyIndexedMaterialAccessor >, Acts::GridSurfaceMaterialT< grid_type, GridMaterialAccessor >, Acts::GridSurfaceMaterialT< grid_type, IndexedMaterialAccessor >, Acts::HomogeneousSurfaceMaterial, Acts::ProtoSurfaceMaterialT< BinningType >, and Acts::ProtoSurfaceMaterialT< Acts::BinUtility >.
|
pure virtual |
Scale material.
| factor | is the scale factor applied |
Implemented in Acts::BinnedSurfaceMaterial, Acts::GridSurfaceMaterialT< grid_t, material_accessor_t >, Acts::GridSurfaceMaterialT< grid_type, GloballyIndexedMaterialAccessor >, Acts::GridSurfaceMaterialT< grid_type, GridMaterialAccessor >, Acts::GridSurfaceMaterialT< grid_type, IndexedMaterialAccessor >, Acts::HomogeneousSurfaceMaterial, Acts::ProtoSurfaceMaterialT< BinningType >, and Acts::ProtoSurfaceMaterialT< Acts::BinUtility >.
|
pure virtual |
Output Method for std::ostream, to be overloaded by child classes.
| sl | Output stream to write to |
Implemented in Acts::BinnedSurfaceMaterial, Acts::GridSurfaceMaterialT< grid_t, material_accessor_t >, Acts::GridSurfaceMaterialT< grid_type, GloballyIndexedMaterialAccessor >, Acts::GridSurfaceMaterialT< grid_type, GridMaterialAccessor >, Acts::GridSurfaceMaterialT< grid_type, IndexedMaterialAccessor >, Acts::HomogeneousSurfaceMaterial, Acts::ProtoSurfaceMaterialT< BinningType >, and Acts::ProtoSurfaceMaterialT< Acts::BinUtility >.
| std::string Acts::ISurfaceMaterial::toString | ( | ) | const |
output into a string
|
protected |
Use the default mapping type by default.
|
protected |
the split factor in favour of oppositePre