File TGeoMaterialConverter.hpp

namespace Acts

Note

This file is foreseen for the Geometry module to replace Extent

struct TGeoMaterialConverter
#include <Acts/Plugins/TGeo/TGeoMaterialConverter.hpp>

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
#include <Acts/Plugins/TGeo/TGeoMaterialConverter.hpp>

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.