File ProtoVolumeMaterial.hpp¶
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
-
class ProtoVolumeMaterial : public Acts::IVolumeMaterial
- #include <Acts/Material/ProtoVolumeMaterial.hpp>
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 - homogeneous 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 constructor.
- Parameters
vmproxy – The source proxy
-
ProtoVolumeMaterial(ProtoVolumeMaterial &&vmproxy) = default
Copy move constructor.
- Parameters
vmproxy – The source proxy
-
~ProtoVolumeMaterial() override = default
Destructor.
-
inline const BinUtility &binUtility() const
Return the BinUtility.
Return the bin Utility.
-
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
-
ProtoVolumeMaterial() = default
-
class ProtoVolumeMaterial : public Acts::IVolumeMaterial