Class Acts::IVolumeMaterial

class IVolumeMaterial

Material associated with a Volume (homogenous, binned, interpolated)

Virtual base class of volume material description.

Subclassed by Acts::HomogeneousVolumeMaterial, Acts::InterpolatedMaterialMap< Mapper_t >, Acts::ProtoVolumeMaterial

Public Functions

virtual ~IVolumeMaterial() = default

Virtual Destructor.

virtual const Material material(const Vector3 &position) const = 0

Access to actual material.


position – is the request position for the material call

virtual std::ostream &toStream(std::ostream &sl) const = 0

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


inline friend std::ostream &operator<<(std::ostream &out, const IVolumeMaterial &vm)

output stream operator

Prints information about this object to the output stream using the virtual IVolumeeMaterial::toStream method


modified output stream object