LHAPDF 6.5.4
|
Functions | |
Info & | LHAPDF::getConfig () |
PDFInfo * | LHAPDF::mkPDFInfo (const std::string &setname, size_t member) |
PDFInfo * | LHAPDF::mkPDFInfo (int lhaid) |
PDFInfo * | LHAPDF::mkPDFInfo (const std::string &setname_nmem) |
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.
PDFInfo * LHAPDF::mkPDFInfo | ( | const std::string & | setname, |
size_t | member ) |
Create a new Info object for the given set name and member number.
Returns a 'new'ed Info by pointer. The caller is responsible for deletion of the created object.
PDFInfo * LHAPDF::mkPDFInfo | ( | const std::string & | setname_nmem | ) |
Create a new Info object for the given set name and member number 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 Info by pointer. The caller is responsible for deletion of the created object.