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

ITGeoElementSplitter. More...

#include <ActsPlugins/Root/ITGeoDetectorElementSplitter.hpp>

Inheritance diagram for ActsPlugins::ITGeoDetectorElementSplitter:
[legend]

Public Member Functions

virtual ~ITGeoDetectorElementSplitter ()=default
virtual std::vector< std::shared_ptr< const ActsPlugins::TGeoDetectorElement > > split (const Acts::GeometryContext &gctx, std::shared_ptr< const ActsPlugins::TGeoDetectorElement > tgde) const =0
 Take a geometry context and TGeoElement and split it into sub elements.

Detailed Description

ITGeoElementSplitter.

Interface class that allows to define splitting of TGeoElements into sub-elements

Constructor & Destructor Documentation

◆ ~ITGeoDetectorElementSplitter()

virtual ActsPlugins::ITGeoDetectorElementSplitter::~ITGeoDetectorElementSplitter ( )
virtualdefault

Member Function Documentation

◆ split()

virtual std::vector< std::shared_ptr< const ActsPlugins::TGeoDetectorElement > > ActsPlugins::ITGeoDetectorElementSplitter::split ( const Acts::GeometryContext & gctx,
std::shared_ptr< const ActsPlugins::TGeoDetectorElement > tgde ) const
pure virtual

Take a geometry context and TGeoElement and split it into sub elements.

Parameters
gctxis a geometry context object
tgdeis a TGeoDetectorElement that is eventually split
Note
If no split is performed the unsplit detector element is returned
Returns
a vector of TGeoDetectorElement objects

Implemented in ActsPlugins::TGeoCylinderDiscSplitter.