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