6 #ifndef HEPMC3_LHEFATTRIBUTES_H 7 #define HEPMC3_LHEFATTRIBUTES_H 49 virtual bool to_string(
string &att)
const;
60 std::vector<LHEF::XMLTag*>
tags;
99 virtual bool to_string(
string &att)
const;
105 return FourVector(hepeup.PUP[i][0], hepeup.PUP[i][1],
106 hepeup.PUP[i][2], hepeup.PUP[i][3]);
116 std::vector<LHEF::XMLTag*>
tags;
Forward declaration of GenParticle.
virtual bool init(const GenRunInfo &)
Dummy function.
HEPEUPAttribute(std::string s)
Constructor from string.
HEPRUPAttribute(std::string s)
Constructor from string.
Stores run-related information.
Class for storing data for LHEF run information.
virtual bool init()
Optionally initialize the attribute after from_string.
Class for storing data for LHEF run information.
virtual ~HEPRUPAttribute()
Virtual destructor.
LHEF::HEPRUP heprup
The actual HEPRUP object.
std::vector< LHEF::XMLTag * > tags
The parsed XML-tags.
FourVector momentum(int i) const
Get momentum.
LHEF::HEPEUP hepeup
The actual HEPEUP object.
virtual bool from_string(const string &att)
Fill class content from string.
HEPEUPAttribute()
Default constructor.
std::vector< LHEF::XMLTag * > tags
The parsed XML-tags.
virtual ~HEPEUPAttribute()
Virtual destructor.
HEPRUPAttribute()
Default constructor.
Definition of class Attribute, class IntAttribute and class StringAttribute.
void clear()
Clear this object.
Definition of class FourVector.
virtual bool to_string(string &att) const
Fill string from class content.