Struct Acts::TGeoMaterialConverter
-
struct TGeoMaterialConverter
Public Static Functions
-
static MaterialSlab materialSlab(const TGeoMaterial &tgMaterial, ActsScalar thicknessIn, ActsScalar thicknessOut, const Options &options)
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
-
struct Options
Nested options struct to steer the conversion process.
Public Members
-
ActsScalar unitLengthScalor = 10.
Convert input TGeo unit to ACTS unit.
-
ActsScalar unitMassScalor = 1.
Convert input TGeo unit to ACTS unit.
-
ActsScalar unitLengthScalor = 10.
-
static MaterialSlab materialSlab(const TGeoMaterial &tgMaterial, ActsScalar thicknessIn, ActsScalar thicknessOut, const Options &options)