LHAPDF  6.5.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
Functions
Making metadata objects

Functions

Info & LHAPDF::getConfig ()
 
PDFInfo * LHAPDF::mkPDFInfo (const std::string &setname, int member)
 
PDFInfo * LHAPDF::mkPDFInfo (int lhaid)
 

Detailed Description

Function Documentation

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.

Note
The LHAPDF system is responsible for deletion of the returned object. Do NOT delete it yourself! Hence the return by reference rather than pointer.
PDFInfo* LHAPDF::mkPDFInfo ( const std::string &  setname,
int  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 ( int  lhaid)

Create a new Info object with the given LHAPDF ID code.

Returns a 'new'ed Info by pointer. The caller is responsible for deletion of the created object.