18#ifndef O2_MCH_BASE_ERROR_H
19#define O2_MCH_BASE_ERROR_H
70 static const std::map<ErrorGroup, std::string>
groupNames;
71 static const std::map<ErrorType, std::string>
typeNames;
GLint GLint GLsizei GLint GLenum GLenum type
constexpr uint32_t buildTypeGID(ErrorGroup group, uint32_t id)
helper function to construct the error type GID (not supposed to be used outside of this header)
constexpr ErrorGroup errorGroup(ErrorType error)
@ Tracking_TooManyCandidates
@ PreClustering_LostDigit
@ PreClustering_MultipleDigitsInSamePad
@ Clustering_TooManyLocalMaxima
static const std::map< ErrorType, std::string > typeNames
names of known error type
std::string getTypeDescription() const
uint32_t id1
additional descriptor used for certain error types
static const std::map< ErrorType, std::string > getTypeNames(ErrorGroup group)
std::string getGroupName() const
ErrorGroup getGroup() const
uint32_t id0
additional descriptor used for certain error types
std::string asString() const
static const std::map< ErrorType, std::string > typeDescriptions
descriptions of known error type
std::string getTypeName() const
static const std::map< ErrorGroup, std::string > groupNames
names of known error group