1 #ifndef _PhotosHepMCParticle_h_included_ 2 #define _PhotosHepMCParticle_h_included_ 23 #include "HepMC/GenParticle.h" 47 HepMC::GenParticle *getHepMC();
50 void setMothers(std::vector<PhotosParticle *> mothers);
53 void setDaughters(std::vector<PhotosParticle *> daughters);
59 std::vector<PhotosParticle *> getMothers();
64 std::vector<PhotosParticle *> getDaughters();
68 std::vector<PhotosParticle *> getAllDecayProducts();
71 void setPdgID(
int pdg_id);
74 void setStatus(
int statu);
77 void setMass(
double mass);
90 bool checkMomentumConservation();
99 PhotosHepMCParticle *createNewParticle(
int pdg_id,
int status,
double mass,
double px,
double py,
double pz,
double e);
103 void createHistoryEntry();
128 void setPx(
double px);
131 void setPy(
double py);
134 void setPz(
double pz);
141 void clear(std::vector<PhotosParticle *>
v);
144 HepMC::GenParticle *m_particle;
147 std::vector<PhotosParticle *> m_mothers;
150 std::vector<PhotosParticle *> m_daughters;
153 std::vector<PhotosParticle *> m_decay_products;
157 std::vector<PhotosParticle *> m_created_particles;