#include <CocoaUnitsTable.h>
Public Member Functions | |
CocoaUnitDefinition (const ALIstring &name, const ALIstring &symbol, const ALIstring &category, ALIdouble value) | |
const ALIstring & | GetName () const |
const ALIstring & | GetSymbol () const |
ALIdouble | GetValue () const |
ALIint | operator!= (const CocoaUnitDefinition &) const |
ALIint | operator== (const CocoaUnitDefinition &) const |
void | PrintDefinition () |
~CocoaUnitDefinition () | |
Static Public Member Functions | |
static void | BuildUnitsTable () |
static ALIstring | GetCategory (const ALIstring &) |
static CocoaUnitsTable & | GetUnitsTable () |
static ALIdouble | GetValueOf (const ALIstring &) |
static void | PrintUnitsTable () |
Private Member Functions | |
CocoaUnitDefinition (const CocoaUnitDefinition &) | |
CocoaUnitDefinition & | operator= (const CocoaUnitDefinition &) |
Private Attributes | |
size_t | CategoryIndex |
ALIstring | Name |
ALIstring | SymbolName |
ALIdouble | Value |
Static Private Attributes | |
static CocoaUnitsTable | theUnitsTable |
Definition at line 17 of file CocoaUnitsTable.h.
CocoaUnitDefinition::CocoaUnitDefinition | ( | const ALIstring & | name, |
const ALIstring & | symbol, | ||
const ALIstring & | category, | ||
ALIdouble | value | ||
) |
Definition at line 12 of file CocoaUnitsTable.cc.
References taus_updatedMVAIds_cff::category, CategoryIndex, GetName(), mps_fire::i, Skims_PA_cff::name, push_back(), and theUnitsTable.
Referenced by BuildUnitsTable().
CocoaUnitDefinition::~CocoaUnitDefinition | ( | ) |
Definition at line 37 of file CocoaUnitsTable.cc.
References mps_fire::i, and theUnitsTable.
|
private |
Definition at line 45 of file CocoaUnitsTable.cc.
|
static |
Definition at line 124 of file CocoaUnitsTable.cc.
References CocoaUnitDefinition(), g, geant_units::joule(), and edm::second().
Referenced by CocoaBestUnit::CocoaBestUnit(), GetCategory(), and GetValueOf().
Definition at line 94 of file CocoaUnitsTable.cc.
References BuildUnitsTable(), gather_cfg::cout, mps_fire::i, dqmiolumiharvest::j, Skims_PA_cff::name, str, theUnitsTable, and units().
|
inline |
Definition at line 31 of file CocoaUnitsTable.h.
References Name.
Referenced by CocoaUnitDefinition().
|
inline |
|
static |
Definition at line 69 of file CocoaUnitsTable.cc.
References theUnitsTable.
Referenced by CocoaBestUnit::CocoaBestUnit(), and operator<<().
|
inline |
Definition at line 73 of file CocoaUnitsTable.cc.
References BuildUnitsTable(), gather_cfg::cout, mps_fire::i, dqmiolumiharvest::j, Skims_PA_cff::name, str, theUnitsTable, and units().
ALIint CocoaUnitDefinition::operator!= | ( | const CocoaUnitDefinition & | right | ) | const |
Definition at line 65 of file CocoaUnitsTable.cc.
|
private |
Definition at line 49 of file CocoaUnitsTable.cc.
References CategoryIndex, Name, SymbolName, and Value.
ALIint CocoaUnitDefinition::operator== | ( | const CocoaUnitDefinition & | right | ) | const |
Definition at line 61 of file CocoaUnitsTable.cc.
void CocoaUnitDefinition::PrintDefinition | ( | ) |
Definition at line 116 of file CocoaUnitsTable.cc.
References CategoryIndex, gather_cfg::cout, Name, SymbolName, theUnitsTable, and Value.
|
static |
Definition at line 239 of file CocoaUnitsTable.cc.
References gather_cfg::cout, mps_fire::i, and theUnitsTable.
|
private |
Definition at line 52 of file CocoaUnitsTable.h.
Referenced by CocoaUnitDefinition(), operator=(), and PrintDefinition().
|
private |
Definition at line 46 of file CocoaUnitsTable.h.
Referenced by GetName(), operator=(), and PrintDefinition().
|
private |
Definition at line 47 of file CocoaUnitsTable.h.
Referenced by GetSymbol(), operator=(), and PrintDefinition().
|
staticprivate |
Definition at line 50 of file CocoaUnitsTable.h.
Referenced by CocoaUnitDefinition(), GetCategory(), GetUnitsTable(), GetValueOf(), PrintDefinition(), PrintUnitsTable(), and ~CocoaUnitDefinition().
|
private |
Definition at line 48 of file CocoaUnitsTable.h.
Referenced by GetValue(), operator=(), and PrintDefinition().