Example program to test zero values (JMATH::zero).
More...
#include <iostream>
#include <iomanip>
#include <limits>
#include "JMath/JLimits.hh"
#include "Jeep/JParser.hh"
#include "Jeep/JMessage.hh"
Go to the source code of this file.
|
#define | PRINT(OUT, CLASS) |
|
|
int | main (int argc, char **argv) |
|
Example program to test zero values (JMATH::zero).
- Author
- mdejong
Definition in file JLimits.cc.
◆ PRINT
#define PRINT |
( |
| OUT, |
|
|
| CLASS ) |
Value:
void print(const TH1 &h1, std::ostream &out)
Print histogram parameters.
Definition at line 74 of file JLimits.cc.
◆ main()
int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 84 of file JLimits.cc.
85{
87
89
90 try {
91
92 JParser<> zap(
"Example program to test zero values of non-primitive data types.");
93
95
96 zap(argc, argv);
97 }
98 catch(const exception &error) {
99 FATAL(error.what() << endl);
100 }
101
103
108 PRINT(cout,
long double);
110
113
117
118 return 0;
119}
#define PRINT(OUT, CLASS)
#define ASSERT(A,...)
Assert macro.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class for minimum and maximum values for any class.