Class Acts::ProtoVolumeMaterial

class Acts::ProtoVolumeMaterial : public Acts::IVolumeMaterial

proxy to VolumeMaterial hand over BinUtility

The ProtoVolumeMaterial class acts as a proxy to the VolumeMaterial to mark the volume on which the material should be mapped on at construction time of the geometry and to hand over the granularity of of the material map with the bin Utility.

Public Functions

ProtoVolumeMaterial() = default

Constructor without BinUtility - homogenous material.

ProtoVolumeMaterial(const BinUtility &binUtility)

Constructor with BinUtility - multidimensional material.

Parameters

binUtility – a BinUtility determining the granularity and binning of the material on the volume

ProtoVolumeMaterial(const ProtoVolumeMaterial &vmproxy) = default

Copy constuctor.

Parameters

vmproxy – The source proxy

ProtoVolumeMaterial(ProtoVolumeMaterial &&vmproxy) = default

Copy move constuctor.

Parameters

vmproxy – The source proxy

~ProtoVolumeMaterial() override = default

Destructor.

inline const BinUtility &binUtility() const

Return the BinUtility.

Return the bin Utility.

inline virtual const Material material(const Vector3&) const final

Return the material.

ProtoVolumeMaterial &operator=(const ProtoVolumeMaterial &vmproxy) = default

Assignment operator.

Parameters

vmproxy – The source proxy

virtual std::ostream &toStream(std::ostream &sl) const final

Output Method for std::ostream.

Parameters

sl – The outoput stream