Go to the documentation of this file.
5 #ifndef CocoaUnitsTable_HH
6 #define CocoaUnitsTable_HH
10 #include "CLHEP/Vector/ThreeVector.h"
const ALIstring & GetCategory() const
friend std::ostream & operator<<(std::ostream &, CocoaBestUnit VU)
std::vector< CocoaUnitsCategory * > CocoaUnitsTable
void UpdateSymbMxLen(ALIint len)
ALIint operator==(const CocoaUnitDefinition &) const
ALIint operator!=(const CocoaUnitsCategory &) const
static CocoaUnitsTable & GetUnitsTable()
CocoaBestUnit(ALIdouble internalValue, const ALIstring &category)
ALIint GetNameMxLen() const
const ALIstring & GetSymbol() const
void UpdateNameMxLen(ALIint len)
ALIint GetSymbMxLen() const
ALIint operator!=(const CocoaUnitDefinition &) const
CocoaUnitsCategory & operator=(const CocoaUnitsCategory &)
static void PrintUnitsTable()
CocoaUnitsCategory(const ALIstring &name)
ALIdouble GetValue() const
const ALIstring & GetName() const
const ALIstring & GetName() const
std::vector< CocoaUnitDefinition * > CocoaUnitsContainer
CocoaUnitsContainer UnitsList
static CocoaUnitsTable theUnitsTable
ALIint operator==(const CocoaUnitsCategory &) const
CocoaUnitDefinition(const ALIstring &name, const ALIstring &symbol, const ALIstring &category, ALIdouble value)
size_t GetIndexOfCategory() const
static void BuildUnitsTable()
CocoaUnitDefinition & operator=(const CocoaUnitDefinition &)
static ALIstring GetCategory(const ALIstring &)
CocoaUnitsContainer & GetUnitsList()
static ALIdouble GetValueOf(const ALIstring &)