Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Plugins/Geant4/include/Acts/Plugins/Geant4/Geant4Converters.hpp>
Public Member Functions | |
Material | material (const G4Material &g4Material, ActsScalar compression=1) |
std::shared_ptr < HomogeneousSurfaceMaterial > | surfaceMaterial (const G4Material &g4Material, ActsScalar original, ActsScalar compressed) |
Convert a Geant4 material to a surface material description. | |
Definition at line 161 of file Geant4Converters.hpp.
View newest version in sPHENIX GitHub at line 161 of file Geant4Converters.hpp
Acts::Material Acts::Geant4MaterialConverter::material | ( | const G4Material & | g4Material, |
ActsScalar | compression = 1 |
||
) |
Definition at line 367 of file Geant4Converters.cpp.
View newest version in sPHENIX GitHub at line 367 of file Geant4Converters.cpp
References Acts::Material::fromMassDensity(), i, X0, and SVM_v1::Z.
std::shared_ptr< Acts::HomogeneousSurfaceMaterial > Acts::Geant4MaterialConverter::surfaceMaterial | ( | const G4Material & | g4Material, |
ActsScalar | original, | ||
ActsScalar | compressed | ||
) |
Convert a Geant4 material to a surface material description.
g4Material | the geant4 material description |
original | the original thickness |
compressed | the compressed thickness |
Definition at line 395 of file Geant4Converters.cpp.
View newest version in sPHENIX GitHub at line 395 of file Geant4Converters.cpp
References material.
Referenced by Acts::Geant4PhysicalVolumeConverter::surface().