lhapdf is hosted by Hepforge, IPPP Durham
LHAPDF 6.5.4
Loading...
Searching...
No Matches
Making single PDFs

Functions

PDFLHAPDF::mkPDF (const std::string &setname, size_t member)
 
PDFLHAPDF::mkPDF (int lhaid)
 
PDFLHAPDF::mkPDF (const std::string &setname_nmem)
 

Detailed Description

Function Documentation

◆ mkPDF() [1/3]

PDF * LHAPDF::mkPDF ( const std::string & setname,
size_t member )

Create a new PDF with the given PDF set name and member ID.

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

Examples
/examples/compatibility.cc, and /tests/testgrid.cc.

◆ mkPDF() [2/3]

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.

◆ mkPDF() [3/3]

PDF * LHAPDF::mkPDF ( int lhaid)

Create a new PDF with the given LHAPDF ID code.

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