Class Material¶
Defined in File Material.hpp
Class Documentation¶
-
class
Acts::Material¶ Material description for interactions with matter.
The following parameters are used to specify the material and its interactions with traversing particles:
radiation length X0 (native length units)
nuclear interaction length L0 (native length units)
relative atomic mass Ar (unitless number)
nuclear charge number Z (elementary charge e)
mass density rho (native mass unit / (native length unit)³)
The parameters can be effective or average parameters when e.g. a mixture of materials is described.
Public Functions
-
Material() = default¶ Construct a vacuum representation.
-
constexpr
Material(float X0_, float L0_, float Ar_, float Z_, float rho_)¶ 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 density
-
Material(const ActsVectorF<5> ¶meters)¶ Construct from an encoded parameters vector.
-
~Material() = default¶
-
constexpr float
Ar() const¶ Return the relative atomic mass.
-
ActsVectorF<5>
classificationNumbers() const¶ Encode the properties into an opaque parameters vector.
-
constexpr float
L0() const¶ Return the nuclear interaction length. Infinity in case of vacuum.
-
constexpr float
massDensity() const¶ Return the mass density.
-
float
meanExcitationEnergy() const¶ Return the mean electron excitation energy.
-
float
molarElectronDensity() const¶ Return the molar electron density in mol / (native length unit)³.
Use mol instead of the real number of electrons to avoid large numbers which could result in numerical instabilities somewhere else.
-
constexpr
operator bool() const¶ Check if the material is valid, i.e. it is not vacuum.
-
constexpr float
X0() const¶ Return the radition length. Infinity in case of vacuum.
-
constexpr float
Z() const¶ Return the nuclear charge number.