Belle II Software light-2406-ragdoll
|
KFitError is a container of error codes and a macro function. More...
#include <KFitError.h>
Public Types | |
enum | ECode { kNoError = 0 , kNotFittedYet = 1 , kOutOfRange = 11 , kUnimplemented = 12 , kBadTrackSize = 21 , kBadMatrixSize = 22 , kBadCorrelationSize = 23 , kBadInitialCHIsq = 24 , kDivisionByZero = 31 , kCannotGetMatrixInverse = 32 , kCannotGetARCSIN = 33 } |
ECode is a error code enumerate. More... | |
Static Public Member Functions | |
static void | displayError (const char *file, const int line, const char *func, const enum ECode code) |
Display a description of error and its location. | |
KFitError is a container of error codes and a macro function.
Definition at line 29 of file KFitError.h.
enum ECode |
ECode is a error code enumerate.
Enumerator | |
---|---|
kNoError | No error. |
kNotFittedYet | Not fitted yet. |
kOutOfRange | Specified track-id out of range. |
kUnimplemented | Unprepared. |
kBadTrackSize | Track count too small to perform fit. |
kBadMatrixSize | Wrong correlation matrix size. |
kBadCorrelationSize | Wrong correlation matrix size (internal error) |
kBadInitialCHIsq | Bad initial chi-square (internal error) |
kDivisionByZero | Division by zero (bad track property or internal error) |
kCannotGetMatrixInverse | Cannot calculate matrix inverse (bad track property or internal error) |
kCannotGetARCSIN | Cannot get arcsin (bad track property or internal error) |
Definition at line 34 of file KFitError.h.
|
inlinestatic |
Display a description of error and its location.
file | file name where the error takes place |
line | line number in the file |
func | function name in the file |
code | error code |
Definition at line 72 of file KFitError.h.