1 #ifndef _PhotosHepMC3Particle_h_included_
2 #define _PhotosHepMC3Particle_h_included_
22 #include "HepMC3/GenParticle.h"
23 #include "PhotosParticle.h"
27 using namespace HepMC3;
45 GenParticlePtr getHepMC3();
48 void setMothers(std::vector<PhotosParticle*> mothers);
51 void setDaughters(std::vector<PhotosParticle*> daughters);
57 std::vector<PhotosParticle*> getMothers();
62 std::vector<PhotosParticle*> getDaughters();
66 std::vector<PhotosParticle*> getAllDecayProducts();
69 void setPdgID(
int pdg_id);
72 void setStatus(
int statu);
75 void setMass(
double mass);
88 bool checkMomentumConservation();
103 void createHistoryEntry();
128 void setPx(
double px );
131 void setPy(
double py );
134 void setPz(
double pz );
137 void setE(
double e );
141 void clear(std::vector<PhotosParticle*> v);
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