#include <ALIUnitsTable.h>
Definition at line 129 of file ALIUnitsTable.h.
ALIBestUnit::ALIBestUnit |
( |
const CLHEP::Hep3Vector & |
internalValue, |
|
|
ALIstring |
category |
|
) |
| |
ALIBestUnit::~ALIBestUnit |
( |
| ) |
|
size_t ALIBestUnit::GetIndexOfCategory |
( |
| ) |
const |
|
inline |
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) {
357 if ((ratio >= 1.) && (ratio < rsup)) {
361 if ((ratio < 1.) && (ratio > rinf)) {
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)
std::vector< std::shared_ptr< ALIUnitDefinition >> ALIUnitsContainer
static ALIUnitsTable & GetUnitsTable()
Basic3DVector unit() const
size_t ALIBestUnit::IndexOfCategory |
|
private |