LHAPDF
6.2.1
|
Namespace for all LHAPDF functions and classes. More...
Classes | |
class | AlphaS |
Calculator interface for computing alpha_s(Q2) in various ways. More... | |
class | AlphaS_Analytic |
Calculate alpha_s(Q2) by an analytic approximation. More... | |
class | AlphaS_Ipol |
class | AlphaS_ODE |
Solve the differential equation in alphaS using an implementation of RK4. More... | |
class | AlphaSArray |
Internal storage class for alpha_s interpolation grids. More... | |
class | AlphaSError |
Error for general AlphaS computation problems. More... | |
struct | bad_lexical_cast |
When lexical_cast goes bad. More... | |
class | BicubicInterpolator |
Implementation of bicubic interpolation. More... | |
class | BilinearInterpolator |
Implementation of bilinear interpolation. More... | |
class | Config |
Class for PDF set metadata and manipulation. More... | |
class | ContinuationExtrapolator |
class | ErrExtrapolator |
Extrapolates using the closest point on the Grid. More... | |
class | Exception |
Generic unspecialised LHAPDF runtime error. More... | |
class | Extrapolator |
The general interface for extrapolating beyond grid boundaries. More... | |
class | FactoryError |
Error to be raised by object factories given invalid requests. More... | |
class | FlavorError |
Error for requests for unsupported/invalid flavour PIDs. More... | |
class | GridError |
Error for general PDF grid problems. More... | |
class | GridPDF |
A PDF defined via an interpolation grid. More... | |
class | IndexError |
Error to be raised when a LHAPDF ID indexing fails. More... | |
class | Info |
Metadata base class for PDFs, PDF sets, or global configuration. More... | |
class | Interpolator |
The general interface for interpolating between grid points. More... | |
class | KnotArray1F |
Internal storage class for PDF data point grids. More... | |
class | KnotArrayNF |
A collection of {KnotArray1F}s accessed by PID code. More... | |
class | LogBicubicInterpolator |
Implementation of bicubic interpolation. More... | |
class | LogBilinearInterpolator |
Implementation of bilinear interpolation. More... | |
class | LogicError |
Error for places where it should not have been possible to get to! More... | |
class | MetadataError |
Error for unfound or broken metadata entries. More... | |
class | NearestPointExtrapolator |
Extrapolates using the closest point on the Grid. More... | |
class | NotImplementedError |
This feature doesn't exist yet. More... | |
class | |
PDF is the general interface for access to parton density information. More... | |
class | PDFInfo |
Metadata class for PDF members. More... | |
class | PDFSet |
Class for PDF set metadata and manipulation. More... | |
struct | PDFUncertainty |
Structure for storage of uncertainty info calculated over a PDF error set. More... | |
class | RangeError |
Error to be thrown when out of the valid range of a PDF. More... | |
class | ReadError |
Error for file reading errors. More... | |
class | UserError |
Problem exists between keyboard and chair. More... | |
class | VersionError |
Error to be raised when a newer LHAPDF version is needed. More... | |
Functions | |
std::string | version () |
Get the LHAPDF library version code (as a string) | |
Namespace for all LHAPDF functions and classes.
const std::vector<std::string>& LHAPDF::availablePDFSets | ( | ) |
Get the names of all available PDF sets in the search path.
std::string LHAPDF::findFile | ( | const std::string & | target | ) |
Return the first location in which a file is found
If no matching file is found, return an empty path.
|
inline |
Info& LHAPDF::getConfig | ( | ) |
Get the global configuration object
The global config is populated by reading from lhapdf.conf if it is found in the search paths. It is a singleton, hence the 'get' rather than 'mk' function name.
PDFSet& LHAPDF::getPDFSet | ( | const std::string & | setname | ) |
Get the PDFSet with the given set name.
Returns a PDFSet by reference. When this function is used for access, only one PDFSet object is made per set name... hence the 'get' rather than 'mk' function name.
This function is intended particularly for use where it would be inefficient to have to repeatedly construct a PDFSet by name. The canonical use case is internal: the Info system uses this to ensure that cascading of config settings is efficient, and also allows the automatic application of set-level changes to all PDF member objects in that set.
int LHAPDF::lookupLHAPDFID | ( | const std::string & | setname, |
int | nmem | ||
) |
std::pair<std::string,int> LHAPDF::lookupPDF | ( | const std::string & | pdfstr | ) |
Decode a single PDF member ID string into a setname,memid pair.
std::pair<std::string, int> LHAPDF::lookupPDF | ( | int | lhaid | ) |
AlphaS* LHAPDF::mkAlphaS | ( | const std::string & | setname | ) |
AlphaS* LHAPDF::mkAlphaS | ( | const std::string & | setname, |
int | member | ||
) |
AlphaS* LHAPDF::mkAlphaS | ( | int | lhaid | ) |
AlphaS* LHAPDF::mkBareAlphaS | ( | const std::string & | type | ) |
Extrapolator* LHAPDF::mkExtrapolator | ( | const std::string & | name | ) |
Extrapolator factory
Returns a 'new'ed Extrapolator by pointer. Unless passed to a GridPDF, the caller is responsible for deletion of the created object.
Interpolator* LHAPDF::mkInterpolator | ( | const std::string & | name | ) |
Interpolator factory
Returns a 'new'ed Interpolator by pointer. Unless passed to a GridPDF, the caller is responsible for deletion of the created object.
PDF* LHAPDF::mkPDF | ( | const std::string & | setname, |
int | member | ||
) |
PDF* LHAPDF::mkPDF | ( | const std::string & | setname_nmem | ) |
Create a new PDF with the given PDF set name and member ID as a single string.
The format of the setname_nmem string is <setname>/<nmem> where <nmem> must be parseable as a positive integer. The / character is not permitted in set names due to clashes with Unix filesystem path syntax.
If no /<nmem> is given, member number 0 will be used.
Returns a 'new'ed PDF by pointer. The caller is responsible for deletion of the created object.
PDF* LHAPDF::mkPDF | ( | int | lhaid | ) |
PDFInfo* LHAPDF::mkPDFInfo | ( | const std::string & | setname, |
int | member | ||
) |
PDFInfo* LHAPDF::mkPDFInfo | ( | int | lhaid | ) |
void LHAPDF::mkPDFs | ( | const std::string & | setname, |
std::vector< PTR > & | pdfs | ||
) |
Get all PDFs in a named set (return by filling the supplied vector).
This is a templated version for returning a vector of smart ptrs
double LHAPDF::norm_quantile | ( | double | p | ) |
Quantiles of the standard normal probability distribution function.
std::vector<std::string> LHAPDF::paths | ( | ) |
Get the ordered list of search paths, from $LHAPDF_DATA_PATH and the install location.
|
inline |
Convenient way to set the verbosity level
|
inline |
Convenient way to get the current verbosity level
|
inline |
|
inline |
|
inline |
|
inline |