Class Acts::GenericApproachDescriptor
-
class GenericApproachDescriptor : public Acts::ApproachDescriptor
Class to decide and return which approaching surface to be taken, it’s a generic descriptor for n surfaces.
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.
-
virtual SurfaceIntersection approachSurface(const GeometryContext &gctx, const Vector3 &position, const Vector3 &direction, const BoundaryCheck &bcheck, double pLimit, double oLimit, double tolerance) const override
Get the approach surface to the layer.
- Parameters
gctx – The current geometry context object, e.g. alignment
position – The global position to start the approach from
direction – The momentum vector
bcheck – The boundary check prescription
pLimit – The path limit
oLimit – The overstep limit
tolerance – The surface tolerance
- Returns
: a
SurfaceIntersection