ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::IndexGrid< grid_t > Class Template Reference

This is an index grid based navigation state updator, it uses an extractor type and a filler type to handle the navigation state. More...

#include <Acts/Geometry/IndexGrid.hpp>

Inheritance diagram for Acts::IndexGrid< grid_t >:
[legend]
Collaboration diagram for Acts::IndexGrid< grid_t >:
[legend]

Public Types

using Delegate_t
 Abrivation of the delegate to transform the external point into the grid's coordinate system.
using grid_type = grid_t
 Broadcast the grid type.

Public Member Functions

 IndexGrid (grid_type &&igrid, const std::array< AxisDirection, grid_type::DIM > &icasts, const Transform3 &itr=Transform3::Identity())
 Constructor for a grid based surface attacher.
 IndexGrid (grid_type &&igrid, const std::array< AxisDirection, grid_type::DIM > &icasts, Delegate_t trfFunc)
 Constructor for a grid based surface attacher with alignable delegate.

Public Attributes

std::array< AxisDirection, grid_type::DIM > casts {}
 These are the cast parameters - copied from constructor.
grid_type grid
 The grid where the indices are stored.
Delegate_t toLocalFrame = nullptr
 Delegate to transform the external points into the grid's coordinate system.

Detailed Description

template<typename grid_t>
class Acts::IndexGrid< grid_t >

This is an index grid based navigation state updator, it uses an extractor type and a filler type to handle the navigation state.

Note
a transform is applied p3l = transform * p3 in order to allow shifted, transformed grids

It can be used for volumes, surfaces at convenience

Template Parameters
navigation_typedistinguishes between internal and external navigation
grid_tis the type of the grid
extractor_typeis the helper to extract the object
filler_typeis the helper to fill the object into the nState

Member Typedef Documentation

◆ Delegate_t

template<typename grid_t>
using Acts::IndexGrid< grid_t >::Delegate_t
Initial value:
std::function<const Transform3&(const GeometryContext& gctx)>
This is the central definition of the Acts payload object regarding detector geometry status (e....
Definition GeometryContext.hpp:46
Eigen::Transform< double, 3, Eigen::Affine > Transform3
3D affine transformation stored as a 4x4 matrix
Definition Algebra.hpp:125

Abrivation of the delegate to transform the external point into the grid's coordinate system.

Constructor & Destructor Documentation

◆ IndexGrid() [1/2]

template<typename grid_t>
Acts::IndexGrid< grid_t >::IndexGrid ( grid_type && igrid,
const std::array< AxisDirection, grid_type::DIM > & icasts,
const Transform3 & itr = Transform3::Identity() )

Constructor for a grid based surface attacher.

Parameters
igridthe grid that is moved into this attacher
icastsis the cast values array
itra transform applied to the global position

◆ IndexGrid() [2/2]

template<typename grid_t>
Acts::IndexGrid< grid_t >::IndexGrid ( grid_type && igrid,
const std::array< AxisDirection, grid_type::DIM > & icasts,
Delegate_t trfFunc )

Constructor for a grid based surface attacher with alignable delegate.

Parameters
igridthe grid that is moved into this attacher
icastsis the cast values array
trfFunca transform applied to the global position