Go to the documentation of this file.    1 #ifndef __JEEP__JSCALE__ 
    2 #define __JEEP__JSCALE__ 
   15 namespace JPP { 
using namespace JEEP; }
 
   49     return pow(10.0, 
scale);
 
 
General puprpose classes and methods.
 
const char * getUnit(const int scale)
Get textual unit corresponding to scale.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
JScale_t
Enumeration for scaling of quantity.
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
 
Exception for accessing a value in a collection that is outside of its range.
 
double getValue(const JScale_t scale)
Get numerical value corresponding to scale.
 
JScale_t getScale(const char unit)
Get scale corresponding to textual unit.
 
void scale(vector< double > &v, double c)
scale vector content