18int main(
int argc,
char **argv)
29 JParser<> zap(
"Main program to get equivalent electro-magnetic energy.");
31 zap[
'P'] =
make_field(type,
"PDG particle type");
37 catch(
const exception &error) {
38 FATAL(error.what() << endl);
44 E = getKineticEnergy(E, JPDB::getInstance().getPDG(type).mass);
46 catch(
const exception& error) {
47 ERROR(error.what() << endl);
General purpose messaging.
Utility class to parse command line options.
#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).
This file contains converted Fortran code from km3.
Auxiliary data structure for floating point format specification.