Interface to HepMC::GenParticle objects.
Abstract base class for particle in the event. This class also handles boosting.
PhotosHepMCParticle(int pdg_id, int status, double mass)
void setMothers(std::vector< PhotosParticle * > mothers)
void setDaughters(std::vector< PhotosParticle * > daughters)
bool checkMomentumConservation()
HepMC::GenParticle * getHepMC()
void setStatus(int statu)
std::vector< PhotosParticle * > getAllDecayProducts()
void clear(std::vector< PhotosParticle * > v)
void createSelfDecayVertex(PhotosParticle *out)
void addDaughter(PhotosParticle *daughter)
PhotosHepMCParticle(HepMC::GenParticle *particle)
void setMass(double mass)
void createHistoryEntry()
std::vector< PhotosParticle * > getMothers()
PhotosHepMCParticle * createNewParticle(int pdg_id, int status, double mass, double px, double py, double pz, double e)
std::vector< PhotosParticle * > getDaughters()
void setPdgID(int pdg_id)