#include <ALIUnitsTable.h>
Definition at line 52 of file ALIUnitsTable.h.
ALIUnitDefinition::~ALIUnitDefinition |
( |
| ) |
|
void ALIUnitDefinition::BuildUnitsTable |
( |
| ) |
|
|
static |
Definition at line 125 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 94 of file ALIUnitsTable.cc.
References BuildUnitsTable(), gather_cfg::cout, i, j, mergeVDriftHistosByStation::name, theUnitsTable, and units().
100 for (
size_t j=0;
j<units.size();
j++)
101 { name=units[
j]->GetName(); symbol=units[
j]->GetSymbol();
102 if(stri==name||stri==symbol)
106 std::cout <<
"Warning from ALIUnitDefinition::GetCategory(" << stri <<
")."
107 <<
" The unit " << stri <<
" does not exist in UnitsTable."
108 <<
" 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 74 of file ALIUnitsTable.cc.
References BuildUnitsTable(), gather_cfg::cout, i, j, mergeVDriftHistosByStation::name, theUnitsTable, and units().
Referenced by ParameterMgr::getVal().
80 for (
size_t j=0;
j<units.size();
j++)
81 { name=units[
j]->GetName(); symbol=units[
j]->GetSymbol();
82 if(stri==name||stri==symbol)
83 return units[
j]->GetValue();
86 std::cout <<
"Warning from ALIUnitDefinition::GetValueOf(" << stri <<
")."
87 <<
" The unit " << stri <<
" does not exist in UnitsTable."
88 <<
" 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 |