1#ifndef __JEEP__JSCALE__
2#define __JEEP__JSCALE__
15namespace JPP {
using namespace JEEP; }
49 return pow(10.0,
scale);
void scale(vector< double > &v, double c)
scale vector content
#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.
General puprpose classes and methods.
JScale_t getScale(const char unit)
Get scale corresponding to textual unit.
double getValue(const JScale_t scale)
Get numerical value corresponding to scale.
JScale_t
Enumeration for scaling of quantity.
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).