22 int main(
int argc,
char **argv)
32 JParser<> zap(
"Auxiliary program to add PDF tables of the arrival time of the Cherenkov light from a muon.");
40 catch(
const exception &error) {
41 FATAL(error.what() << endl);
45 if (inputFile.empty()) {
46 FATAL(
"No input file(s)." << endl);
51 typedef JSplineFunction1D_t JFunction1D_t;
52 typedef JMAPLIST<JPolint1FunctionalMap,
53 JPolint1FunctionalGridMap,
54 JPolint1FunctionalGridMap>::maplist JMapList_t;
55 typedef JPDFTable<JFunction1D_t, JMapList_t> JPDF_t;
57 const JFunction1D_t::JSupervisor supervisor(
new JFunction1D_t::JDefaultResult(0.0));
65 NOTICE(
"loading input from file " << *i <<
"... " << flush);
69 buffer.load(i->c_str());
71 buffer.setExceptionHandler(supervisor);
80 catch(
const JException& error) {
81 FATAL(error.what() << endl);
93 catch(
const JException& error) {