Class Acts::ITGeoDetectorElementSplitter

class ITGeoDetectorElementSplitter

ITGeoElementSplitter.

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

Subclassed by Acts::TGeoCylinderDiscSplitter

Public Functions

virtual ~ITGeoDetectorElementSplitter() = default
virtual std::vector<std::shared_ptr<const Acts::TGeoDetectorElement>> split(const GeometryContext &gctx, std::shared_ptr<const Acts::TGeoDetectorElement> tgde) const = 0

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

Note

If no split is performed the unsplit detector element is returned

Parameters
  • gctx – is a geometry context object

  • tgde – is a TGeoDetectorElement that is eventually split

Returns

a vector of TGeoDetectorElement objects