ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsPlugins::IGeoShapeConverter Class Referenceabstract

Interface for the conversion of GeoShapes to Acts surfaces. More...

#include </home/runner/work/acts/acts/Plugins/GeoModel/include/ActsPlugins/GeoModel/IGeoShapeConverter.hpp>

Public Member Functions

virtual ~IGeoShapeConverter ()=default
 Virtual destructor.
virtual Acts::Result< std::shared_ptr< Acts::Surface > > toPassiveSurface (PVConstLink geoPV, const Acts::Transform3 &transform, Acts::SurfaceBoundFactory &boundFactory) const =0
 Convert a GeoShape into a passive surface.
virtual Acts::Result< GeoModelSensitiveSurfacetoSensitiveSurface (PVConstLink geoPV, const Acts::Transform3 &transform, Acts::SurfaceBoundFactory &boundFactory) const =0
 Convert a GeoShape into a sensitive surface with associated GeoModelDetectorElement.

Detailed Description

Interface for the conversion of GeoShapes to Acts surfaces.

Constructor & Destructor Documentation

◆ ~IGeoShapeConverter()

virtual ActsPlugins::IGeoShapeConverter::~IGeoShapeConverter ( )
virtualdefault

Virtual destructor.

Member Function Documentation

◆ toPassiveSurface()

virtual Acts::Result< std::shared_ptr< Acts::Surface > > ActsPlugins::IGeoShapeConverter::toPassiveSurface ( PVConstLink geoPV,
const Acts::Transform3 & transform,
Acts::SurfaceBoundFactory & boundFactory ) const
pure virtual

Convert a GeoShape into a passive surface.

Parameters
geoPVThe physical volume to convert
transformPlacement of the constructed detector element
boundFactoryReference to the bound factory to share equivalent bounds across multiple surfaces
Returns
The detector element and surface

◆ toSensitiveSurface()

virtual Acts::Result< GeoModelSensitiveSurface > ActsPlugins::IGeoShapeConverter::toSensitiveSurface ( PVConstLink geoPV,
const Acts::Transform3 & transform,
Acts::SurfaceBoundFactory & boundFactory ) const
pure virtual

Convert a GeoShape into a sensitive surface with associated GeoModelDetectorElement.

Parameters
geoPVThe physical volume to convert
transformPlacement of the constructed detector element
boundFactoryReference to the bound factory to share equivalent bounds across multiple surfaces
Returns
The detector element and surface