#include <ALIUnitsTable.h>
Definition at line 129 of file ALIUnitsTable.h.
◆ ALIBestUnit() [1/2]
◆ ALIBestUnit() [2/2]
ALIBestUnit::ALIBestUnit |
( |
const CLHEP::Hep3Vector & |
internalValue, |
|
|
ALIstring |
category |
|
) |
| |
◆ ~ALIBestUnit()
ALIBestUnit::~ALIBestUnit |
( |
| ) |
|
◆ GetCategory()
◆ GetIndexOfCategory()
size_t ALIBestUnit::GetIndexOfCategory |
( |
| ) |
const |
|
inline |
◆ GetValue()
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
flux, |
|
|
ALIBestUnit |
VU |
|
) |
| |
|
friend |
Definition at line 329 of file ALIUnitsTable.cc.
332 ALIint len = theUnitsTable[
a.IndexOfCategory]->GetSymbMxLen();
334 ALIint ksup(-1), kinf(-1);
341 for (
size_t k = 0;
k < List.size();
k++) {
343 if (
value == 1.E12) {
348 }
else if (
value <= -1.E12) {
375 flux <<
a.Value[
j] / (List[
index]->GetValue()) <<
" ";
378 #ifdef ALIUSE_STD_NAMESPACE 379 std::ios::fmtflags oldform =
std::cout.flags();
384 flux.setf(std::ios::left, std::ios::adjustfield);
385 flux << std::setw(len) << List[
index]->GetSymbol();
std::vector< ALIUnitsCategory * > ALIUnitsTable
Abs< T >::type abs(const T &t)
Basic3DVector unit() const
std::vector< std::shared_ptr< ALIUnitDefinition > > ALIUnitsContainer
static ALIUnitsTable & GetUnitsTable()
◆ Category
◆ IndexOfCategory
size_t ALIBestUnit::IndexOfCategory |
|
private |
◆ nbOfVals
◆ Value