1 #ifndef _PhotosHepMCParticle_h_included_
2 #define _PhotosHepMCParticle_h_included_
23 #include "HepMC/GenParticle.h"
24 #include "PhotosParticle.h"
48 HepMC::GenParticle * getHepMC();
51 void setMothers(std::vector<PhotosParticle*> mothers);
54 void setDaughters(std::vector<PhotosParticle*> daughters);
60 std::vector<PhotosParticle*> getMothers();
65 std::vector<PhotosParticle*> getDaughters();
69 std::vector<PhotosParticle*> getAllDecayProducts();
72 void setPdgID(
int pdg_id);
75 void setStatus(
int statu);
78 void setMass(
double mass);
91 bool checkMomentumConservation();
101 double px,
double py,
102 double pz,
double e);
106 void createHistoryEntry();
131 void setPx(
double px );
134 void setPy(
double py );
137 void setPz(
double pz );
140 void setE(
double e );
144 void clear(std::vector<PhotosParticle*> v);
HepMC::GenParticle * m_particle
std::vector< PhotosParticle * > m_daughters
std::vector< PhotosParticle * > m_decay_products
std::vector< PhotosParticle * > m_mothers
std::vector< PhotosParticle * > m_created_particles