![]() |
HepMC Reference DocumentationHepMC |
#include <PdfInfo.h>
Public Member Functions | |
PdfInfo () | |
default constructor | |
PdfInfo (int i1, int i2, double x1, double x2, double q, double p1, double p2) | |
all values must be provided | |
~PdfInfo () | |
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 | |
bool | operator!= (const PdfInfo &) const |
check for inequality | |
int | id1 () const |
flavour code of first parton | |
int | id2 () const |
flavour code 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). | |
double | pdf2 () const |
PDF (id2, x2, Q). | |
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_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 PDF (id1, x1, Q) | |
void | set_pdf2 (const double &f) |
set PDF (id2, x2, Q) |
HepMC::PdfInfo stores additional PDF information for a GenEvent. Creation and use of this information is optional.
Definition at line 30 of file PdfInfo.h.
HepMC::PdfInfo::PdfInfo | ( | int | i1, | |
int | i2, | |||
double | x1, | |||
double | x2, | |||
double | q, | |||
double | p1, | |||
double | p2 | |||
) | [inline] |
HepMC::PdfInfo::PdfInfo | ( | PdfInfo const & | orig | ) | [inline] |
void HepMC::PdfInfo::swap | ( | PdfInfo & | other | ) | [inline] |
bool HepMC::PdfInfo::operator== | ( | const PdfInfo & | ) | const [inline] |
bool HepMC::PdfInfo::operator!= | ( | const PdfInfo & | ) | const [inline] |
int HepMC::PdfInfo::id1 | ( | ) | const [inline] |
flavour code of first parton
Definition at line 64 of file PdfInfo.h.
Referenced by operator==(), HepMC::IO_GenEvent::write_pdf_info(), and HepMC::IO_ExtendedAscii::write_pdf_info().
int HepMC::PdfInfo::id2 | ( | ) | const [inline] |
flavour code of second parton
Definition at line 66 of file PdfInfo.h.
Referenced by operator==(), HepMC::IO_GenEvent::write_pdf_info(), and HepMC::IO_ExtendedAscii::write_pdf_info().
double HepMC::PdfInfo::x1 | ( | ) | const [inline] |
fraction of beam momentum carried by first parton ("beam side")
Definition at line 68 of file PdfInfo.h.
Referenced by operator==(), HepMC::IO_GenEvent::write_pdf_info(), and HepMC::IO_ExtendedAscii::write_pdf_info().
double HepMC::PdfInfo::x2 | ( | ) | const [inline] |
fraction of beam momentum carried by second parton ("target side")
Definition at line 70 of file PdfInfo.h.
Referenced by operator==(), HepMC::IO_GenEvent::write_pdf_info(), and HepMC::IO_ExtendedAscii::write_pdf_info().
double HepMC::PdfInfo::scalePDF | ( | ) | const [inline] |
Q-scale used in evaluation of PDF's (in GeV).
Definition at line 72 of file PdfInfo.h.
Referenced by operator==(), HepMC::IO_GenEvent::write_pdf_info(), and HepMC::IO_ExtendedAscii::write_pdf_info().
double HepMC::PdfInfo::pdf1 | ( | ) | const [inline] |
PDF (id1, x1, Q).
Definition at line 74 of file PdfInfo.h.
Referenced by operator==(), HepMC::IO_GenEvent::write_pdf_info(), and HepMC::IO_ExtendedAscii::write_pdf_info().
double HepMC::PdfInfo::pdf2 | ( | ) | const [inline] |
PDF (id2, x2, Q).
Definition at line 76 of file PdfInfo.h.
Referenced by operator==(), HepMC::IO_GenEvent::write_pdf_info(), and HepMC::IO_ExtendedAscii::write_pdf_info().
void HepMC::PdfInfo::set_id1 | ( | const int & | i | ) | [inline] |
void HepMC::PdfInfo::set_id2 | ( | const int & | i | ) | [inline] |
void HepMC::PdfInfo::set_x1 | ( | const double & | f | ) | [inline] |
void HepMC::PdfInfo::set_x2 | ( | const double & | f | ) | [inline] |
void HepMC::PdfInfo::set_scalePDF | ( | const double & | f | ) | [inline] |
void HepMC::PdfInfo::set_pdf1 | ( | const double & | f | ) | [inline] |
void HepMC::PdfInfo::set_pdf2 | ( | const double & | f | ) | [inline] |