#ifndef HPARTICLESIM_H
#define HPARTICLESIM_H
#include "hparticle.h"
class HParticleSim : public HParticle {
public:
HParticleSim(Double_t px=0., Double_t py=0., Double_t pz=0., Double_t m=0.);
HParticleSim(Int_t, Double_t px=0., Double_t py=0., Double_t pz=0.);
HParticleSim(const Char_t *Pid, Double_t px = 0., Double_t py = 0., Double_t pz = 0.);
HParticleSim(const TVector3 &, Double_t);
HParticleSim(const HParticleSim &);
HParticleSim(const HParticleSim *);
virtual ~HParticleSim() {}
Float_t getWeight() const {return weight;}
void setWeight(Float_t sWeight=0) {weight = sWeight;}
Int_t getMechanism() const {return mechanism;}
Int_t getMedium() const {return medium;}
void setMedium(Int_t sMedium = 0) {medium = sMedium;}
void setMechanism(Int_t sMechanism = 0) {mechanism = sMechanism;}
TLorentzVector Vect4() const { return TLorentzVector(Vect(),E()); }
void setVect4(const TLorentzVector &v) {SetPxPyPzE(v[0],v[1],v[2],v[3]);}
HParticleSim & operator = ( const HParticleSim &);
protected:
Float_t weight;
Int_t medium;
Int_t mechanism;
ClassDef(HParticleSim,1)
};
#endif /* !HPARTICLESIM_H */
Last change: Sat May 22 13:06:37 2010
Last generated: 2010-05-22 13:06
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.