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 grid_type = grid_t
 Broadcast the grid type.

Public Member Functions

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

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.
Transform3 transform = Transform3::Identity()
 A transform to be applied to the position.

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

◆ grid_type

template<typename grid_t>
using Acts::IndexGrid< grid_t >::grid_type = grid_t

Broadcast the grid type.

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 ( )
delete

Member Data Documentation

◆ casts

template<typename grid_t>
std::array<AxisDirection, grid_type::DIM> Acts::IndexGrid< grid_t >::casts {}

These are the cast parameters - copied from constructor.

◆ grid

template<typename grid_t>
grid_type Acts::IndexGrid< grid_t >::grid

The grid where the indices are stored.

◆ transform

template<typename grid_t>
Transform3 Acts::IndexGrid< grid_t >::transform = Transform3::Identity()

A transform to be applied to the position.