7#ifndef LHAPDF_Factories_H
8#define LHAPDF_Factories_H
36 PDF*
mkPDF(
const std::string& setname, size_t member);
81 void mkPDFs(
const std::string& setname, std::vector<PDF*>& pdfs);
89 template <
typename PTR>
90 void mkPDFs(
const std::string& setname, std::vector<PTR>& pdfs) {
91 std::vector<PDF*> rawptrs;
92 mkPDFs(setname, rawptrs);
94 pdfs.reserve(rawptrs.size());
96 for (size_t i = 0; i < rawptrs.size(); ++i) pdfs.push_back(PTR(rawptrs[i]));
Calculator interface for computing alpha_s(Q2) in various ways.
Definition AlphaS.h:24
Class for PDF set metadata and manipulation.
Definition Config.h:16
Metadata base class for PDFs, PDF sets, or global configuration.
Definition Info.h:29
The general interface for interpolating between grid points.
Definition Interpolator.h:21
Metadata class for PDF members.
Definition PDFInfo.h:18
Class for PDF-set metadata and manipulation.
Definition PDFSet.h:105
PDF is the general interface for access to parton density information.
Definition PDF.h:40
AlphaS * mkAlphaS(const std::string &setname, size_t member)
Make an AlphaS object for the specified PDF.
AlphaS * mkAlphaS(int lhaid)
Make an AlphaS object for the specified PDF.
AlphaS * mkBareAlphaS(const std::string &type)
Make an AlphaS object of the requested type without a PDF reference.
AlphaS * mkAlphaS(const Info &info)
Make an AlphaS object from an Info object.
AlphaS * mkAlphaS(const std::string &setname_nmem)
PDFInfo * mkPDFInfo(const std::string &setname, size_t member)
PDFInfo * mkPDFInfo(const std::string &setname_nmem)
PDFInfo * mkPDFInfo(int lhaid)
Extrapolator * mkExtrapolator(const std::string &name)
Interpolator * mkInterpolator(const std::string &name)
PDF * mkPDF(const std::string &setname_nmem)
PDF * mkPDF(const std::string &setname, size_t member)
void mkPDFs(const std::string &setname, std::vector< PDF * > &pdfs)
Get all PDFs in a named set (return by filling the supplied vector).
PDFSet & getPDFSet(const std::string &setname)
void mkPDFs(const std::string &setname, std::vector< PTR > &pdfs)
Definition Factories.h:90
std::vector< PDF * > mkPDFs(const std::string &setname)
Get all PDFs in a named set (return by a new vector).
Namespace for all LHAPDF functions and classes.
Definition AlphaS.h:14