Class GenericApproachDescriptor¶
Defined in File GenericApproachDescriptor.hpp
Inheritance Relationships¶
Base Type¶
public Acts::ApproachDescriptor
(Class ApproachDescriptor)
Class Documentation¶
-
class
Acts
::
GenericApproachDescriptor
: public Acts::ApproachDescriptor¶ Class to decide and return which approaching surface to be taken, it’s a generic descriptor for n surfaces.
It is templated in order to allow for BoundarySurfaces from representing volumes of layers to be re-used
Public Functions
A generic approach descriptor for new Acts::Surface objects passing ownership.
- Parameters
aSurfaces
: are the approach surfaces
-
~GenericApproachDescriptor
() override = default¶ A generic approach descriptor with n surfaces to test.
-
ObjectIntersection<Surface>
approachSurface
(const GeometryContext &gctx, const Vector3 &position, const Vector3 &direction, const BoundaryCheck &bcheck) const override¶ Get the aproach surface to the layer.
- Return
: a SurfaceIntersection
- Parameters
gctx
: The current geometry context object, e.g. alignmentposition
: The global position to start the approach fromdirection
: The momentum vectorbcheck
: The boundary check prescription