ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsPlugins::TGeoMaterialConverter Struct Reference

#include <ActsPlugins/Root/TGeoMaterialConverter.hpp>

Classes

struct  Options
 Nested options struct to steer the conversion process. More...

Static Public Member Functions

static Acts::MaterialSlab materialSlab (const TGeoMaterial &tgMaterial, double thicknessIn, double thicknessOut, const Options &options)
 Helper method to convert a TGeoMaterial into Acts::MaterialSlab.

Member Function Documentation

◆ 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
tgMaterialThe TGeoMaterial to be converted
thicknessInThe thickness of the ingoing material slab
thicknessOutThe thickness of the outgoing material slab
optionsThe conversion options with the unit scalors
Returns
a material slab object