 |
Belle II Software
release-05-01-25
|
15 #include <framework/logging/Logger.h>
28 class ECLCellIdMapping :
public TObject {
57 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
67 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
77 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
87 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
97 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
107 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
117 B2ERROR(
"Cell Id " << cellid <<
" does not exist.");
133 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
144 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
154 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
164 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
175 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
187 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
198 B2FATAL(
"Cell Id " << cellid <<
" does not exist.");
void setCellIdToNeighbour7(const int &cellid, const std::vector< short int > &neighbours)
Set celld id to neighbour7.
std::vector< std::vector< short int > > m_CellIdToNeighbours5
vector (8736+1 entries) with cell id to 5x5 neighbour vector
int getCellIdToStoreArray(const int &cellid)
Get store array from cell id.
Class to store mapping between cell id and store array positions.
double getCellIdToPhi(const int &cellid)
Get phi from cell id.
void setCellIdToTheta(const int &cellid, const double &theta)
Set celld id to theta.
std::vector< double > m_CellIdToPhi
vector (8736+1 entries) with cell id to phi values
void setCellIdToThetaId(const int &cellid, const int &thetaid)
Set celld id to theta.
std::vector< short int > & getCellIdToNeighbour7(const int &cellid)
Get store array from cell id.
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.
void reset()
Reset store array.
int getCellIdToThetaId(const int &cellid)
Get theta from cell id.
std::vector< short int > & getCellIdToNeighbour5(const int &cellid)
Get store array from cell id.
std::vector< double > m_CellIdToTheta
vector (8736+1 entries) with cell id to phi values
std::vector< int > m_CellIdToThetaId
vector (8736+1 entries) with cell id to phi values
Abstract base class for different kinds of events.
double getCellIdToTheta(const int &cellid)
Get theta from cell id.
ECLCellIdMapping()
Default constructor.
ClassDef(ECLCellIdMapping, 1)
ClassDef.
void setCellIdToStoreArray(const int &cellid, const int &idx)
Set celld id to store array.
void setCellIdToPhiId(const int &cellid, const int &phiid)
Set celld id to phi.
std::vector< int > m_CellIdToPhiId
vector (8736+1 entries) with cell id to phi values
int getCellIdToPhiId(const int &cellid)
Get phi from cell id.
void setCellIdToNeighbour5(const int &cellid, const std::vector< short int > &neighbours)
Set celld id to neighbour5.
std::vector< int > m_CellIdToStoreArrPosition
vector (8736+1 entries) with cell id to store array positions
static constexpr int c_nECLCellIds
Number of ECL CellId.