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

#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.
 

Detailed Description

Definition at line 161 of file Geant4Converters.hpp.

View newest version in sPHENIX GitHub at line 161 of file Geant4Converters.hpp

Member Function Documentation

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.

+ Here is the call graph for this function:

std::shared_ptr< Acts::HomogeneousSurfaceMaterial > Acts::Geant4MaterialConverter::surfaceMaterial ( const G4Material &  g4Material,
ActsScalar  original,
ActsScalar  compressed 
)

Convert a Geant4 material to a surface material description.

Parameters
g4Materialthe geant4 material description
originalthe original thickness
compressedthe 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().

+ Here is the caller graph for this function:


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