1 #ifndef _PhotosParticle_h_included_
2 #define _PhotosParticle_h_included_
47 static const int Z0 = 23;
110 static const int UP = 2;
163 void rotate(
int axis,
double phi,
int second_axis=
Z_AXIS);
180 double getP(
int axis);
183 void setP(
int axis,
double p_component);
194 virtual double getPx()=0;
197 virtual double getPy()=0;
200 virtual double getPz()=0;
203 virtual double getE()=0;
209 virtual void setPx(
double px )=0;
212 virtual void setPy(
double py )=0;
215 virtual void setPz(
double pz )=0;
218 virtual void setE(
double e )=0;
221 virtual void setMothers(std::vector<PhotosParticle*> mothers)=0;
224 virtual void setDaughters(std::vector<PhotosParticle*> daughters)=0;
230 virtual std::vector<PhotosParticle*>
getMothers()=0;
240 virtual void setPdgID(
int pdg_id)=0;
243 virtual void setMass(
double mass)=0;
265 double mass,
double px,
266 double py,
double pz,
279 virtual void print()=0;
static const int TAU_MINUS
PhotosParticle * findLastSelf()
virtual void setPz(double pz)=0
std::vector< PhotosParticle * > getDecayTree()
static const int MUON_ANTINEUTRINO
virtual std::vector< PhotosParticle * > getDaughters()=0
static const int HIGGS_MINUS
virtual bool checkMomentumConservation()=0
virtual void setE(double e)=0
virtual void setMass(double mass)=0
virtual double getVirtuality()
virtual int getBarcode()=0
std::vector< PhotosParticle * > findProductionMothers()
static const int TAU_ANTINEUTRINO
virtual void createHistoryEntry()=0
double getRotationAngle(int axis, int second_axis=Z_AXIS)
static const int MUON_PLUS
void boostDaughtersToRestFrame(PhotosParticle *boost)
virtual int getStatus()=0
void boostDaughtersFromRestFrame(PhotosParticle *boost)
void boostToRestFrame(PhotosParticle *boost)
static const int MUON_MINUS
void rotate(int axis, double phi, int second_axis=Z_AXIS)
virtual void setPdgID(int pdg_id)=0
static const int ELECTRON_ANTINEUTRINO
void setP(int axis, double p_component)
virtual void setPx(double px)=0
virtual void setStatus(int status)=0
virtual void setPy(double py)=0
virtual double getMass()=0
virtual PhotosParticle * createNewParticle(int pdg_id, int status, double mass, double px, double py, double pz, double e)=0
static const int ELECTRON_NEUTRINO
virtual void setDaughters(std::vector< PhotosParticle * > daughters)=0
static const int POSITRON
virtual void setMothers(std::vector< PhotosParticle * > mothers)=0
virtual void createSelfDecayVertex(PhotosParticle *out)=0
virtual void addDaughter(PhotosParticle *daughter)=0
void boostFromRestFrame(PhotosParticle *boost)
static const int TAU_PLUS
static const int ELECTRON
static const int TAU_NEUTRINO
virtual std::vector< PhotosParticle * > getAllDecayProducts()=0
void rotateDaughters(int axis, double phi, int second_axis=Z_AXIS)
virtual std::vector< PhotosParticle * > getMothers()=0
static const int ANTIDOWN
static const int HIGGS_PLUS
static const int MUON_NEUTRINO
void boostAlongZ(double pz, double e)