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