20int main(
int argc,
char **argv)
31 JParser<> zap(
"Auxiliary program to print PMT thresholds.");
33 zap[
'f'] =
make_field(inputFile,
"PMT threshold file (json format)");
39 catch(
const exception &error) {
40 FATAL(error.what() << endl);
46 istream* in = open<istream>(inputFile.c_str());
59 if (i->threshold >= threshold) {
60 cout <<
"PMT " << left << setw(32) << static_cast<const JUPI_t&>(*i) <<
" -> " << right << setw(3) << i->threshold << endl;
64 catch(
const exception& error) {
65 FATAL(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.
int main(int argc, char **argv)
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).