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