6 #ifndef _PhotosHepMC3Particle_h_included_
7 #define _PhotosHepMC3Particle_h_included_
29 #include "PhotosParticle.h"
33 using namespace HepMC3;
51 GenParticlePtr getHepMC3();
54 void setMothers(std::vector<PhotosParticle*> mothers);
57 void setDaughters(std::vector<PhotosParticle*> daughters);
60 void addDaughter(PhotosParticle* daughter);
63 std::vector<PhotosParticle*> getMothers();
68 std::vector<PhotosParticle*> getDaughters();
72 std::vector<PhotosParticle*> getAllDecayProducts();
75 void setPdgID(
int pdg_id);
78 void setStatus(
int statu);
81 void setMass(
double mass);
94 bool checkMomentumConservation();
104 double px,
double py,
105 double pz,
double e);
109 void createHistoryEntry();
113 void createSelfDecayVertex(PhotosParticle *out);
134 void setPx(
double px );
137 void setPy(
double py );
140 void setPz(
double pz );
143 void setE(
double e );
147 void clear(std::vector<PhotosParticle*> v);
Definition of class GenParticle.
std::vector< PhotosParticle * > m_mothers
std::vector< PhotosParticle * > m_created_particles
std::vector< PhotosParticle * > m_daughters
std::vector< PhotosParticle * > m_decay_products
GenParticlePtr m_particle