#include <GParticle.h>
Public Member Functions | |
GParticle () | |
GParticle (const Int_t kS, const Int_t kF, const Int_t parent, const Int_t firstchild, const Int_t lastchild, const Float_t px, const Float_t py, const Float_t pz, const Float_t energy, const Float_t mass, const Float_t vx, const Float_t vy, const Float_t vz, const Float_t polx, const Float_t poly, const Float_t polz, const Float_t time, const Float_t lifetime, const char *Origin="Unknown") | |
virtual | ~GParticle () |
Int_t | GetKS () const |
Int_t | GetKF () const |
Int_t | GetParent () const |
Int_t | GetFirstChild () const |
Int_t | GetLastChild () const |
Float_t | GetPx () const |
Float_t | GetPy () const |
Float_t | GetPz () const |
Float_t | GetPolx () const |
Float_t | GetPoly () const |
Float_t | GetPolz () const |
Float_t | GetEnergy () const |
Float_t | GetMass () const |
Float_t | GetMomentum () const |
void | GetOrigin (char *Origin) |
Float_t | GetPT () const |
Float_t | GetVx () const |
Float_t | GetVy () const |
Float_t | GetVz () const |
Float_t | GetTime () const |
Float_t | GetLifeTime () const |
Float_t | GetProcessTime () const |
virtual const Text_t * | GetName () const |
virtual const Text_t * | GetTitle () const |
void | SetKS (Int_t KS) |
void | SetFirstChild (const Int_t firstchild) |
void | SetLastChild (const Int_t lastchild) |
void | SetParent (const Int_t parent) |
void | SetProcessTime (Float_t cputime) |
Private Attributes | |
Int_t | fKS |
Int_t | fKF |
Int_t | fParent |
Int_t | fFirstChild |
Int_t | fLastChild |
Float_t | fPx |
Float_t | fPy |
Float_t | fPz |
Float_t | fEnergy |
Float_t | fMass |
Float_t | fVx |
Float_t | fVy |
Float_t | fVz |
Float_t | fPolx |
Float_t | fPoly |
Float_t | fPolz |
Float_t | fTime |
Float_t | fLifeTime |
Float_t | fProcessTime |
char | fOrigin [11] |
|
Definition at line 24 of file GParticle.cxx.
00025 { 00026 } |
|
Definition at line 29 of file GParticle.cxx. References fOrigin.
00039 : 00040 fKS(kS) 00041 , fKF(kF) 00042 , fParent(parent) 00043 , fFirstChild(firstchild) 00044 , fLastChild(lastchild) 00045 , fPx(px) 00046 , fPy(py) 00047 , fPz(pz) 00048 , fEnergy(energy) 00049 , fMass(mass) 00050 , fVx(vx) 00051 , fVy(vy) 00052 , fVz(vz) 00053 , fPolx(polx) 00054 , fPoly(poly) 00055 , fPolz(polz) 00056 , fTime(time) 00057 , fLifeTime(lifetime) 00058 , fProcessTime(-0.1) 00059 { 00060 Int_t p=0; 00061 while ((fOrigin[p]=Origin[p]) && p++<10); 00062 fOrigin[10]=0; 00063 } |
|
Definition at line 66 of file GParticle.cxx.
00067 { 00068 } |
|
Definition at line 82 of file GParticle.h. References fEnergy. Referenced by MINFast::GetNextTrack().
00082 {return fEnergy;} |
|
Definition at line 71 of file GParticle.h. References fFirstChild.
00071 {return fFirstChild;} |
|
Definition at line 69 of file GParticle.h. References fKF. Referenced by MINFast::GetNextTrack().
00069 {return fKF;} |
|
Definition at line 68 of file GParticle.h. References fKS.
00068 {return fKS;} |
|
Definition at line 72 of file GParticle.h. References fLastChild.
00072 {return fLastChild;} |
|
Definition at line 93 of file GParticle.h. References fLifeTime.
00093 {return fLifeTime;} |
|
Definition at line 83 of file GParticle.h. References fMass.
00083 {return fMass;} |
|
Definition at line 84 of file GParticle.h. Referenced by MINFPoints::GetObjectInfo().
00084 {return
00085 TMath::Sqrt(fPx*fPx+fPy*fPy+fPz*fPz);}
|
|
Definition at line 71 of file GParticle.cxx. References fKF, and MINFAttParticle::GetParticle(). Referenced by MINFPoints::GetName().
00072 { 00073 00074 // Return name of this particle (PDG convention) 00075 return (MINFAttParticle::GetParticle(fKF))->GetName(); 00076 } |
|
Definition at line 86 of file GParticle.h. References fOrigin.
00086 {strcpy(Origin,fOrigin);} |
|
Definition at line 70 of file GParticle.h. References fParent. Referenced by MINFast::FlagTrack(), and MINFast::GetPrimary().
00070 {return fParent;} |
|
Definition at line 78 of file GParticle.h. References fPolx. Referenced by MINFast::GetNextTrack().
00078 {return fPolx;} |
|
Definition at line 79 of file GParticle.h. References fPoly. Referenced by MINFast::GetNextTrack().
00079 {return fPoly;} |
|
Definition at line 80 of file GParticle.h. References fPolz. Referenced by MINFast::GetNextTrack().
00080 {return fPolz;} |
|
Definition at line 94 of file GParticle.h. References fProcessTime.
00094 {return fProcessTime;} |
|
Definition at line 87 of file GParticle.h.
00087 {return TMath::Sqrt(fPx*fPx+fPy*fPy);}
|
|
Definition at line 74 of file GParticle.h. References fPx. Referenced by MINFast::GetNextTrack().
00074 {return fPx;} |
|
Definition at line 75 of file GParticle.h. References fPy. Referenced by MINFast::GetNextTrack().
00075 {return fPy;} |
|
Definition at line 76 of file GParticle.h. References fPz. Referenced by MINFast::GetNextTrack().
00076 {return fPz;} |
|
Definition at line 92 of file GParticle.h. References fTime. Referenced by MINFast::GetNextTrack().
00092 {return fTime;} |
|
Definition at line 79 of file GParticle.cxx. References fKF.
00080 { 00081 00082 // Return title of this particle (PDG convention) 00083 static char name[20]; 00084 sprintf(name,"GParticle %d",fKF); 00085 return name; 00086 } |
|
Definition at line 89 of file GParticle.h. References fVx. Referenced by MINFast::GetNextTrack().
00089 {return fVx;} |
|
Definition at line 90 of file GParticle.h. References fVy. Referenced by MINFast::GetNextTrack().
00090 {return fVy;} |
|
Definition at line 91 of file GParticle.h. References fVz. Referenced by MINFast::GetNextTrack().
00091 {return fVz;} |
|
Definition at line 99 of file GParticle.h. References fFirstChild. Referenced by MINFast::CleanParents().
00100 {fFirstChild=firstchild;} |
|
Definition at line 98 of file GParticle.h. References fKS.
00098 {fKS=KS;} |
|
Definition at line 101 of file GParticle.h. References fLastChild. Referenced by MINFast::CleanParents().
00102 {fLastChild=lastchild;} |
|
Definition at line 103 of file GParticle.h. References fParent.
00103 {fParent=parent;} |
|
Definition at line 104 of file GParticle.h. References fProcessTime. Referenced by MINFast::GetNextTrack().
00105 {fProcessTime=cputime;} |
|
Definition at line 37 of file GParticle.h. Referenced by GetEnergy(). |
|
Definition at line 31 of file GParticle.h. Referenced by GetFirstChild(), and SetFirstChild(). |
|
Definition at line 29 of file GParticle.h. Referenced by GetKF(), GetName(), and GetTitle(). |
|
Definition at line 28 of file GParticle.h. |
|
Definition at line 32 of file GParticle.h. Referenced by GetLastChild(), and SetLastChild(). |
|
Definition at line 49 of file GParticle.h. Referenced by GetLifeTime(). |
|
Definition at line 38 of file GParticle.h. Referenced by GetMass(). |
|
Definition at line 52 of file GParticle.h. Referenced by GetOrigin(), and GParticle(). |
|
Definition at line 30 of file GParticle.h. Referenced by GetParent(), and SetParent(). |
|
Definition at line 44 of file GParticle.h. Referenced by GetPolx(). |
|
Definition at line 45 of file GParticle.h. Referenced by GetPoly(). |
|
Definition at line 46 of file GParticle.h. Referenced by GetPolz(). |
|
Definition at line 50 of file GParticle.h. Referenced by GetProcessTime(), and SetProcessTime(). |
|
Definition at line 34 of file GParticle.h. Referenced by GetMomentum(), GetPT(), and GetPx(). |
|
Definition at line 35 of file GParticle.h. Referenced by GetMomentum(), GetPT(), and GetPy(). |
|
Definition at line 36 of file GParticle.h. Referenced by GetMomentum(), and GetPz(). |
|
Definition at line 48 of file GParticle.h. Referenced by GetTime(). |
|
Definition at line 40 of file GParticle.h. Referenced by GetVx(). |
|
Definition at line 41 of file GParticle.h. Referenced by GetVy(). |
|
Definition at line 42 of file GParticle.h. Referenced by GetVz(). |