Jpp 19.3.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
getK40Rates.cc File Reference

Auxiliary program to print K40 rates. More...

#include <string>
#include <iostream>
#include <iomanip>
#include "Jeep/JParser.hh"
#include "Jeep/JMessage.hh"
#include "JPhysics/JK40Rates.hh"
#include "JPhysics/Antares.hh"
#include "JPhysics/KM3NeT.hh"

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Detailed Description

Auxiliary program to print K40 rates.

Author
mdejong

Definition in file getK40Rates.cc.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 18 of file getK40Rates.cc.

19{
20 using namespace std;
21 using namespace JPP;
22
23 int debug;
24
25 try {
26
27 JParser<> zap("Auxiliary program to print K40 rates.");
28
29 zap['d'] = make_field(debug) = 0;
30
31 zap(argc, argv);
32 }
33 catch(const exception &error) {
34 FATAL(error.what() << endl);
35 }
36
37 cout << NAMESPACE::getK40Rates() << endl;
38}
#define FATAL(A)
Definition JMessage.hh:67
int debug
debug level
Definition JSirene.cc:72
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Definition JParser.hh:2142
Utility class to parse command line options.
Definition JParser.hh:1698
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).