25 #ifndef _PhotosHepMCParticle_h_included_ 26 #define _PhotosHepMCParticle_h_included_ 47 #include "HepMC/GenParticle.h" 71 HepMC::GenParticle *getHepMC();
74 void setMothers(std::vector<PhotosParticle *> mothers);
77 void setDaughters(std::vector<PhotosParticle *> daughters);
83 std::vector<PhotosParticle *> getMothers();
88 std::vector<PhotosParticle *> getDaughters();
92 std::vector<PhotosParticle *> getAllDecayProducts();
95 void setPdgID(
int pdg_id);
98 void setStatus(
int statu);
101 void setMass(
double mass);
114 bool checkMomentumConservation();
123 PhotosHepMCParticle *createNewParticle(
int pdg_id,
int status,
double mass,
double px,
double py,
double pz,
double e);
127 void createHistoryEntry();
152 void setPx(
double px);
155 void setPy(
double py);
158 void setPz(
double pz);
165 void clear(std::vector<PhotosParticle *>
v);
168 HepMC::GenParticle *m_particle;
171 std::vector<PhotosParticle *> m_mothers;
174 std::vector<PhotosParticle *> m_daughters;
177 std::vector<PhotosParticle *> m_decay_products;
181 std::vector<PhotosParticle *> m_created_particles;