![]() |
Project
|
#include <RegularGrid3D.h>
Public Member Functions | |
RegularGrid3D (const DataT zmin, const DataT rmin, const DataT phimin, const DataT spacingZ, const DataT spacingR, const DataT spacingPhi, const ParamSpaceCharge ¶ms) | |
int | getDeltaXDataIndex (const int deltaX) const |
int | getDeltaYDataIndex (const int deltaY) const |
int | getDeltaZDataIndex (const int deltaZ) const |
int | getDeltaDataIndex (const int delta, const int dim) const |
bool | isIndexInGrid (const int index, const unsigned int dim) const |
size_t | getN (unsigned int dim) const |
size_t | getNZ () const |
size_t | getNR () const |
size_t | getNPhi () const |
const Vector< DataT, 3 > & | getGridMin () const |
DataT | getGridMinZ () const |
DataT | getGridMinR () const |
DataT | getGridMinPhi () const |
DataT | getGridMaxZ () const |
DataT | getGridMaxR () const |
DataT | getGridMaxPhi () const |
const Vector< DataT, 3 > & | getInvSpacing () const |
DataT | getInvSpacingZ () const |
DataT | getInvSpacingR () const |
DataT | getInvSpacingPhi () const |
DataT | getSpacingZ () const |
DataT | getSpacingR () const |
DataT | getSpacingPhi () const |
DataT | clampToGrid (const DataT pos, const unsigned int dim) const |
DataT | clampToGridRel (const DataT pos, const unsigned int dim) const |
DataT | clampToGridCircular (DataT pos, const unsigned int dim) const |
DataT | clampToGridCircularRel (DataT pos, const unsigned int dim) const |
DataT | getZVertex (const size_t vertexX) const |
DataT | getRVertex (const size_t vertexY) const |
DataT | getPhiVertex (const size_t vertexZ) const |
const Vector< DataT, 3 > & | getMaxIndices () const |
DataT | getMaxIndexZ () const |
get max indices for all dimensions | |
DataT | getMaxIndexR () const |
get max index in x direction | |
DataT | getMaxIndexPhi () const |
get max index in y direction | |
const auto & | getParamSC () const |
get max index in z direction | |
unsigned short | getRVertices () const |
unsigned short | getZVertices () const |
unsigned short | getPhiVertices () const |
RegularGridHelper< double > | getHelper () const |
Static Public Member Functions | |
static constexpr unsigned int | getDim () |
static constexpr unsigned int | getFZ () |
static constexpr unsigned int | getFR () |
static constexpr unsigned int | getFPhi () |
This class implements basic properties of a regular 3D-Grid like the spacing for each dimension and min and max coordinates.
DataT | the type of data which is used during the calculations |
Definition at line 47 of file RegularGrid3D.h.
|
inline |
Definition at line 50 of file RegularGrid3D.h.
DataT o2::tpc::RegularGrid3D< DataT >::clampToGrid | ( | const DataT | pos, |
const unsigned int | dim | ||
) | const |
pos | query position which will be clamped |
Definition at line 188 of file RegularGrid3D.h.
DataT o2::tpc::RegularGrid3D< DataT >::clampToGridCircular | ( | DataT | pos, |
const unsigned int | dim | ||
) | const |
pos | query position which will be clamped |
Definition at line 218 of file RegularGrid3D.h.
DataT o2::tpc::RegularGrid3D< DataT >::clampToGridCircularRel | ( | DataT | pos, |
const unsigned int | dim | ||
) | const |
pos | relative query position in grid which will be clamped |
Definition at line 230 of file RegularGrid3D.h.
DataT o2::tpc::RegularGrid3D< DataT >::clampToGridRel | ( | const DataT | pos, |
const unsigned int | dim | ||
) | const |
pos | relative query position in grid which will be clamped |
Definition at line 207 of file RegularGrid3D.h.
int o2::tpc::RegularGrid3D< DataT >::getDeltaDataIndex | ( | const int | delta, |
const int | dim | ||
) | const |
delta | delta index |
dim | dimension of interest |
Definition at line 259 of file RegularGrid3D.h.
|
inline |
deltaX | delta x index |
Definition at line 60 of file RegularGrid3D.h.
|
inline |
deltaY | delta y index |
Definition at line 64 of file RegularGrid3D.h.
|
inline |
deltaZ | delta z index |
Definition at line 68 of file RegularGrid3D.h.
|
inlinestaticconstexpr |
Definition at line 88 of file RegularGrid3D.h.
|
inlinestaticconstexpr |
Definition at line 91 of file RegularGrid3D.h.
|
inlinestaticconstexpr |
Definition at line 90 of file RegularGrid3D.h.
|
inlinestaticconstexpr |
Definition at line 89 of file RegularGrid3D.h.
|
inline |
Definition at line 100 of file RegularGrid3D.h.
|
inline |
Definition at line 99 of file RegularGrid3D.h.
|
inline |
Definition at line 98 of file RegularGrid3D.h.
|
inline |
Definition at line 93 of file RegularGrid3D.h.
|
inline |
Definition at line 96 of file RegularGrid3D.h.
|
inline |
Definition at line 95 of file RegularGrid3D.h.
|
inline |
Definition at line 94 of file RegularGrid3D.h.
|
inline |
Definition at line 158 of file RegularGrid3D.h.
|
inline |
Definition at line 103 of file RegularGrid3D.h.
|
inline |
Definition at line 106 of file RegularGrid3D.h.
|
inline |
Definition at line 105 of file RegularGrid3D.h.
|
inline |
Definition at line 104 of file RegularGrid3D.h.
|
inline |
get max index in y direction
Definition at line 148 of file RegularGrid3D.h.
|
inline |
get max index in x direction
Definition at line 147 of file RegularGrid3D.h.
|
inline |
get max indices for all dimensions
Definition at line 146 of file RegularGrid3D.h.
|
inline |
Definition at line 144 of file RegularGrid3D.h.
|
inline |
dim | dimension of interest |
Definition at line 83 of file RegularGrid3D.h.
|
inline |
Definition at line 86 of file RegularGrid3D.h.
|
inline |
Definition at line 85 of file RegularGrid3D.h.
|
inline |
Definition at line 84 of file RegularGrid3D.h.
|
inline |
get max index in z direction
returns grid parameters
Definition at line 151 of file RegularGrid3D.h.
|
inline |
vertexZ | in z dimension |
Definition at line 142 of file RegularGrid3D.h.
|
inline |
Definition at line 155 of file RegularGrid3D.h.
|
inline |
vertexY | in y dimension |
Definition at line 138 of file RegularGrid3D.h.
|
inline |
Definition at line 153 of file RegularGrid3D.h.
|
inline |
Definition at line 110 of file RegularGrid3D.h.
|
inline |
Definition at line 109 of file RegularGrid3D.h.
|
inline |
Definition at line 108 of file RegularGrid3D.h.
|
inline |
vertexX | in x dimension |
Definition at line 134 of file RegularGrid3D.h.
|
inline |
Definition at line 154 of file RegularGrid3D.h.
|
inline |
index | query index |
Definition at line 79 of file RegularGrid3D.h.