|
ACTS
Experiment-independent tracking
|
Built-in RZ grid spatial index. More...
#include <Acts/Geometry/RzGridVolumeLookup.hpp>
Classes | |
| struct | Config |
| Serializable construction parameters; assignments are rebuilt from volumes. More... | |
Public Member Functions | |
| RzGridVolumeLookup (const GeometryContext &gctx, const TrackingVolume &world, const Config &config, const Logger &logger=getDummyLogger()) | |
| Build an immutable index over a finalized subtree. | |
| const Config & | config () const |
| Return construction parameters for serialization. | |
| const TrackingVolume * | findLowest (const GeometryContext &gctx, const Vector3 &position, double tolerance) const override |
| Find the lowest containing volume, or nullptr outside the bound root volume. | |
Built-in RZ grid spatial index.
Construct after geometry closure, once bounds, hierarchy and descendant policies are finalized; prefer installing through a Blueprint or StaticBlueprintNode lookup factory. Rebuild after changing volume bounds, transforms, hierarchy or descendant lookup policies. Indexes the full subtree, stopping at explicitly configured descendant lookups. Child volumes must be contained within their parents. Unsupported bounds are checked linearly alongside indexed candidates.
| Acts::RzGridVolumeLookup::RzGridVolumeLookup | ( | const GeometryContext & | gctx, |
| const TrackingVolume & | world, | ||
| const Config & | config, | ||
| const Logger & | logger = getDummyLogger() ) |
Build an immutable index over a finalized subtree.
| gctx | Construction context |
| world | Root of the indexed subtree |
| config | Construction settings |
| logger | Construction diagnostics |
| std::invalid_argument | For invalid configuration or Gen1 storage (confined layers/volumes or dense volumes) encountered in the indexed scope. |
| const Config & Acts::RzGridVolumeLookup::config | ( | ) | const |
Return construction parameters for serialization.
|
overridevirtual |
Find the lowest containing volume, or nullptr outside the bound root volume.
Respect explicit descendant lookups as delegation boundaries.
| gctx | Geometry context for containment checks |
| position | Global query position |
| tolerance | Containment tolerance |
Implements Acts::IVolumeLookup.