#include <ActsPlugins/Root/TGeoMaterialConverter.hpp>
|
| struct | Options |
| | Nested options struct to steer the conversion process. More...
|
|
| static Acts::MaterialSlab | materialSlab (const TGeoMaterial &tgMaterial, double thicknessIn, double thicknessOut, const Options &options) |
| | Helper method to convert a TGeoMaterial into Acts::MaterialSlab.
|
◆ materialSlab()
| Acts::MaterialSlab ActsPlugins::TGeoMaterialConverter::materialSlab |
( |
const TGeoMaterial & | tgMaterial, |
|
|
double | thicknessIn, |
|
|
double | thicknessOut, |
|
|
const Options & | options ) |
|
static |
Helper method to convert a TGeoMaterial into Acts::MaterialSlab.
- Parameters
-
| tgMaterial | The TGeoMaterial to be converted |
| thicknessIn | The thickness of the ingoing material slab |
| thicknessOut | The thickness of the outgoing material slab |
| options | The conversion options with the unit scalors |
- Returns
- a material slab object