HepMC event record
|
Class for storing data for LHEF run information.
Definition at line 68 of file build/outputs/include/HepMC/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 (const GenEvent &geneve) |
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... | |
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 (const GenEvent &geneve) |
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 () |
Check if this attribute is parsed. More... | |
bool | is_parsed () |
Check if this attribute is parsed. More... | |
const string & | unparsed_string () const |
Get unparsed string. More... | |
const string & | unparsed_string () const |
Get unparsed string. More... | |
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_is_parsed (bool flag) |
Set is_parsed flag. More... | |
void | set_unparsed_string (const string &st) |
Set unparsed string. More... | |
void | set_unparsed_string (const string &st) |
Set unparsed string. More... | |
|
inline |
Default constructor.
Definition at line 73 of file build/outputs/include/HepMC/LHEFAttributes.h.
|
inline |
Constructor from string.
Definition at line 76 of file build/outputs/include/HepMC/LHEFAttributes.h.
|
inlinevirtual |
Virtual destructor.
Definition at line 79 of file build/outputs/include/HepMC/LHEFAttributes.h.
References HEPEUPAttribute::clear().
|
inline |
Default constructor.
Definition at line 73 of file include/HepMC/LHEFAttributes.h.
|
inline |
Constructor from string.
Definition at line 76 of file include/HepMC/LHEFAttributes.h.
|
inlinevirtual |
Virtual destructor.
Definition at line 79 of file include/HepMC/LHEFAttributes.h.
References HEPEUPAttribute::clear().
void clear | ( | ) |
Clear this object.
Definition at line 44 of file LHEFAttributes.cc.
void clear | ( | ) |
Clear this object.
|
virtual |
Fill class content from string.
Implements Attribute.
Definition at line 50 of file LHEFAttributes.cc.
|
virtual |
Fill class content from string.
Implements Attribute.
|
virtual |
Parse the XML-tags.
Reimplemented from Attribute.
Definition at line 70 of file LHEFAttributes.cc.
References GenEvent::attribute().
|
virtual |
Parse the XML-tags.
Reimplemented from Attribute.
|
inlinevirtual |
Dummy function.
Reimplemented from Attribute.
Definition at line 94 of file include/HepMC/LHEFAttributes.h.
|
inlinevirtual |
Dummy function.
Reimplemented from Attribute.
Definition at line 94 of file build/outputs/include/HepMC/LHEFAttributes.h.
|
inlineinherited |
Check if this attribute is parsed.
Definition at line 94 of file build/outputs/include/HepMC/Attribute.h.
References Attribute::m_is_parsed.
|
inlineinherited |
Check if this attribute is parsed.
Definition at line 94 of file include/HepMC/Attribute.h.
References Attribute::m_is_parsed.
|
inline |
Get momentum.
Definition at line 104 of file build/outputs/include/HepMC/LHEFAttributes.h.
References HEPEUPAttribute::hepeup, and HEPEUP::PUP.
|
inline |
Get momentum.
Definition at line 104 of file include/HepMC/LHEFAttributes.h.
References HEPEUPAttribute::hepeup, and HEPEUP::PUP.
|
inlineprotectedinherited |
Set is_parsed flag.
Definition at line 101 of file build/outputs/include/HepMC/Attribute.h.
References Attribute::m_is_parsed.
|
inlineprotectedinherited |
Set is_parsed flag.
Definition at line 101 of file include/HepMC/Attribute.h.
References Attribute::m_is_parsed.
|
inlineprotectedinherited |
Set unparsed string.
Definition at line 104 of file include/HepMC/Attribute.h.
References Attribute::m_string.
|
inlineprotectedinherited |
Set unparsed string.
Definition at line 104 of file build/outputs/include/HepMC/Attribute.h.
References Attribute::m_string.
|
virtual |
Fill string from class content.
Implements Attribute.
Definition at line 59 of file LHEFAttributes.cc.
|
virtual |
Fill string from class content.
Implements Attribute.
|
inlineinherited |
Get unparsed string.
Definition at line 97 of file include/HepMC/Attribute.h.
References Attribute::m_string.
|
inlineinherited |
Get unparsed string.
Definition at line 97 of file build/outputs/include/HepMC/Attribute.h.
References Attribute::m_string.
LHEF::HEPEUP hepeup |
The actual HEPEUP object.
Definition at line 113 of file build/outputs/include/HepMC/LHEFAttributes.h.
std::vector< LHEF::XMLTag * > tags |
The parsed XML-tags.
Definition at line 116 of file build/outputs/include/HepMC/LHEFAttributes.h.