File ITGeoDetectorElementSplitter.hppΒΆ

namespace Acts

Note

This file is foreseen for the Geometry module to replace Extent

class ITGeoDetectorElementSplitter
#include <Acts/Plugins/TGeo/ITGeoDetectorElementSplitter.hpp>

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