#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 52 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 35 of file ALIUnitsTable.cc.
|
private |
Definition at line 39 of file ALIUnitsTable.cc.
|
static |
Definition at line 116 of file ALIUnitsTable.cc.
References fermi, g, geant_units::joule(), and edm::second().
Referenced by GetCategory(), GetValue(), and GetValueOf().
Definition at line 86 of file ALIUnitsTable.cc.
References BuildUnitsTable(), gather_cfg::cout, mps_fire::i, dqmiolumiharvest::j, Skims_PA_cff::name, theUnitsTable, and units().
Referenced by GetUnitsTable().
|
inline |
|
inline |
|
inlinestatic |
Definition at line 75 of file ALIUnitsTable.h.
References GetCategory(), GetValueOf(), and theUnitsTable.
Referenced by ALIBestUnit::ALIBestUnit(), and operator<<().
|
inline |
Definition at line 68 of file ALIUnitsTable.h.
References BuildUnitsTable(), PrintDefinition(), PrintUnitsTable(), and Value.
Definition at line 65 of file ALIUnitsTable.cc.
References BuildUnitsTable(), gather_cfg::cout, mps_fire::i, dqmiolumiharvest::j, Skims_PA_cff::name, theUnitsTable, and units().
Referenced by GetUnitsTable(), and ParameterMgr::getVal().
ALIint ALIUnitDefinition::operator!= | ( | const ALIUnitDefinition & | right | ) | const |
Definition at line 62 of file ALIUnitsTable.cc.
|
private |
Definition at line 46 of file ALIUnitsTable.cc.
References CategoryIndex, Name, SymbolName, and Value.
ALIint ALIUnitDefinition::operator== | ( | const ALIUnitDefinition & | right | ) | const |
Definition at line 58 of file ALIUnitsTable.cc.
void ALIUnitDefinition::PrintDefinition | ( | ) |
Definition at line 108 of file ALIUnitsTable.cc.
References CategoryIndex, gather_cfg::cout, Name, SymbolName, theUnitsTable, and Value.
Referenced by GetValue().
|
static |
Definition at line 232 of file ALIUnitsTable.cc.
References gather_cfg::cout, mps_fire::i, and theUnitsTable.
Referenced by GetValue().
|
private |
Definition at line 87 of file ALIUnitsTable.h.
Referenced by ALIUnitDefinition(), operator=(), and PrintDefinition().
|
private |
Definition at line 81 of file ALIUnitsTable.h.
Referenced by GetName(), ALIUnitsCategory::GetName(), operator=(), and PrintDefinition().
|
private |
Definition at line 82 of file ALIUnitsTable.h.
Referenced by GetSymbol(), operator=(), and PrintDefinition().
|
staticprivate |
Definition at line 85 of file ALIUnitsTable.h.
Referenced by ALIUnitDefinition(), GetCategory(), GetUnitsTable(), GetValueOf(), PrintDefinition(), and PrintUnitsTable().
|
private |
Definition at line 83 of file ALIUnitsTable.h.
Referenced by GetValue(), ALIBestUnit::GetValue(), operator=(), and PrintDefinition().