ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::ITrackingGeometryBuilder Class Referenceabstract

Interface class for the TrackingGeometry building, this is used by the TrackingGeometrySvc to build the geometry. More...

#include <Acts/Geometry/ITrackingGeometryBuilder.hpp>

Inheritance diagram for Acts::ITrackingGeometryBuilder:
[legend]

Public Member Functions

virtual ~ITrackingGeometryBuilder ()=default
 Virtual destructor.
virtual std::unique_ptr< const TrackingGeometrytrackingGeometry (const GeometryContext &gctx) const =0
 TrackingGeometry Interface method.

Detailed Description

Interface class for the TrackingGeometry building, this is used by the TrackingGeometrySvc to build the geometry.

The TrackingGeometry is written to the detector store and thus not created as a std::shared_ptr.

The TrackingGeometry is returned as a non-const object in order to recreate from conditions callback if necessary.

Constructor & Destructor Documentation

◆ ~ITrackingGeometryBuilder()

virtual Acts::ITrackingGeometryBuilder::~ITrackingGeometryBuilder ( )
virtualdefault

Virtual destructor.

Member Function Documentation

◆ trackingGeometry()

virtual std::unique_ptr< const TrackingGeometry > Acts::ITrackingGeometryBuilder::trackingGeometry ( const GeometryContext & gctx) const
pure virtual

TrackingGeometry Interface method.

Parameters
gctxis the geometry context for witch the geometry is built
Returns
unique pointer to a newly created TrackingGeometry

Implemented in Acts::TrackingGeometryBuilder.