|
ACTS
Experiment-independent tracking
|
Material description for an object with defined thickness. More...
#include <Acts/Material/MaterialSlab.hpp>
Public Member Functions | |
| constexpr | MaterialSlab () |
| Default constructor. | |
| MaterialSlab (const Material &material, float thickness) | |
| Construct from material description. | |
| bool | isVacuum () const |
| Check if the material is vacuum. | |
| constexpr const Material & | material () const |
| Access the (average) material parameters. | |
| 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. | |
Static Public Member Functions | |
| static MaterialSlab | combine (const MaterialSlab &slab1, const Material &material2, float thickness2) |
| Compute the average properties for a combined slab of two materials. | |
| static MaterialSlab | combineLayers (const MaterialSlab &layerA, const MaterialSlab &layerB) |
| Combine material properties of two layers by averaging them. | |
| static MaterialSlab | combineLayers (const std::vector< MaterialSlab > &layers) |
| Combine material properties of multiple layers by averaging them. | |
| static constexpr MaterialSlab | Nothing () |
| Create a material slab with no material content. | |
| static constexpr MaterialSlab | Vacuum (float thickness) |
| Create a vacuum material slab with specified thickness. | |
Material description for an object with defined thickness.
This is intended to describe concrete surface materials.
|
constexpr |
Default constructor.
TODO consider removing. currently needed for default construction in grids
| Acts::MaterialSlab::MaterialSlab | ( | const Material & | material, |
| float | thickness ) |
Construct from material description.
| material | is the material description |
| thickness | is the thickness of the material |
|
static |
Compute the average properties for a combined slab of two materials.
The averaged material slab has the combined thickness of the two input slabs and assumes the two input materials are homogeneously and continuously mixed throughout the slab.
| slab1 | Properties of the first material slab |
| material2 | Properties of the second material |
| thickness2 | Thickness of the second material slab. Can be negative to subtract the second material from the first slab. |
|
static |
Combine material properties of two layers by averaging them.
| layerA | Input layer A to average over. |
| layerB | Input layer B to average over. |
|
static |
Combine material properties of multiple layers by averaging them.
| layers | Input layers to average over. |
| bool Acts::MaterialSlab::isVacuum | ( | ) | const |
Check if the material is vacuum.
|
constexpr |
Access the (average) material parameters.
|
staticconstexpr |
Create a material slab with no material content.
| void Acts::MaterialSlab::scaleThickness | ( | float | scale | ) |
Scale the material thickness by the given factor.
| scale | Factor by which to scale the thickness |
|
constexpr |
Return the thickness.
|
constexpr |
Return the nuclear interaction length fraction.
|
constexpr |
Return the radiation length fraction.
|
staticconstexpr |
Create a vacuum material slab with specified thickness.
| thickness | The thickness of the vacuum region |