#include "LHAPDF/LHAPDF.h"
#include <iterator>
#include <iostream>
#include <cstdlib>
int main() {
const int SUBSET = 0;
const string NAME = "CT10";
const double Q = 10.0, mz = 91.2;
cout << "name = " << NAME << endl;
cout << endl;
for (int n = 0; n < NUMBER + 1; ++n) {
cout << "Set number: " << n << endl;
for (int ix = 1; ix < 11; ++ix) {
const double x = (ix - 0.5) / 10.0;
cout <<
"x=" << x <<
", Q=" << Q <<
", f=0: " <<
LHAPDF::xfx(x, Q, 0) << endl;
}
cout << endl;
}
for (int n = 0; n < NUMBER + 1; ++n) {
cout << "Set number: " << n << endl;
for (int ix = 1; ix < 11; ++ix) {
const double x = (ix - 0.5) / 10.0;
cout << "x=" << x << ", Q=" << Q << ": ";
std::copy(result.begin(), result.end(), ostream_iterator<double>(cout,"\t"));
cout << endl;
}
cout << endl;
}
cout << string().insert(0, 40, '-') << endl << endl;
cout << "Checking LHAPDF with package " << endl;
cout << NAME <<
" set number " << SUBSET <<
"/" <<
LHAPDF::numberPDF() << endl << endl;
cout << "LHAPDF::getDescription() gives:" << endl;
return EXIT_SUCCESS;
}
#include "FortranWrappers.h"
#ifdef FC_DUMMY_MAIN
int FC_DUMMY_MAIN() { return 1; }
#endif