#include <ALIUnitsTable.h>
Definition at line 52 of file ALIUnitsTable.h.
ALIUnitDefinition::~ALIUnitDefinition |
( |
| ) |
|
void ALIUnitDefinition::BuildUnitsTable |
( |
| ) |
|
|
static |
Definition at line 126 of file ALIUnitsTable.cc.
References ALIUnitDefinition(), fermi, g, and edm::second().
Referenced by GetCategory(), and GetValueOf().
ALIUnitDefinition(ALIstring name, ALIstring symbol, ALIstring category, ALIdouble value)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
U second(std::pair< T, U > const &p)
Definition at line 95 of file ALIUnitsTable.cc.
References BuildUnitsTable(), gather_cfg::cout, i, j, mergeVDriftHistosByStation::name, theUnitsTable, and units().
101 for (
size_t j=0;
j<units.size();
j++)
102 { name=units[
j]->GetName(); symbol=units[
j]->GetSymbol();
103 if(stri==name||stri==symbol)
107 std::cout <<
"Warning from ALIUnitDefinition::GetCategory(" << stri <<
")."
108 <<
" The unit " << stri <<
" does not exist in UnitsTable."
109 <<
" Return category = None" << std::endl;
std::vector< ALIUnitDefinition * > ALIUnitsContainer
static void BuildUnitsTable()
TString units(TString variable, Char_t axis)
static ALIUnitsTable theUnitsTable
ALIstring ALIUnitDefinition::GetName |
( |
| ) |
const |
|
inline |
ALIstring ALIUnitDefinition::GetSymbol |
( |
| ) |
const |
|
inline |
ALIdouble ALIUnitDefinition::GetValue |
( |
| ) |
const |
|
inline |
Definition at line 75 of file ALIUnitsTable.cc.
References BuildUnitsTable(), gather_cfg::cout, i, j, mergeVDriftHistosByStation::name, theUnitsTable, and units().
Referenced by ParameterMgr::getVal().
81 for (
size_t j=0;
j<units.size();
j++)
82 { name=units[
j]->GetName(); symbol=units[
j]->GetSymbol();
83 if(stri==name||stri==symbol)
84 return units[
j]->GetValue();
87 std::cout <<
"Warning from ALIUnitDefinition::GetValueOf(" << stri <<
")."
88 <<
" The unit " << stri <<
" does not exist in UnitsTable."
89 <<
" Return Value = 0." << std::endl;
std::vector< ALIUnitDefinition * > ALIUnitsContainer
static void BuildUnitsTable()
TString units(TString variable, Char_t axis)
static ALIUnitsTable theUnitsTable
void ALIUnitDefinition::PrintDefinition |
( |
| ) |
|
void ALIUnitDefinition::PrintUnitsTable |
( |
| ) |
|
|
static |
size_t ALIUnitDefinition::CategoryIndex |
|
private |