Belle II Software  release-08-01-10
ECLCellIdMapping Class Reference

Class to store mapping between cell id and store array positions. More...

#include <ECLCellIdMapping.h>

Inheritance diagram for ECLCellIdMapping:
Collaboration diagram for ECLCellIdMapping:

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
 

Detailed Description

Class to store mapping between cell id and store array positions.

Definition at line 28 of file ECLCellIdMapping.h.


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