15#include <framework/logging/Logger.h>
72 static void displayError(
const char* file,
const int line,
const char* func,
const enum ECode code)
74 const char* str_error =
88 sprintf(buf,
"%s:%d:%s(): %s", file, line, func, str_error);
KFitError is a container of error codes and a macro function.
static void displayError(const char *file, const int line, const char *func, const enum ECode code)
Display a description of error and its location.
ECode
ECode is a error code enumerate.
@ kCannotGetARCSIN
Cannot get arcsin (bad track property or internal error)
@ kUnimplemented
Unprepared.
@ kCannotGetMatrixInverse
Cannot calculate matrix inverse (bad track property or internal error)
@ kOutOfRange
Specified track-id out of range.
@ kNotFittedYet
Not fitted yet.
@ kDivisionByZero
Division by zero (bad track property or internal error)
@ kBadInitialCHIsq
Bad initial chi-square (internal error)
@ kBadTrackSize
Track count too small to perform fit.
@ kBadMatrixSize
Wrong correlation matrix size.
@ kBadCorrelationSize
Wrong correlation matrix size (internal error)
Abstract base class for different kinds of events.