#include "hparticlesim.h"
ClassImp(HParticleSim)
HParticleSim::HParticleSim(Double_t px, Double_t py, Double_t pz, Double_t m):
HParticle(px,py,pz,m) {
weight = 0;
}
HParticleSim::HParticleSim(Int_t Pid, Double_t px, Double_t py, Double_t pz):
HParticle(Pid,px,py,pz) {
weight = 0;
}
HParticleSim::HParticleSim(const Char_t *Pid, Double_t px, Double_t py, Double_t pz):
HParticle(Pid,px,py,pz) {
weight = 0;
}
HParticleSim::HParticleSim(const TVector3 &p, Double_t e):
HParticle(p,e) {}
HParticleSim::HParticleSim(const HParticleSim & p):
HParticle() {
weight = p.weight;
index = p.index;
pid = p.pid;
}
HParticleSim::HParticleSim(const HParticleSim * p):
HParticle( ) {
}
HParticleSim & HParticleSim::operator = ( const HParticleSim &p ) {
setVect4(p.Vect4());
setIndex(p.index);
setWeight(p.weight);
setPid(p.pid);
return *this;
}
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.