6#ifndef HEPMC3_GENPDFINFO_H
7#define HEPMC3_GENPDFINFO_H
52 bool to_string(std::string &att)
const override;
55 void set(
const int& parton_id1,
const int& parton_id2,
const double& x1,
const double& x2,
56 const double& scale_in,
const double& xf1,
const double& xf2,
57 const int& pdf_id1 = 0,
const int& pdf_id2 = 0 );
Definition of class Attribute, class IntAttribute and class StringAttribute.
Stores additional information about PDFs.
int parton_id[2]
Parton PDG ID.
double scale
Factorisation scale (in GEV)
void set(const int &parton_id1, const int &parton_id2, const double &x1, const double &x2, const double &scale_in, const double &xf1, const double &xf2, const int &pdf_id1=0, const int &pdf_id2=0)
Set all fields.
int pdf_id[2]
LHAPDF ID code.
bool is_valid() const
Verify that the instance contains non-zero information.
bool from_string(const std::string &att) override
Implementation of Attribute::from_string.
double x[2]
Parton momentum fraction.
bool operator==(const GenPdfInfo &) const
Operator ==.
bool to_string(std::string &att) const override
Implementation of Attribute::to_string.
bool operator!=(const GenPdfInfo &) const
Operator !=.