19 int main(
int argc,
char **argv)
30 JParser<> zap(
"Program to merge interpolation tables of shower light for PDFs.");
38 catch(
const exception &error) {
39 FATAL(error.what() << endl);
43 typedef JSplineFunction1D_t JFunction1D_t;
44 typedef JMAPLIST<JPolint1FunctionalMap,
45 JPolint1FunctionalMap,
46 JPolint1FunctionalGridMap,
47 JPolint1FunctionalGridMap>::maplist JMapList_t;
48 typedef JPDFTable<JFunction1D_t, JMapList_t> JPDF_t;
56 NOTICE(
"loading input from file " << *file_name <<
"... " << flush);
62 fcn.load(file_name->c_str());
66 pdf.transformer.reset(fcn.transformer->clone());
71 for (JPDF_t::super_const_iterator i = fcn.super_begin(); i != fcn.super_end(); ++i)
74 catch(
const JException& error) {
75 FATAL(error.what() << endl);
89 catch(
const JException& error) {
90 FATAL(error.what() << endl);