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

Immutable point-to-volume lookup policy owned by a TrackingVolume. More...

#include <Acts/Geometry/IVolumeLookup.hpp>

Inheritance diagram for Acts::IVolumeLookup:
[legend]

Public Member Functions

virtual const TrackingVolume * findLowest (const GeometryContext &gctx, const Vector3 &position, double tolerance) const =0
 Find the lowest containing volume, or nullptr outside the bound root volume.

Detailed Description

Immutable point-to-volume lookup policy owned by a TrackingVolume.

Implementations must preserve lowestTrackingVolume containment, tolerance, first-matching-sibling precedence and parent fallback semantics. Referenced volumes must outlive the policy and retain their addresses. Queries must support concurrent readers; install policies before concurrent use.

Member Function Documentation

◆ findLowest()

virtual const TrackingVolume * Acts::IVolumeLookup::findLowest ( const GeometryContext & gctx,
const Vector3 & position,
double tolerance ) const
pure virtual

Find the lowest containing volume, or nullptr outside the bound root volume.

Respect explicit descendant lookups as delegation boundaries.

Parameters
gctxGeometry context for containment checks
positionGlobal query position
toleranceContainment tolerance
Returns
Containing tracking volume

Implemented in Acts::LinearVolumeLookup, and Acts::RzGridVolumeLookup.