6 #ifndef HEPMC_LHEFATTRIBUTES_H 7 #define HEPMC_LHEFATTRIBUTES_H 16 #include "HepMC/Attribute.h" 18 #include "FourVector.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;
virtual ~HEPRUPAttribute()
Virtual destructor.
HEPEUPAttribute(std::string s)
Constructor from string.
virtual bool init(const GenEvent &)
Optionally initialize the attribute after from_string.
Stores run-related information.
virtual bool from_string(const string &att)
Fill class content from string.
HEPEUPAttribute()
Default constructor.
std::vector< LHEF::XMLTag * > tags
The parsed XML-tags.
Stores event-related information.
Class for storing data for LHEF run information.
virtual bool to_string(string &att) const
Fill string from class content.
void clear()
Clear this object.
Class for storing data for LHEF run information.
HEPRUPAttribute(std::string s)
Constructor from string.
LHEF::HEPEUP hepeup
The actual HEPEUP object.
virtual bool init(const GenRunInfo &)
Dummy function.
virtual ~HEPEUPAttribute()
Virtual destructor.
Base class for all attributes.
Definition of template class SmartPointer.
LHEF::HEPRUP heprup
The actual HEPRUP object.
FourVector momentum(int i) const
Get momentum.
std::vector< LHEF::XMLTag * > tags
The parsed XML-tags.
HEPRUPAttribute()
Default constructor.