ATLAS Offline Software
Loading...
Searching...
No Matches
Acts::InPlaceClusterization::Cell< coordinates_t, N, index_t > Struct Template Reference

A possible Cell type, that can be clustered. More...

#include <InPlaceClusterization.h>

Collaboration diagram for Acts::InPlaceClusterization::Cell< coordinates_t, N, index_t >:

Public Member Functions

 Cell (const std::array< coordinates_t, N > &the_coordinates, index_t src_index)

Public Attributes

std::array< coordinates_t, N > coordinates
 the coordinates of the cell on the regular grid
index_t label
 a label which will be assigned by the clusterization
index_t srcIndex
 the index to find the source cell

Detailed Description

template<typename coordinates_t, std::size_t N, std::unsigned_integral index_t>
struct Acts::InPlaceClusterization::Cell< coordinates_t, N, index_t >

A possible Cell type, that can be clustered.

Template Parameters
coordinates_tare expected to be signed integers
index_tshould be an unsigned integer
Note
Unsigned coordinates should work, float coordinate types may cause problems. See getCellCoordinate, The maximum difference between coordinates must not exceed the maximum possible value i.e. for std::int8_t the largest supported symmetric range would be -63..63.

Definition at line 62 of file InPlaceClusterization.h.

Constructor & Destructor Documentation

◆ Cell()

template<typename coordinates_t, std::size_t N, std::unsigned_integral index_t>
Acts::InPlaceClusterization::Cell< coordinates_t, N, index_t >::Cell ( const std::array< coordinates_t, N > & the_coordinates,
index_t src_index )
inline

Definition at line 63 of file InPlaceClusterization.h.

A possible Cell type, that can be clustered.
index_t label
a label which will be assigned by the clusterization
std::array< coordinates_t, N > coordinates
the coordinates of the cell on the regular grid
index_t srcIndex
the index to find the source cell

Member Data Documentation

◆ coordinates

template<typename coordinates_t, std::size_t N, std::unsigned_integral index_t>
std::array<coordinates_t, N> Acts::InPlaceClusterization::Cell< coordinates_t, N, index_t >::coordinates

the coordinates of the cell on the regular grid

Definition at line 67 of file InPlaceClusterization.h.

◆ label

template<typename coordinates_t, std::size_t N, std::unsigned_integral index_t>
index_t Acts::InPlaceClusterization::Cell< coordinates_t, N, index_t >::label

a label which will be assigned by the clusterization

Definition at line 68 of file InPlaceClusterization.h.

◆ srcIndex

template<typename coordinates_t, std::size_t N, std::unsigned_integral index_t>
index_t Acts::InPlaceClusterization::Cell< coordinates_t, N, index_t >::srcIndex

the index to find the source cell

Definition at line 69 of file InPlaceClusterization.h.


The documentation for this struct was generated from the following file: