/usr/share/doc/liblhapdf-dev/examples/CCTest3.cc is in liblhapdf-dev 5.9.1-3+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #include "LHAPDF/LHAPDF.h"
#include "LHAPDF/LHAPDFfw.h"
#include <iterator>
#include <iostream>
#include <cstdlib>
using namespace std;
int main() {
cout << "Prefix path: " << LHAPDF::prefixPath() << endl;
cout << "Index path: " << LHAPDF::pdfsetsIndexPath() << endl;
cout << "PDF sets path: " << LHAPDF::pdfsetsPath() << endl;
return EXIT_SUCCESS;
}
#include "LHAPDF/FortranWrappers.h"
#ifdef FC_DUMMY_MAIN
int FC_DUMMY_MAIN() { return 1; }
#endif
|