|
MARLEY (Model of Argon Reaction Low Energy Yields) v2.0.0
A Monte Carlo event generator for tens-of-MeV neutrino interactions
|
Attribute that holds an unsigned long. More...
#include <Attribute.h>
Public Member Functions | |
| ULongAttribute () | |
| Default constructor. | |
| ULongAttribute (unsigned long val) | |
| Constructor initializing attribute value. | |
| bool | from_string (const std::string &att) override |
| Implementation of Attribute::from_string. | |
| void | set_value (const unsigned long &i) |
| set the value associated to this Attribute. | |
| bool | to_string (std::string &att) const override |
| Implementation of Attribute::to_string. | |
| unsigned long | value () const |
| get the value associated to this Attribute. | |
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 |
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. | |
Attribute that holds an unsigned long.
Definition at line 573 of file Attribute.h.
|
inline |
Default constructor.
Definition at line 577 of file Attribute.h.
References HepMC3::Attribute::Attribute().
|
inline |
Constructor initializing attribute value.
Definition at line 580 of file Attribute.h.
References HepMC3::Attribute::Attribute().
|
inlineoverridevirtual |
Implementation of Attribute::from_string.
Implements HepMC3::Attribute.
Definition at line 583 of file Attribute.h.
References HepMC3::Attribute::set_is_parsed().
|
inline |
set the value associated to this Attribute.
Definition at line 601 of file Attribute.h.
References HepMC3::Attribute::set_is_parsed().
|
inlineoverridevirtual |
Implementation of Attribute::to_string.
Implements HepMC3::Attribute.
Definition at line 590 of file Attribute.h.
|
inline |
get the value associated to this Attribute.
Definition at line 596 of file Attribute.h.