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);
84 std::vector<PDF*>
mkPDFs(
const std::string& setname);
89 template <
typename PTR>
90 void mkPDFs(
const std::string& setname, std::vector<PTR>& pdfs) {
91 std::vector<PDF*> 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
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 * 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.
PDFInfo * mkPDFInfo(const std::string &setname, size_t member)
Extrapolator * mkExtrapolator(const std::string &name)
Interpolator * mkInterpolator(const std::string &name)
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)
Namespace for all LHAPDF functions and classes.
Definition AlphaS.h:14