7 #ifndef LHAPDF_Factories_H
8 #define LHAPDF_Factories_H
82 PDF*
mkPDF(
const std::string& setname,
int member);
110 void mkPDFs(
const std::string& setname, std::vector<PDF*>& pdfs);
113 std::vector<PDF*>
mkPDFs(
const std::string& setname);
118 template <
typename PTR>
119 void mkPDFs(
const std::string& setname, std::vector<PTR>& pdfs) {
120 std::vector<PDF*> rawptrs;
123 pdfs.reserve(rawptrs.size());
125 for (
size_t i = 0; i < rawptrs.size(); ++i) pdfs.push_back(PTR(rawptrs[i]));
Interpolator * mkInterpolator(const std::string &name)
PDF * mkPDF(const std::string &setname, int member)
PDFInfo * mkPDFInfo(const std::string &setname, int member)
Metadata class for PDF members.
Definition: PDFInfo.h:18
AlphaS * mkAlphaS(const Info &info)
Make an AlphaS object from an Info object.
PDFSet & getPDFSet(const std::string &setname)
Metadata base class for PDFs, PDF sets, or global configuration.
Definition: Info.h:30
void mkPDFs(const std::string &setname, std::vector< PDF * > &pdfs)
Get all PDFs in a named set (return by filling the supplied vector).
The general interface for interpolating between grid points.
Definition: Interpolator.h:21
Class for PDF set metadata and manipulation.
Definition: PDFSet.h:39
PDF is the general interface for access to parton density information.
Definition: PDF.h:26
Extrapolator * mkExtrapolator(const std::string &name)
Namespace for all LHAPDF functions and classes.
Definition: AlphaS.h:14
AlphaS * mkBareAlphaS(const std::string &type)
Make an AlphaS object of the requested type without a PDF reference.
Calculator interface for computing alpha_s(Q2) in various ways.
Definition: AlphaS.h:23