6 #ifndef HEPMC_GENPDFINFO_H
7 #define HEPMC_GENPDFINFO_H
28 #include "HepMC/Attribute.h"
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.
Stores additional information about PDFs.
bool from_string(const string &att)
Implementation of Attribute::from_string.
bool is_valid() const
Verify that the instance contains non-zero information.
void set(int parton_id1, int parton_id2, double x1, double x2, double scale_in, double xf1, double xf2, int pdf_id1=0, int pdf_id2=0)
Set all fields.
int pdf_id[2]
LHAPDF ID code.
bool to_string(string &att) const
Implementation of Attribute::to_string.
double scale
Factorisation scale (in GEV)
bool operator!=(const GenPdfInfo &) const
Operator !=.
double x[2]
Parton momentum fraction.
Base class for all attributes.
bool operator==(const GenPdfInfo &) const
Operator ==.