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 an EM-shower.");
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 JPolint1FunctionalMap,
54 JPolint1FunctionalGridMap,
55 JPolint1FunctionalGridMap>::maplist JMapList_t;
56 typedef JPDFTable<JFunction1D_t, JMapList_t> JPDF_t;
60 const JFunction1D_t::JSupervisor supervisor(
new JFunction1D_t::JDefaultResult(0.0));
66 NOTICE(
"loading input from file " << *i <<
"... " << flush);
70 buffer.load(i->c_str());
72 buffer.setExceptionHandler(supervisor);
81 catch(
const JException& error) {
82 FATAL(error.what() << endl);
94 catch(
const JException& error) {