File HomogeneousVolumeMaterial.hpp¶
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
-
class HomogeneousVolumeMaterial : public Acts::IVolumeMaterial
- #include <Acts/Material/HomogeneousVolumeMaterial.hpp>
It extends the IVolumeMaterial base class to describe a simple homogeneous material in a volume.
Public Functions
-
HomogeneousVolumeMaterial(const Material &material)
Explicit constructor.
- Parameters
material – is the material held by this
-
HomogeneousVolumeMaterial(const HomogeneousVolumeMaterial &hvm) = default
Copy Constructor.
- Parameters
hvm – is the source material
-
HomogeneousVolumeMaterial(HomogeneousVolumeMaterial &&hvm) = default
Copy Move Constructor.
- Parameters
hvm – is the source material
-
~HomogeneousVolumeMaterial() override = default
Destructor.
-
inline virtual const Material material(const Vector3 &position) const final
Access to actual material.
Note
position
is ignored- Parameters
position – is the request position for the material call
-
HomogeneousVolumeMaterial &operator=(const HomogeneousVolumeMaterial &hvm) = default
Assignment operator.
- Parameters
hvm – is the source material
-
inline bool operator==(const HomogeneousVolumeMaterial &hvm) const
Equality operator.
- Parameters
hvm – is the source material
-
virtual std::ostream &toStream(std::ostream &sl) const final
Output Method for std::ostream.
- Parameters
sl – The outoput stream
-
HomogeneousVolumeMaterial(const Material &material)
-
class HomogeneousVolumeMaterial : public Acts::IVolumeMaterial