HepMC3 event record library
|
Class for storing data for LHEF run information.
Definition at line 68 of file LHEFAttributes.h.
#include <LHEFAttributes.h>
Public Member Functions | |
HEPEUPAttribute () | |
Default constructor. More... | |
HEPEUPAttribute (std::string s) | |
Constructor from string. More... | |
virtual | ~HEPEUPAttribute () |
Virtual destructor. More... | |
virtual bool | from_string (const string &att) |
Fill class content from string. More... | |
virtual bool | init () |
Parse the XML-tags. More... | |
virtual bool | init (const GenRunInfo &) |
Dummy function. More... | |
virtual bool | to_string (string &att) const |
Fill string from class content. More... | |
FourVector | momentum (int i) const |
Get momentum. More... | |
void | clear () |
Clear this object. More... | |
bool | is_parsed () const |
Check if this attribute is parsed. More... | |
const string & | unparsed_string () const |
Get unparsed string. More... | |
const GenEvent * | event () const |
GenParticlePtr | particle () |
ConstGenParticlePtr | particle () const |
GenVertexPtr | vertex () |
ConstGenVertexPtr | vertex () const |
Data Fields | |
LHEF::HEPEUP | hepeup |
The actual HEPEUP object. More... | |
std::vector< LHEF::XMLTag * > | tags |
The parsed XML-tags. More... | |
Protected Member Functions | |
void | set_is_parsed (bool flag) |
Set is_parsed flag. More... | |
void | set_unparsed_string (const string &st) |
Set unparsed string. More... | |
|
inline |
Default constructor.
Definition at line 73 of file LHEFAttributes.h.
|
inline |
Constructor from string.
Definition at line 76 of file LHEFAttributes.h.
|
inlinevirtual |
Virtual destructor.
Definition at line 79 of file LHEFAttributes.h.
References HEPEUPAttribute::clear().
void clear | ( | ) |
Clear this object.
Definition at line 44 of file LHEFAttributes.cc.
|
inlineinherited |
return the GenEvent to which this Attribute belongs, if at all.
Definition at line 109 of file Attribute.h.
References Attribute::m_event.
|
virtual |
Fill class content from string.
Implements Attribute.
Definition at line 50 of file LHEFAttributes.cc.
|
virtual |
Parse the XML-tags.
Reimplemented from Attribute.
Definition at line 70 of file LHEFAttributes.cc.
References HEPRUPAttribute::heprup.
|
inlinevirtual |
|
inlineinherited |
Check if this attribute is parsed.
Definition at line 103 of file Attribute.h.
References Attribute::m_is_parsed.
|
inline |
Get momentum.
Definition at line 104 of file LHEFAttributes.h.
References HEPEUPAttribute::hepeup, and HEPEUP::PUP.
|
inlineinherited |
return the GenParticle to which this Attribute belongs, if at all.
Definition at line 114 of file Attribute.h.
References Attribute::m_particle.
|
inlineinherited |
return the GenParticle to which this Attribute belongs, if at all.
Definition at line 119 of file Attribute.h.
References Attribute::m_particle.
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
virtual |
Fill string from class content.
Implements Attribute.
Definition at line 59 of file LHEFAttributes.cc.
|
inlineinherited |
|
inlineinherited |
return the GenVertex to which this Attribute belongs, if at all.
Definition at line 124 of file Attribute.h.
References Attribute::m_vertex.
|
inlineinherited |
return the GenVertex to which this Attribute belongs, if at all.
Definition at line 129 of file Attribute.h.
References Attribute::m_vertex.
LHEF::HEPEUP hepeup |
The actual HEPEUP object.
Definition at line 113 of file LHEFAttributes.h.
std::vector<LHEF::XMLTag*> tags |