Class Acts::Experimental::IDetectorBuilder

class IDetectorBuilder

This is the interface for building a Detector object.

This is the top level interface, all lower level building blocks should be done with detector component builders.

Note

As this is the last builder, the returned detector object is const and cannot be modified anymore.

Subclassed by Acts::Experimental::DetectorBuilder

Public Functions

virtual ~IDetectorBuilder() = default
virtual std::shared_ptr<const Detector> construct(const GeometryContext &gctx) const = 0

The virtual interface definition for detector builders.

Parameters

gctx – the geometry context at the creation of the internal structure

Returns

a shared detector object