6 #ifndef _PhotosHepMC3Particle_h_included_
7 #define _PhotosHepMC3Particle_h_included_
9 #warning "HepMC3 interface is available in the latest version of PHOTOS, see http://photospp.web.cern.ch/photospp/. This interface will be removed in the future HepMC3 versions."
31 #include "PhotosParticle.h"
35 using namespace HepMC3;
53 GenParticlePtr getHepMC3();
56 void setMothers(std::vector<PhotosParticle*> mothers);
59 void setDaughters(std::vector<PhotosParticle*> daughters);
62 void addDaughter(PhotosParticle* daughter);
65 std::vector<PhotosParticle*> getMothers();
70 std::vector<PhotosParticle*> getDaughters();
74 std::vector<PhotosParticle*> getAllDecayProducts();
77 void setPdgID(
int pdg_id);
80 void setStatus(
int statu);
83 void setMass(
double mass);
96 bool checkMomentumConservation();
106 double px,
double py,
107 double pz,
double e);
111 void createHistoryEntry();
115 void createSelfDecayVertex(PhotosParticle *out);
136 void setPx(
double px );
139 void setPy(
double py );
142 void setPz(
double pz );
145 void setE(
double e );
149 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