Jpp
15.0.1-rc.1-highqe
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
software
JPhysics
getK40Rates.cc
Go to the documentation of this file.
1
#include <string>
2
#include <iostream>
3
#include <iomanip>
4
5
#include "
Jeep/JParser.hh
"
6
#include "
Jeep/JMessage.hh
"
7
8
#include "
JPhysics/JK40Rates.hh
"
9
#include "
JPhysics/Antares.hh
"
10
#include "
JPhysics/KM3NeT.hh
"
11
12
13
/**
14
* \file
15
* Auxiliary program to print K40 rates.
16
* \author mdejong
17
*/
18
int
main
(
int
argc,
char
**argv)
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
}
JPARSER::JParser
Utility class to parse command line options.
Definition:
JParser.hh:1500
main
int main(int argc, char *argv[])
Definition:
Main.cc:15
Antares.hh
Properties of Antares PMT and deep-sea water.
KM3NeT.hh
Properties of KM3NeT PMT and deep-sea water.
make_field
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Definition:
JParser.hh:1961
ANTARES::getK40Rates
const JK40Rates & getK40Rates()
Get K40 rates.
Definition:
Antares.hh:27
debug
int debug
debug level
Definition:
JSirene.cc:63
JMessage.hh
General purpose messaging.
FATAL
#define FATAL(A)
Definition:
JMessage.hh:67
JK40Rates.hh
JParser.hh
Utility class to parse command line options.
Generated by
1.8.5