Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::TGeoMaterialConverter Struct Reference

#include <acts/blob/sPHENIX/Plugins/TGeo/include/Acts/Plugins/TGeo/TGeoMaterialConverter.hpp>

Classes

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

Static Public Member Functions

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

Detailed Description

Definition at line 23 of file TGeoMaterialConverter.hpp.

View newest version in sPHENIX GitHub at line 23 of file TGeoMaterialConverter.hpp

Member Function Documentation

Acts::MaterialSlab Acts::TGeoMaterialConverter::materialSlab ( const TGeoMaterial &  tgMaterial,
ActsScalar  thicknessIn,
ActsScalar  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

Definition at line 15 of file TGeoMaterialConverter.cpp.

View newest version in sPHENIX GitHub at line 15 of file TGeoMaterialConverter.cpp

References Acts::Material::fromMassDensity(), material, Acts::TGeoMaterialConverter::Options::unitLengthScalor, and Acts::TGeoMaterialConverter::Options::unitMassScalor.

Referenced by Acts::DD4hepDetectorSurfaceFactory::attachSurfaceMaterial(), and Acts::Test::BOOST_AUTO_TEST_CASE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


The documentation for this struct was generated from the following files: