ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsPlugins::Geant4PhysicalVolumeConverter Struct Reference

#include <ActsPlugins/Geant4/Geant4Converters.hpp>

Public Member Functions

std::shared_ptr< Acts::Surfacesurface (const G4VPhysicalVolume &g4PhysVol, const Acts::Transform3 &toGlobal, bool convertMaterial=false, double compressed=0.)
 Convert a Geant4 physical volume to a surface.

Public Attributes

Acts::Surface::SurfaceType forcedType = Acts::Surface::SurfaceType::Other
 Optionally allow to foce a type, throws exception if not possible.

Member Function Documentation

◆ 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
g4PhysVolthe physical volume to be constructed
toGlobalthe global transformation before the volume
convertMateriala material conversion flag
compressedthe compressed thickness of the converted material
Returns
a shared surface object

Member Data Documentation

◆ forcedType

Acts::Surface::SurfaceType ActsPlugins::Geant4PhysicalVolumeConverter::forcedType = Acts::Surface::SurfaceType::Other

Optionally allow to foce a type, throws exception if not possible.