10 #include <framework/logging/Logger.h>
52 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
62 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
72 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
82 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
92 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
102 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
112 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
128 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
139 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
149 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
159 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
170 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
182 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
193 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
Class to store mapping between cell id and store array positions.
std::vector< double > m_CellIdToTheta
vector (8736+1 entries) with cell id to phi values
void setCellIdToNeighbour7(const int &cellid, const std::vector< short int > &neighbours)
Set celld id to neighbour7.
double getCellIdToPhi(const int &cellid)
Get phi from cell id.
std::vector< int > m_CellIdToThetaId
vector (8736+1 entries) with cell id to phi values
std::vector< int > m_CellIdToStoreArrPosition
vector (8736+1 entries) with cell id to store array positions
double getCellIdToTheta(const int &cellid)
Get theta from cell id.
std::vector< short int > & getCellIdToNeighbour7(const int &cellid)
Get store array from cell id.
std::vector< std::vector< short int > > m_CellIdToNeighbours5
vector (8736+1 entries) with cell id to 5x5 neighbour vector
void setCellIdToNeighbour5(const int &cellid, const std::vector< short int > &neighbours)
Set celld id to neighbour5.
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.
std::vector< double > m_CellIdToPhi
vector (8736+1 entries) with cell id to phi values
void setCellIdToStoreArray(const int &cellid, const int &idx)
Set celld id to store array.
std::vector< int > m_CellIdToPhiId
vector (8736+1 entries) with cell id to phi values
ClassDef(ECLCellIdMapping, 1)
ClassDef.
int getCellIdToPhiId(const int &cellid)
Get phi from cell id.
int getCellIdToStoreArray(const int &cellid)
Get store array from cell id.
static constexpr int c_nECLCellIds
Number of ECL CellId.
int getCellIdToThetaId(const int &cellid)
Get theta from cell id.
void reset()
Reset store array.
std::vector< short int > & getCellIdToNeighbour5(const int &cellid)
Get store array from cell id.
void setCellIdToTheta(const int &cellid, const double &theta)
Set celld id to theta.
std::vector< std::vector< short int > > m_CellIdToNeighbours7
vector (8736+1 entries) with cell id to 7x7 neighbour vector
void setCellIdToPhi(const int &cellid, const double &phi)
Set celld id to phi.
ECLCellIdMapping()
Default constructor.
Abstract base class for different kinds of events.