11#ifndef ALICEO2_EMCAL_RECONSTRUCTIONERRORS_H
12#define ALICEO2_EMCAL_RECONSTRUCTIONERRORS_H
20namespace reconstructionerrors
Errors appearing in geometry access obtaining the tower ID.
constexpr int getErrorCodeFromGainError(GainError_t errortype)
Convert gain error type into numberic representation.
const char * getGainErrorDescription(GainError_t errortype)
Get detailed description of a given gain error type.
@ LGNOHG
LG found below HG/LG transition, HG missing.
@ HGNOLG
HG saturated, LG missing.
@ UNKNOWN_ERROR
Unknown error code.
@ CELL_RANGE_EXCEED
Requested cell value exceeding allowed cell range.
@ CELL_INDEX_NEGATIVE
Requested cell value negative.
constexpr int getErrorCodeFromGeometryError(GeometryError_t errortype)
Convert geometry error type into numberic representation.
const char * getGeometryErrorName(GeometryError_t errortype)
Get name of a given geometry error type.
const char * getGeometryErrorDescription(GeometryError_t errortype)
Get detailed description of a given geometry error type.
constexpr int getErrorCodeFromTRUDecodingError(TRUDecodingError_t error)
Convert TRU decoding error type into numberic representation.
GainError_t getGainErrorFromErrorCode(unsigned int errorcode)
Convert error code to gain error type.
const char * getTRUDecodingErrorTitle(TRUDecodingError_t errortype)
Get title of a given TRU decoding error type.
const char * getTRUDecodingErrorErrorDescription(TRUDecodingError_t errortype)
Get detailed description of a given TRU decoding error type.
constexpr int getNumberOfGainErrorCodes()
Get the number of gain error codes.
const char * getGainErrorName(GainError_t errortype)
Get name of a given gain error type.
TRUDecodingError_t getTRUDecodingErrorFromErrorCode(unsigned int errorcode)
Convert error code to TRU decoding error type.
const char * getGainErrorTitle(GainError_t errortype)
Get title of a given gain error type.
constexpr int getNumberOfTRUErrorCodes()
Get the number of TRU error codes.
GeometryError_t getGeometryErrorFromErrorCode(unsigned int errorcode)
Convert error code to geometry error type.
constexpr int getNumberOfGeometryErrorCodes()
Get the number of geometry error codes.
const char * getTRUDecodingErrorName(TRUDecodingError_t errortype)
Get name of a given TRU decoding error type.
@ UNKNOWN_ERROR
Unknown error type.
@ TRU_INDEX_INVALID
TRU index invalid.
@ FASTOR_INDEX_INVALID
FastOR index unknown.
@ FASTOR_STARTTIME_INVALID
FastOr stattime is larger than 14.
@ PATCH_INDEX_INVALID
Patch index outside range.
const char * getGeometryErrorTitle(GeometryError_t errortype)
Get title of a given geometry error type.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...