ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::SurfaceArray::NeighborWindow Struct Reference

Bounds on the neighbor window, in bins per grid axis. More...

#include <Acts/Surfaces/SurfaceArray.hpp>

Collaboration diagram for Acts::SurfaceArray::NeighborWindow:
[legend]

Public Member Functions

constexpr NeighborWindow ()=default
 Default window: no floor, at most two bins per axis.
constexpr NeighborWindow (std::array< std::uint8_t, 2 > windowMin, std::array< std::uint8_t, 2 > windowMax)
 Window with an explicit floor and bound per axis.
constexpr NeighborWindow (std::uint8_t maxNeighborDistance)
 Isotropic window: at least one bin unless the bound forbids it, at most maxNeighborDistance.

Public Attributes

std::array< std::uint8_t, 2 > max = {2, 2}
 Most bins served in each direction; also sizes the neighbor cache.
std::array< std::uint8_t, 2 > min = {0, 0}
 Fewest bins served in each direction, regardless of the crossing angle.

Detailed Description

Bounds on the neighbor window, in bins per grid axis.

The floor serves lookups that cannot see the surfaces the fill saw, e.g. under alignment.

Constructor & Destructor Documentation

◆ NeighborWindow() [1/2]

Acts::SurfaceArray::NeighborWindow::NeighborWindow ( std::array< std::uint8_t, 2 > windowMin,
std::array< std::uint8_t, 2 > windowMax )
constexpr

Window with an explicit floor and bound per axis.

Parameters
windowMinFewest bins served in each direction
windowMaxMost bins served in each direction

◆ NeighborWindow() [2/2]

Acts::SurfaceArray::NeighborWindow::NeighborWindow ( std::uint8_t maxNeighborDistance)
constexpr

Isotropic window: at least one bin unless the bound forbids it, at most maxNeighborDistance.

Deprecated
The two axes of a layer grid are not equivalent, give the bounds per axis.
Parameters
maxNeighborDistanceMost bins served in each direction