11#include <ecl/dataobjects/ECLElementNumbers.h>
14#include <framework/logging/Logger.h>
56 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
66 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
76 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
86 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
96 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
106 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
116 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
126 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
136 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
152 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
163 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
173 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
183 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
193 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
203 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
214 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
226 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
237 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
Class to store mapping between cell id and store array positions.
std::vector< short int > & getCellIdToNeighbour9(const int &cellid)
Get store array from cell id.
std::vector< double > m_CellIdToTheta
vector (ECLElementNumbers::c_NCrystals + 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 (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to phi values
std::vector< int > m_CellIdToStoreArrPosition
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to store array positions
double getCellIdToTheta(const int &cellid)
Get theta from cell id.
std::vector< std::vector< short int > > m_CellIdToNeighbours5
vector (ECLElementNumbers::c_NCrystals + 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< short int > & getCellIdToNeighbour11(const int &cellid)
Get store array from cell id.
std::vector< double > m_CellIdToPhi
vector (ECLElementNumbers::c_NCrystals + 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 (ECLElementNumbers::c_NCrystals + 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.
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.
int getCellIdToThetaId(const int &cellid)
Get theta from cell id.
void reset()
Reset store array.
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.
std::vector< std::vector< short int > > m_CellIdToNeighbours9
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to 9x9 neighbour vector
void setCellIdToTheta(const int &cellid, const double &theta)
Set celld id to theta.
std::vector< std::vector< short int > > m_CellIdToNeighbours7
vector (ECLElementNumbers::c_NCrystals + 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.
std::vector< std::vector< short int > > m_CellIdToNeighbours11
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to 11x11 neighbour vector
const int c_NCrystals
Number of crystals.
Abstract base class for different kinds of events.