Go to the documentation of this file.
39 #ifndef ALIUnitsTable_HH
40 #define ALIUnitsTable_HH
45 #include <CLHEP/Vector/ThreeVector.h>
friend std::ostream & operator<<(std::ostream &, ALIBestUnit VU)
std::vector< ALIUnitsCategory * > ALIUnitsTable
ALIUnitDefinition & operator=(const ALIUnitDefinition &)
ALIint operator==(const ALIUnitsCategory &) const
ALIint operator!=(const ALIUnitDefinition &) const
ALIdouble GetValue() const
ALIUnitDefinition(ALIstring name, ALIstring symbol, ALIstring category, ALIdouble value)
void UpdateSymbMxLen(ALIint len)
static ALIstring GetCategory(ALIstring)
ALIBestUnit(ALIdouble internalValue, ALIstring category)
ALIUnitsContainer & GetUnitsList()
ALIint operator==(const ALIUnitDefinition &) const
ALIstring GetName() const
ALIstring GetSymbol() const
void UpdateNameMxLen(ALIint len)
static void PrintUnitsTable()
ALIUnitsContainer UnitsList
ALIint operator!=(const ALIUnitsCategory &) const
static void BuildUnitsTable()
std::vector< std::shared_ptr< ALIUnitDefinition > > ALIUnitsContainer
size_t GetIndexOfCategory() const
static ALIdouble GetValueOf(ALIstring)
ALIUnitsCategory & operator=(const ALIUnitsCategory &)
static ALIUnitsTable theUnitsTable
static ALIUnitsTable & GetUnitsTable()
ALIint GetNameMxLen() const
ALIint GetSymbMxLen() const
ALIstring GetCategory() const
ALIUnitsCategory(ALIstring name)
ALIstring GetName() const