ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::GridAccess::LocalSubspace< Args > Class Template Reference

#include <Acts/Utilities/GridAccessHelpers.hpp>

Inheritance diagram for Acts::GridAccess::LocalSubspace< Args >:
[legend]
Collaboration diagram for Acts::GridAccess::LocalSubspace< Args >:
[legend]

Public Types

using grid_local_t = std::array<double, sizeof...(Args)>

Public Member Functions

 LocalSubspace ()=default
 Assert that the accessors are unique.
grid_local_t toGridLocal (const Vector2 &lposition) const
 Access the local entries.
Public Member Functions inherited from Acts::GridAccess::IBoundToGridLocal
virtual ~IBoundToGridLocal ()=default

Static Public Attributes

static constexpr std::array< std::size_t, sizeof...(Args)> accessors

Member Typedef Documentation

◆ grid_local_t

template<std::size_t... Args>
using Acts::GridAccess::LocalSubspace< Args >::grid_local_t = std::array<double, sizeof...(Args)>

Constructor & Destructor Documentation

◆ LocalSubspace()

template<std::size_t... Args>
Acts::GridAccess::LocalSubspace< Args >::LocalSubspace ( )
default

Assert that the accessors are unique.

Only 0 or 1 are allowed

Member Function Documentation

◆ toGridLocal()

template<std::size_t... Args>
grid_local_t Acts::GridAccess::LocalSubspace< Args >::toGridLocal ( const Vector2 & lposition) const

Access the local entries.

Parameters
lpositionis the local position
Returns
the grid position

Member Data Documentation

◆ accessors

template<std::size_t... Args>
std::array<std::size_t, sizeof...(Args)> Acts::GridAccess::LocalSubspace< Args >::accessors
staticconstexpr
Initial value:
= {
Args...}