lhapdf is hosted by Hepforge, IPPP Durham
LHAPDF  6.3.0
Making metadata objects

Functions

InfoLHAPDF::getConfig ()
 
PDFInfoLHAPDF::mkPDFInfo (const std::string &setname, int member)
 
PDFInfoLHAPDF::mkPDFInfo (int lhaid)
 

Detailed Description

Function Documentation

◆ getConfig()

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.
Examples:
/tests/testinfo.cc.

◆ mkPDFInfo() [1/2]

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.

Examples:
/tests/testinfo.cc.

◆ mkPDFInfo() [2/2]

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.