Analysis Software
Documentation for sPHENIX simulation software
|
#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. | |
Definition at line 23 of file TGeoMaterialConverter.hpp.
View newest version in sPHENIX GitHub at line 23 of file TGeoMaterialConverter.hpp
|
static |
Helper method to convert a TGeoMaterial into Acts::MaterialSlab.
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 |
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().