Single particle record in an LHE event.
int getColor(int) const
Get the particle color (ICOLUP) by index_.
int getMother(int) const
Get a mother particle index (MOTHUP) by index_.
double getSpin() const
Get the particle's spin (SPINUP).
LHEParticle(std::string &data)
Class constructor.
void setMother(int i, LHEParticle *particle)
Set a mother particle by index_.
LHEParticle * mothers_[2]
The mother particles.
void print() const
Print particle information to an output stream.
double getLifetime() const
Get the proper lifetime (VTIMUP).
LHEParticle * getMotherParticle(int) const
Get a mother particle by index_.
double getMomentum(int) const
Get a momentum component (PUP) by index_.
friend std::ostream & operator<<(std::ostream &stream, const LHEParticle &particle)
Overloaded stream operator.
int getStatus() const
Get the status code (ISTUP).
int mother_[2]
The mother particle indices.