StRoot
1
|
The PdfInfo class stores PDF information. More...
#include <PdfInfo.h>
Public Member Functions | |
PdfInfo () | |
default constructor | |
PdfInfo (int i1, int i2, double x1, double x2, double q, double p1, double p2, int pdf_id1=0, int pdf_id2=0) | |
all values EXCEPT pdf_id1 and pdf_id2 must be provided | |
PdfInfo (PdfInfo const &orig) | |
copy constructor | |
PdfInfo & | operator= (PdfInfo const &rhs) |
make a copy | |
void | swap (PdfInfo &other) |
swap two PdfInfo objects | |
bool | operator== (const PdfInfo &) const |
check for equality More... | |
bool | operator!= (const PdfInfo &) const |
check for inequality More... | |
int | id1 () const |
flavour code of first parton | |
int | id2 () const |
flavour code of second parton | |
int | pdf_id1 () const |
LHAPDF set id of first parton. | |
int | pdf_id2 () const |
LHAPDF set id of second parton. | |
double | x1 () const |
fraction of beam momentum carried by first parton ("beam side") | |
double | x2 () const |
fraction of beam momentum carried by second parton ("target side") | |
double | scalePDF () const |
Q-scale used in evaluation of PDF's (in GeV) | |
double | pdf1 () const |
PDF (id1, x1, Q) - x*f(x) | |
double | pdf2 () const |
PDF (id2, x2, Q) - x*f(x) | |
bool | is_valid () const |
verify that the instance contains non-zero information | |
void | set_id1 (const int &i) |
set flavour code of first parton | |
void | set_id2 (const int &i) |
set flavour code of second parton | |
void | set_pdf_id1 (const int &i) |
set LHAPDF set id of first parton | |
void | set_pdf_id2 (const int &i) |
set LHAPDF set id of second parton | |
void | set_x1 (const double &f) |
set fraction of beam momentum carried by first parton ("beam side") | |
void | set_x2 (const double &f) |
set fraction of beam momentum carried by second parton ("target side") | |
void | set_scalePDF (const double &f) |
set Q-scale used in evaluation of PDF's (in GeV) | |
void | set_pdf1 (const double &f) |
set x*f(x) of first parton | |
void | set_pdf2 (const double &f) |
set x*f(x) of second parton | |
The PdfInfo class stores PDF information.
HepMC::PdfInfo stores additional PDF information for a GenEvent. Creation and use of this information is optional.
Input parton flavour codes id1 & id2 are expected to obey the PDG code conventions, especially g = 21.
The contents of pdf1 and pdf2 are expected to be x*f(x). The LHAPDF set ids are the entries in the first column of http:///projects.hepforge.org/lhapdf/PDFsets.index
|
inline |
|
inline |