#include <ALIUnitsTable.h>
Public Member Functions | |
ALIUnitDefinition (ALIstring name, ALIstring symbol, ALIstring category, ALIdouble value) | |
ALIstring | GetName () const |
ALIstring | GetSymbol () const |
ALIdouble | GetValue () const |
ALIint | operator!= (const ALIUnitDefinition &) const |
ALIint | operator== (const ALIUnitDefinition &) const |
void | PrintDefinition () |
~ALIUnitDefinition () | |
Static Public Member Functions | |
static void | BuildUnitsTable () |
static ALIstring | GetCategory (ALIstring) |
static ALIUnitsTable & | GetUnitsTable () |
static ALIdouble | GetValueOf (ALIstring) |
static void | PrintUnitsTable () |
Private Member Functions | |
ALIUnitDefinition (ALIUnitDefinition &) | |
ALIUnitDefinition & | operator= (const ALIUnitDefinition &) |
Private Attributes | |
size_t | CategoryIndex |
ALIstring | Name |
ALIstring | SymbolName |
ALIdouble | Value |
Static Private Attributes | |
static ALIUnitsTable | theUnitsTable |
Definition at line 53 of file ALIUnitsTable.h.
ALIUnitDefinition::ALIUnitDefinition | ( | ALIstring | name, |
ALIstring | symbol, | ||
ALIstring | category, | ||
ALIdouble | value | ||
) |
Definition at line 13 of file ALIUnitsTable.cc.
References CategoryIndex, GetName(), mps_fire::i, and theUnitsTable.
ALIUnitDefinition::~ALIUnitDefinition | ( | ) |
Definition at line 36 of file ALIUnitsTable.cc.
|
private |
Definition at line 41 of file ALIUnitsTable.cc.
|
static |
Definition at line 126 of file ALIUnitsTable.cc.
References fermi, g, geant_units::joule(), and edm::second().
Referenced by GetCategory(), GetValue(), and GetValueOf().
Definition at line 95 of file ALIUnitsTable.cc.
References BuildUnitsTable(), gather_cfg::cout, mps_fire::i, dataset::name, theUnitsTable, and units().
Referenced by GetUnitsTable().
|
inline |
|
inline |
|
inlinestatic |
Definition at line 82 of file ALIUnitsTable.h.
References GetCategory(), GetValueOf(), and theUnitsTable.
Referenced by ALIBestUnit::ALIBestUnit(), and operator<<().
|
inline |
Definition at line 75 of file ALIUnitsTable.h.
References BuildUnitsTable(), PrintDefinition(), PrintUnitsTable(), and Value.
Definition at line 75 of file ALIUnitsTable.cc.
References BuildUnitsTable(), gather_cfg::cout, mps_fire::i, dataset::name, theUnitsTable, and units().
Referenced by GetUnitsTable(), and ParameterMgr::getVal().
ALIint ALIUnitDefinition::operator!= | ( | const ALIUnitDefinition & | right | ) | const |
Definition at line 69 of file ALIUnitsTable.cc.
|
private |
Definition at line 48 of file ALIUnitsTable.cc.
References CategoryIndex, Name, SymbolName, and Value.
ALIint ALIUnitDefinition::operator== | ( | const ALIUnitDefinition & | right | ) | const |
Definition at line 62 of file ALIUnitsTable.cc.
void ALIUnitDefinition::PrintDefinition | ( | ) |
Definition at line 116 of file ALIUnitsTable.cc.
References CategoryIndex, gather_cfg::cout, Name, SymbolName, theUnitsTable, and Value.
Referenced by GetValue().
|
static |
Definition at line 243 of file ALIUnitsTable.cc.
References gather_cfg::cout, mps_fire::i, and theUnitsTable.
Referenced by GetValue().
|
private |
Definition at line 97 of file ALIUnitsTable.h.
Referenced by ALIUnitDefinition(), operator=(), and PrintDefinition().
|
private |
Definition at line 89 of file ALIUnitsTable.h.
Referenced by GetName(), ALIUnitsCategory::GetName(), operator=(), and PrintDefinition().
|
private |
Definition at line 90 of file ALIUnitsTable.h.
Referenced by GetSymbol(), operator=(), and PrintDefinition().
|
staticprivate |
Definition at line 94 of file ALIUnitsTable.h.
Referenced by ALIUnitDefinition(), GetCategory(), GetUnitsTable(), GetValueOf(), PrintDefinition(), and PrintUnitsTable().
|
private |
Definition at line 91 of file ALIUnitsTable.h.
Referenced by GetValue(), ALIBestUnit::GetValue(), operator=(), and PrintDefinition().