#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 330 of file ALIUnitsTable.cc.
333 ALIint len = theUnitsTable[
a.IndexOfCategory]->GetSymbMxLen();
335 ALIint ksup(-1), kinf(-1);
342 for (
size_t k = 0;
k < List.size();
k++) {
344 if (
value == 1.E12) {
349 }
else if (
value <= -1.E12) {
358 if ((ratio >= 1.) && (ratio < rsup)) {
362 if ((ratio < 1.) && (ratio > rinf)) {
376 flux <<
a.Value[
j] / (List[
index]->GetValue()) <<
" ";
379 #ifdef ALIUSE_STD_NAMESPACE 380 std::ios::fmtflags oldform =
std::cout.flags();
385 flux.setf(std::ios::left, std::ios::adjustfield);
386 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