File IVolumeMaterial.hpp

namespace Acts

Note

This file is foreseen for the Geometry module to replace Extent

class IVolumeMaterial
#include <Acts/Material/IVolumeMaterial.hpp>

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.

Parameters

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.

Friends

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

Returns

modified output stream object