TMCFastHepParticle
class description - source file - inheritance tree
public:
TMCFastHepParticle TMCFastHepParticle()
TMCFastHepParticle TMCFastHepParticle(heppart_t* part, Int_t index)
TMCFastHepParticle TMCFastHepParticle(TMCFastHepParticle&)
virtual void ~TMCFastHepParticle()
TClass* Class()
void Fill(heppart_t* part, Int_t index)
Double_t GetE()
Int_t GetIdhep()
Int_t GetIndex()
Int_t GetIsthep()
Int_t GetJdahep(Int_t j)
Int_t GetJmohep(Int_t j)
Double_t GetMass()
Double_t GetPx()
Double_t GetPy()
Double_t GetPz()
Double_t GetVt()
Double_t GetVx()
Double_t GetVy()
Double_t GetVz()
virtual TClass* IsA()
void Print(ostream* os)
void SetE(Double_t x)
void SetIdhep(Int_t n)
void SetIndex(Int_t n)
void SetIsthep(Int_t n)
void SetJdahep(Int_t j, Int_t n)
void SetJmohep(Int_t j, Int_t n)
void SetMass(Double_t x)
void SetPx(Double_t x)
void SetPy(Double_t x)
void SetPz(Double_t x)
void SetVt(Double_t x)
void SetVx(Double_t x)
void SetVy(Double_t x)
void SetVz(Double_t x)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
private:
Int_t fisthep The Particle status
Int_t fidhep The particle id (PDG pid)
Int_t findex The HEPEVT index
Int_t fjmohep[2] The position of the mother particles
Int_t fjdahep[2] Position of the first daughter...
Double_t fphep[5] 4-Momentum (Px,Py,Pz,E), mass
Double_t fvhep[4] Vertex information(x,y,z), time
TMCFastHepParticle
These are the particle contained in the TClonesArray from TMCFastHepEvt
This class is an object oriented version of StdHep FORTRAN common block.
The StdHep common block is filled by MCFast routines. A TClonesArray of
TMCFastHepParticle is created by
TMCFastHepEvt::Fill(common block information)
More information about StdHep can be found at:
/*
http://www-pat.fnal.gov/stdhep.html
*/
TMCFastHepParticle(struct heppart_t *part,Int_t index)
This Calls Fill()
void Fill(struct heppart_t *part,Int_t index)
Fill the object information using a c struct map
of the Fortran common block used in mcfast
~TMCFastHepParticle()
call Clear()
void Print(ostream *os)
Prints TMCFastHepParticle object
This function is also used
to overload &operator<<
For example;
cout << heppart;
where heppart is an instance of TMCFastHepParticle
Inline Functions
TMCFastHepParticle TMCFastHepParticle(heppart_t* part, Int_t index)
Int_t GetIsthep()
Int_t GetIdhep()
Int_t GetIndex()
Int_t GetJmohep(Int_t j)
Int_t GetJdahep(Int_t j)
Double_t GetMass()
Double_t GetPx()
Double_t GetPy()
Double_t GetPz()
Double_t GetE()
Double_t GetVx()
Double_t GetVy()
Double_t GetVz()
Double_t GetVt()
void SetIsthep(Int_t n)
void SetIdhep(Int_t n)
void SetIndex(Int_t n)
void SetJmohep(Int_t j, Int_t n)
void SetJdahep(Int_t j, Int_t n)
void SetMass(Double_t x)
void SetPx(Double_t x)
void SetPy(Double_t x)
void SetPz(Double_t x)
void SetE(Double_t x)
void SetVx(Double_t x)
void SetVy(Double_t x)
void SetVz(Double_t x)
void SetVt(Double_t x)
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
TMCFastHepParticle TMCFastHepParticle(TMCFastHepParticle&)
Author: Paul Eugenio 2-Nov-98
ROOT page - Class index - Top of the page
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.