ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Core/include/Acts/Material/ISurfaceMaterial.hpp>
Public Member Functions | |
ISurfaceMaterial ()=default | |
Constructor. | |
ISurfaceMaterial (double splitFactor) | |
virtual | ~ISurfaceMaterial ()=default |
Destructor. | |
virtual ISurfaceMaterial & | operator*= (double scale)=0 |
virtual const MaterialProperties & | materialProperties (const Vector2D &lp) const =0 |
virtual const MaterialProperties & | materialProperties (const Vector3D &gp) const =0 |
virtual const MaterialProperties & | materialProperties (size_t ib0, size_t ib1) const =0 |
double | factor (NavigationDirection pDir, MaterialUpdateStage mStage) const |
MaterialProperties | materialProperties (const Vector2D &lp, NavigationDirection pDir, MaterialUpdateStage mStage) const |
MaterialProperties | materialProperties (const Vector3D &gp, NavigationDirection pDir, MaterialUpdateStage mStage) const |
virtual std::ostream & | toStream (std::ostream &sl) const =0 |
Output Method for std::ostream, to be overloaded by child classes. | |
Protected Attributes | |
double | m_splitFactor {1.} |
the split factor in favour of oppositePre | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const ISurfaceMaterial &sm) |
output stream operator | |
Virtual base class of surface based material description
MaterialProperties that are associated to a surface, extended by certain special representations (binned, homogenous)
Definition at line 25 of file ISurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 25 of file ISurfaceMaterial.hpp
|
default |
Constructor.
|
inline |
Constructor
splitFactor | is the splitting ratio between pre/post update |
Definition at line 33 of file ISurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 33 of file ISurfaceMaterial.hpp
|
virtualdefault |
Destructor.
|
inline |
Update pre factor
pDir | is the navigation direction through the surface |
mStage | is the material update directive (onapproach, full, onleave) |
Definition at line 117 of file ISurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 117 of file ISurfaceMaterial.hpp
References Acts::fullUpdate, and m_splitFactor.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and materialProperties().
|
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::ProtoSurfaceMaterial, and Acts::HomogeneousSurfaceMaterial.
Referenced by materialProperties(), ActsFatras::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::operator()(), and FW::RootMaterialWriter::write().
|
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::ProtoSurfaceMaterial, and Acts::HomogeneousSurfaceMaterial.
|
pure virtual |
Direct access via bins to the MaterialProperties
ib0 | is the material bin in dimension 0 |
ib1 | is the material bin in dimension 1 |
Implemented in Acts::BinnedSurfaceMaterial, Acts::ProtoSurfaceMaterial, and Acts::HomogeneousSurfaceMaterial.
|
inline |
Return method for fully scaled material description of the Surface
lp | is the local position used for the (eventual) lookup |
pDir | is the navigation direction through the surface |
mStage | is the material update directive (onapproach, full, onleave) |
Definition at line 125 of file ISurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 125 of file ISurfaceMaterial.hpp
References factor(), materialProperties(), and Acts::MaterialProperties::scaleThickness().
|
inline |
Return method for full material description of the Surface
gp | is the global position used for the (eventual) lookup |
pDir | is the navigation direction through the surface |
mStage | is the material update directive (onapproach, full, onleave) |
Definition at line 141 of file ISurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 141 of file ISurfaceMaterial.hpp
References factor(), materialProperties(), and Acts::MaterialProperties::scaleThickness().
|
pure virtual |
Scale operator
scale | is the scale factor applied |
Implemented in Acts::BinnedSurfaceMaterial, Acts::ProtoSurfaceMaterial, and Acts::HomogeneousSurfaceMaterial.
|
pure virtual |
Output Method for std::ostream, to be overloaded by child classes.
Implemented in Acts::BinnedSurfaceMaterial, Acts::HomogeneousSurfaceMaterial, and Acts::ProtoSurfaceMaterial.
|
friend |
output stream operator
Prints information about this object to the output stream using the virtual ISurfaceMaterial::toStream method
Definition at line 104 of file ISurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 104 of file ISurfaceMaterial.hpp
|
protected |
the split factor in favour of oppositePre
Definition at line 114 of file ISurfaceMaterial.hpp.
View newest version in sPHENIX GitHub at line 114 of file ISurfaceMaterial.hpp
Referenced by factor().