|
MARLEY (Model of Argon Reaction Low Energy Yields) v2.0.0
A Monte Carlo event generator for tens-of-MeV neutrino interactions
|
Stores additional information about PDFs. More...
#include <GenPdfInfo.h>
Public Member Functions | |
| bool | from_string (const std::string &att) override |
| Implementation of Attribute::from_string. | |
| bool | is_valid () const |
| Verify that the instance contains non-zero information. | |
| bool | operator!= (const GenPdfInfo &) const |
| Operator !=. | |
| bool | operator== (const GenPdfInfo &) const |
| Operator ==. | |
| 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. | |
| bool | to_string (std::string &att) const override |
| Implementation of Attribute::to_string. | |
Public Member Functions inherited from HepMC3::Attribute | |
| Attribute () | |
| Default constructor. | |
| virtual | ~Attribute () |
| Virtual destructor. | |
| const GenEvent * | event () const |
| virtual bool | init () |
| Optionally initialize the attribute after from_string. | |
| virtual bool | init (const GenRunInfo &) |
| Optionally initialize the attribute after from_string. | |
| bool | is_parsed () const |
| Check if this attribute is parsed. | |
| GenParticlePtr | particle () |
| ConstGenParticlePtr | particle () const |
| const std::string & | unparsed_string () const |
| Get unparsed string. | |
| GenVertexPtr | vertex () |
| ConstGenVertexPtr | vertex () const |
Public Attributes | |
| int | parton_id [2] |
| Parton PDG ID. | |
| int | pdf_id [2] |
| LHAPDF ID code. | |
| double | scale |
| Factorisation scale (in GEV) | |
| double | x [2] |
| Parton momentum fraction. | |
| double | xf [2] |
| PDF value. | |
Additional Inherited Members | |
Protected Member Functions inherited from HepMC3::Attribute | |
| Attribute (const std::string &st) | |
| Protected constructor that allows to set string. | |
| void | set_is_parsed (bool flag) |
| Set is_parsed flag. | |
| void | set_unparsed_string (const std::string &st) |
| Set unparsed string. | |
Stores additional information about PDFs.
This is an example of event attribute used to store PDF-related information
Definition at line 32 of file GenPdfInfo.h.
|
overridevirtual |
Implementation of Attribute::from_string.
Implements HepMC3::Attribute.
|
overridevirtual |
Implementation of Attribute::to_string.
Implements HepMC3::Attribute.
| int HepMC3::GenPdfInfo::parton_id[2] |
Parton PDG ID.
Definition at line 38 of file GenPdfInfo.h.
| int HepMC3::GenPdfInfo::pdf_id[2] |
LHAPDF ID code.
Definition at line 39 of file GenPdfInfo.h.
| double HepMC3::GenPdfInfo::scale |
Factorisation scale (in GEV)
Definition at line 40 of file GenPdfInfo.h.
| double HepMC3::GenPdfInfo::x[2] |
Parton momentum fraction.
Definition at line 41 of file GenPdfInfo.h.
| double HepMC3::GenPdfInfo::xf[2] |
PDF value.
Definition at line 42 of file GenPdfInfo.h.