19 int main(
int argc,
char **argv)
28 JParser<> zap(
"Auxiliary program to print particle codes and masses.");
30 zap[
'k'] =
make_field(key) =
"name",
"geant",
"pdg",
"mass",
"charge";
35 catch(
const exception& error) {
36 FATAL(error.what() << endl);
45 else if (key ==
"pdg")
47 else if (key ==
"geant")
49 else if (key ==
"mass")
51 else if (key ==
"mass")
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
Utility class to parse command line options.
JComparator< JResult_t T::*, JComparison::lt > make_comparator(JResult_t T::*member)
Helper method to create comparator between values of data member.
T & getInstance(const T &object)
Get static instance from temporary object.
static const JGeant geant(geanx, 0.0001)
Function object for the number of photons from EM-shower as a function of emission angle.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).