#include <ActsPlugins/Geant4/Geant4Converters.hpp>
|
| std::shared_ptr< Acts::Surface > | surface (const G4VPhysicalVolume &g4PhysVol, const Acts::Transform3 &toGlobal, bool convertMaterial=false, double compressed=0.) |
| | Convert a Geant4 physical volume to a surface.
|
◆ surface()
| std::shared_ptr< Acts::Surface > ActsPlugins::Geant4PhysicalVolumeConverter::surface |
( |
const G4VPhysicalVolume & | g4PhysVol, |
|
|
const Acts::Transform3 & | toGlobal, |
|
|
bool | convertMaterial = false, |
|
|
double | compressed = 0. ) |
Convert a Geant4 physical volume to a surface.
- Parameters
-
| g4PhysVol | the physical volume to be constructed |
| toGlobal | the global transformation before the volume |
| convertMaterial | a material conversion flag |
| compressed | the compressed thickness of the converted material |
- Returns
- a shared surface object
◆ forcedType
Optionally allow to foce a type, throws exception if not possible.