#include <OAQuality.h>
Static Public Member Functions | |
static const OAQuality | index (const int &ind) |
static const char * | name (OAQuality oaq) |
Definition at line 6 of file OAQuality.h.
static const OAQuality OAQualityTranslator::index | ( | const int & | ind | ) | [inline, static] |
Definition at line 18 of file OAQuality.h.
References oa_calibrated, oa_fixed, and oa_unknown.
{ switch (ind) { case 0: return oa_fixed; break; case 1: return oa_calibrated; break; case 2: return oa_unknown; break; default: return oa_unknown; break; } }
static const char* OAQualityTranslator::name | ( | OAQuality | oaq | ) | [inline, static] |
Definition at line 8 of file OAQuality.h.
References trackerHits::c.
{ static const char* c[] = { "fixed", "calibrated", "unknown" }; return c[oaq]; }