1#ifndef _PhotosHepMCParticle_h_included_
2#define _PhotosHepMCParticle_h_included_
23#include "HepMC/GenParticle.h"
24#include "PhotosParticle.h"
101 double px,
double py,
102 double pz,
double e);
144 void clear(std::vector<PhotosParticle*> v);
Interface to HepMC::GenParticle objects.
Abstract base class for particle in the event. This class also handles boosting.
HepMC::GenParticle * getHepMC()
PhotosHepMCParticle(int pdg_id, int status, double mass)
void setMothers(std::vector< PhotosParticle * > mothers)
void setDaughters(std::vector< PhotosParticle * > daughters)
bool checkMomentumConservation()
void setStatus(int statu)
HepMC::GenParticle * m_particle
std::vector< PhotosParticle * > getAllDecayProducts()
void clear(std::vector< PhotosParticle * > v)
std::vector< PhotosParticle * > getDaughters()
void createSelfDecayVertex(PhotosParticle *out)
void addDaughter(PhotosParticle *daughter)
PhotosHepMCParticle * createNewParticle(int pdg_id, int status, double mass, double px, double py, double pz, double e)
std::vector< PhotosParticle * > m_mothers
PhotosHepMCParticle(HepMC::GenParticle *particle)
std::vector< PhotosParticle * > m_created_particles
void setMass(double mass)
void createHistoryEntry()
std::vector< PhotosParticle * > m_daughters
std::vector< PhotosParticle * > m_decay_products
std::vector< PhotosParticle * > getMothers()
void setPdgID(int pdg_id)