ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::IVolumeMaterial Class Referenceabstract

Material associated with a Volume (homogeneous, binned, interpolated). More...

#include <Acts/Material/IVolumeMaterial.hpp>

Inheritance diagram for Acts::IVolumeMaterial:
[legend]

Public Member Functions

virtual ~IVolumeMaterial ()=default
 Virtual Destructor.
virtual const Material material (const Vector3 &position) const =0
 Access to actual material.
virtual std::ostream & toStream (std::ostream &sl) const =0
 Output Method for std::ostream, to be overloaded by child classes.

Detailed Description

Material associated with a Volume (homogeneous, binned, interpolated).

Virtual base class of volume material description.

Constructor & Destructor Documentation

◆ ~IVolumeMaterial()

virtual Acts::IVolumeMaterial::~IVolumeMaterial ( )
virtualdefault

Virtual Destructor.

Member Function Documentation

◆ material()

virtual const Material Acts::IVolumeMaterial::material ( const Vector3 & position) const
pure virtual

Access to actual material.

Parameters
positionis the request position for the material call
Todo
interface to change including 'cell'
Returns
The material properties at the given position

Implemented in Acts::HomogeneousVolumeMaterial, Acts::InterpolatedMaterialMap< Mapper_t >, and Acts::ProtoVolumeMaterial.

◆ toStream()

virtual std::ostream & Acts::IVolumeMaterial::toStream ( std::ostream & sl) const
pure virtual

Output Method for std::ostream, to be overloaded by child classes.

Parameters
slOutput stream to write to
Returns
Reference to the output stream for method chaining

Implemented in Acts::HomogeneousVolumeMaterial, Acts::InterpolatedMaterialMap< Mapper_t >, and Acts::ProtoVolumeMaterial.