20 #ifdef __GENIE_LHAPDF6_ENABLED__ 21 #include "LHAPDF/LHAPDF.h" 24 using namespace genie;
33 #ifdef __GENIE_LHAPDF6_ENABLED__ 44 #ifdef __GENIE_LHAPDF6_ENABLED__ 101 #ifdef __GENIE_LHAPDF6_ENABLED__ 106 fLHAPDF->xfxQ2(
x,Q2,pdfvec);
107 pdf.uval = pdfvec[8] - pdfvec[4];
108 pdf.dval = pdfvec[7] - pdfvec[5];
109 pdf.usea = pdfvec[4];
110 pdf.dsea = pdfvec[5];
112 pdf.chm = pdfvec[10];
113 pdf.bot = pdfvec[11];
114 pdf.top = pdfvec[12];
121 LOG(
"LHAPDF6",
pFATAL) <<
"LHAPDF6 not enabled.";
145 #ifdef __GENIE_LHAPDF6_ENABLED__ 149 <<
"Couldn't retrieve LHADPF6 pdf set: "
void Configure(const Registry &config)
double Bottom(double x, double Q2) const
THE MAIN GENIE PROJECT NAMESPACE
double Q2(const Interaction *const i)
double Strange(double x, double Q2) const
double Charm(double x, double Q2) const
double Top(double x, double Q2) const
double UpSea(double x, double Q2) const
Pure abstract base class. Defines the PDFModelI interface to be implemented by wrapper classes to exi...
PDF_t AllPDFs(double x, double Q2) const
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
double UpValence(double x, double Q2) const
virtual void Configure(const Registry &config)
A struct to hold PDF set data.
A registry. Provides the container for algorithm configuration parameters.
double DownSea(double x, double Q2) const
bool GetParam(const RgKey &name, T &p, bool is_top_call=true) const
double DownValence(double x, double Q2) const
double Gluon(double x, double Q2) const