Belle II Software development
|
Class to store mapping between cell id and store array positions. More...
#include <ECLCellIdMapping.h>
Public Member Functions | |
ECLCellIdMapping () | |
Default constructor. | |
void | setCellIdToStoreArray (const int &cellid, const int &idx) |
Set celld id to store array. | |
void | setCellIdToNeighbour5 (const int &cellid, const std::vector< short int > &neighbours) |
Set celld id to neighbour5. | |
void | setCellIdToNeighbour7 (const int &cellid, const std::vector< short int > &neighbours) |
Set celld id to neighbour7. | |
void | setCellIdToNeighbour9 (const int &cellid, const std::vector< short int > &neighbours) |
Set celld id to neighbour9. | |
void | setCellIdToNeighbour11 (const int &cellid, const std::vector< short int > &neighbours) |
Set celld id to neighbour11. | |
void | setCellIdToPhi (const int &cellid, const double &phi) |
Set celld id to phi. | |
void | setCellIdToTheta (const int &cellid, const double &theta) |
Set celld id to theta. | |
void | setCellIdToPhiId (const int &cellid, const int &phiid) |
Set celld id to phi. | |
void | setCellIdToThetaId (const int &cellid, const int &thetaid) |
Set celld id to theta. | |
void | reset () |
Reset store array. | |
int | getCellIdToStoreArray (const int &cellid) |
Get store array from cell id. | |
std::vector< short int > & | getCellIdToNeighbour5 (const int &cellid) |
Get store array from cell id. | |
std::vector< short int > & | getCellIdToNeighbour7 (const int &cellid) |
Get store array from cell id. | |
std::vector< short int > & | getCellIdToNeighbour9 (const int &cellid) |
Get store array from cell id. | |
std::vector< short int > & | getCellIdToNeighbour11 (const int &cellid) |
Get store array from cell id. | |
double | getCellIdToPhi (const int &cellid) |
Get phi from cell id. | |
double | getCellIdToTheta (const int &cellid) |
Get theta from cell id. | |
int | getCellIdToPhiId (const int &cellid) |
Get phi from cell id. | |
int | getCellIdToThetaId (const int &cellid) |
Get theta from cell id. | |
Private Member Functions | |
ClassDef (ECLCellIdMapping, 1) | |
ClassDef. | |
Private Attributes | |
std::vector< int > | m_CellIdToStoreArrPosition |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to store array positions | |
std::vector< double > | m_CellIdToPhi |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to phi values | |
std::vector< double > | m_CellIdToTheta |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to phi values | |
std::vector< int > | m_CellIdToPhiId |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to phi values | |
std::vector< int > | m_CellIdToThetaId |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to phi values | |
std::vector< std::vector< short int > > | m_CellIdToNeighbours5 |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to 5x5 neighbour vector | |
std::vector< std::vector< short int > > | m_CellIdToNeighbours7 |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to 7x7 neighbour vector | |
std::vector< std::vector< short int > > | m_CellIdToNeighbours9 |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to 9x9 neighbour vector | |
std::vector< std::vector< short int > > | m_CellIdToNeighbours11 |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to 11x11 neighbour vector | |
Class to store mapping between cell id and store array positions.
Definition at line 28 of file ECLCellIdMapping.h.
|
inline |
Default constructor.
Definition at line 34 of file ECLCellIdMapping.h.
|
inline |
Get store array from cell id.
Definition at line 188 of file ECLCellIdMapping.h.
|
inline |
Get store array from cell id.
Definition at line 158 of file ECLCellIdMapping.h.
|
inline |
Get store array from cell id.
Definition at line 168 of file ECLCellIdMapping.h.
|
inline |
Get store array from cell id.
Definition at line 178 of file ECLCellIdMapping.h.
|
inline |
Get phi from cell id.
Definition at line 198 of file ECLCellIdMapping.h.
|
inline |
Get phi from cell id.
Definition at line 221 of file ECLCellIdMapping.h.
|
inline |
Get store array from cell id.
Definition at line 147 of file ECLCellIdMapping.h.
|
inline |
Get theta from cell id.
Definition at line 209 of file ECLCellIdMapping.h.
|
inline |
Get theta from cell id.
Definition at line 232 of file ECLCellIdMapping.h.
|
inline |
Reset store array.
Definition at line 141 of file ECLCellIdMapping.h.
|
inline |
Set celld id to neighbour11.
Definition at line 91 of file ECLCellIdMapping.h.
|
inline |
Set celld id to neighbour5.
Definition at line 61 of file ECLCellIdMapping.h.
|
inline |
Set celld id to neighbour7.
Definition at line 71 of file ECLCellIdMapping.h.
|
inline |
Set celld id to neighbour9.
Definition at line 81 of file ECLCellIdMapping.h.
|
inline |
Set celld id to phi.
Definition at line 101 of file ECLCellIdMapping.h.
|
inline |
Set celld id to phi.
Definition at line 121 of file ECLCellIdMapping.h.
|
inline |
Set celld id to store array.
Definition at line 51 of file ECLCellIdMapping.h.
|
inline |
Set celld id to theta.
Definition at line 111 of file ECLCellIdMapping.h.
|
inline |
Set celld id to theta.
Definition at line 131 of file ECLCellIdMapping.h.
|
private |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to 11x11 neighbour vector
Definition at line 270 of file ECLCellIdMapping.h.
|
private |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to 5x5 neighbour vector
Definition at line 261 of file ECLCellIdMapping.h.
|
private |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to 7x7 neighbour vector
Definition at line 264 of file ECLCellIdMapping.h.
|
private |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to 9x9 neighbour vector
Definition at line 267 of file ECLCellIdMapping.h.
|
private |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to phi values
Definition at line 249 of file ECLCellIdMapping.h.
|
private |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to phi values
Definition at line 255 of file ECLCellIdMapping.h.
|
private |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to store array positions
Definition at line 246 of file ECLCellIdMapping.h.
|
private |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to phi values
Definition at line 252 of file ECLCellIdMapping.h.
|
private |
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to phi values
Definition at line 258 of file ECLCellIdMapping.h.