Go to the documentation of this file.
13 #define PRINT(out, scale) {\
14 out << setw(8) << left << #scale << ' ' \
15 << scientific << setprecision(0) << getValue(scale) << ' ' \
26 int main(
int argc,
char* argv[])
42 catch(
const exception &error) {
43 FATAL(error.what() << endl);
49 cout <<
"unit [" << unit <<
"] " << scientific << setprecision(0) <<
getValue(
getScale(unit)) << endl;
int main(int argc, char *argv[])
#define PRINT(out, scale)
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
double getValue(const JScale_t scale)
Get numerical value corresponding to scale.
JScale_t getScale(const char unit)
Get scale corresponding to textual unit.