6 #ifndef HEPMC_GENPDFINFO_H 7 #define HEPMC_GENPDFINFO_H 28 #include "HepMC/Attribute.h" 32 class GenPdfInfo :
public Attribute {
55 void set(
int parton_id1,
int parton_id2,
double x1,
double x2,
56 double scale_in,
double xf1,
double xf2,
57 int pdf_id1 = 0,
int pdf_id2 = 0 );
65 #ifndef HEPMC_NO_DEPRECATED int parton_id[2]
Parton PDG ID.
GenPdfInfo PdfInfo
Backward compatibility typedef.
bool to_string(string &att) const
Implementation of Attribute::to_string.
bool from_string(const string &att)
Implementation of Attribute::from_string.
bool operator!=(const GenPdfInfo &) const
Operator !=.
int pdf_id[2]
LHAPDF ID code.
double scale
Factorisation scale (in GEV)
bool is_valid() const
Verify that the instance contains non-zero information.
double x[2]
Parton momentum fraction.
bool operator==(const GenPdfInfo &) const
Operator ==.
Definition of template class SmartPointer.