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

Virtual base class to decide and return which approaching surface to be taken, the surfaces are std::shared_ptr, as they can be the boundary surfaces of the representingVolume of the Layer. More...

#include <Acts/Geometry/ApproachDescriptor.hpp>

Inheritance diagram for Acts::ApproachDescriptor:
[legend]

Public Member Functions

 ApproachDescriptor ()=default
virtual ~ApproachDescriptor ()=default
virtual NavigationTarget approachSurface (const GeometryContext &gctx, const Vector3 &position, const Vector3 &direction, const BoundaryTolerance &boundaryTolerance, double nearLimit, double farLimit) const =0
 Get the surface on approach.
virtual const std::vector< const Surface * > & containedSurfaces () const =0
 Get all the contained surfaces.
virtual std::vector< const Surface * > & containedSurfaces ()=0
 Non-const version.
virtual void registerLayer (const Layer &lay)=0
 Register Layer Links the layer to the approach surfaces.

Detailed Description

Virtual base class to decide and return which approaching surface to be taken, the surfaces are std::shared_ptr, as they can be the boundary surfaces of the representingVolume of the Layer.

Constructor & Destructor Documentation

◆ ApproachDescriptor()

Acts::ApproachDescriptor::ApproachDescriptor ( )
default

◆ ~ApproachDescriptor()

virtual Acts::ApproachDescriptor::~ApproachDescriptor ( )
virtualdefault

Member Function Documentation

◆ approachSurface()

virtual NavigationTarget Acts::ApproachDescriptor::approachSurface ( const GeometryContext & gctx,
const Vector3 & position,
const Vector3 & direction,
const BoundaryTolerance & boundaryTolerance,
double nearLimit,
double farLimit ) const
pure virtual

Get the surface on approach.

Parameters
gctxThe current geometry context object, e.g. alignment
positionis the position from start of the search
directionis the direction at the start of the search
boundaryToleranceis the boundary check directive
nearLimitThe minimum distance for an intersection to be considered
farLimitThe maximum distance for an intersection to be considered
Returns
is a surface intersection

Implemented in Acts::GenericApproachDescriptor.

◆ containedSurfaces() [1/2]

virtual const std::vector< const Surface * > & Acts::ApproachDescriptor::containedSurfaces ( ) const
pure virtual

Get all the contained surfaces.

Returns
all contained surfaces of this approach descriptor

Implemented in Acts::GenericApproachDescriptor.

◆ containedSurfaces() [2/2]

virtual std::vector< const Surface * > & Acts::ApproachDescriptor::containedSurfaces ( )
pure virtual

Non-const version.

Returns
Mutable reference to all contained surfaces of this approach descriptor

Implemented in Acts::GenericApproachDescriptor.

◆ registerLayer()

virtual void Acts::ApproachDescriptor::registerLayer ( const Layer & lay)
pure virtual

Register Layer Links the layer to the approach surfaces.

Parameters
layis the layer to be assigned

Implemented in Acts::GenericApproachDescriptor.