Class MaterialProperties¶
Defined in File MaterialProperties.hpp
Class Documentation¶
-
class
Acts::MaterialProperties¶ Material description for an object with defined thickness.
This is intended to describe concrete surface materials.
- See
Material for a description of the available parameters.
Public Functions
-
MaterialProperties() = default¶ Construct vacuum without thickness.
-
MaterialProperties(float thickness)¶ Construct vacuum with thickness.
-
MaterialProperties(float X0, float L0, float Ar, float Z, float rho, float thickness)¶ Construct from material parameters.
- Parameters
X0: is the radiation lengthL0: is the nuclear interaction lengthAr: is the relative atomic massZ: is the atomic numberrho: is the mass densitythickness: is the thickness of the material
-
MaterialProperties(const Material &material, float thickness)¶ Construct from material description.
- Parameters
material: is the material descriptionthickness: is the thickness of the material
-
MaterialProperties(const std::vector<MaterialProperties> &layers)¶ Construct by averaging the material properties over multiple layers.
The resulting object has the combined thickness of all layers but just one set of appropriately averaged material constants.
- Parameters
layers: Input layers to average over.
-
MaterialProperties(MaterialProperties &&mprop) = default¶
-
MaterialProperties(const MaterialProperties&) = default¶
-
~MaterialProperties() = default¶
-
constexpr
operator bool() const¶ Check if the material is valid, i.e. it is finite and not vacuum.
-
MaterialProperties &
operator=(MaterialProperties&&) = default¶
-
MaterialProperties &
operator=(const MaterialProperties&) = default¶
-
void
scaleThickness(float scale)¶ Scale the material thickness by the given factor.
-
constexpr float
thickness() const¶ Return the thickness.
-
constexpr float
thicknessInL0() const¶ Return the nuclear interaction length fraction.
-
constexpr float
thicknessInX0() const¶ Return the radiation length fraction.