18 int main(
int argc,
char **argv)
31 JParser<> zap(
"Auxiliary program to apply the transition time spread (TTS) of the PMTs to interpolation tables of PDFs.");
42 catch(
const exception &error) {
43 FATAL(error.what() << endl);
49 typedef JSplineFunction1D_t JFunction1D_t;
50 typedef JMAPLIST<JPolint1FunctionalMap,
51 JPolint1FunctionalGridMap,
52 JPolint1FunctionalGridMap>::maplist JMapList_t;
53 typedef JPDFTable<JFunction1D_t, JMapList_t> JPDF_t;
60 NOTICE(
"loading input from file " << inputFile <<
"... " << flush);
62 pdf.load(inputFile.c_str());
66 catch(
const JException& error) {
67 FATAL(error.what() << endl);
71 pdf.setExceptionHandler(
new JFunction1D_t::JDefaultResult(0.0));
73 NOTICE(
"Gauss-Hermite integration... " << flush);