Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TParticle Class Reference

#include <TParticle.h>

Inheritance diagram for TParticle:

Inheritance graph
[legend]
Collaboration diagram for TParticle:

Collaboration graph
[legend]
List of all members.

Public Methods

 TParticle ()
 reference to the particle record in PDG database

 TParticle (Int_t pdg, Int_t status, Int_t mother1, Int_t mother2, Int_t daughter1, Int_t daughter2, Double_t px, Double_t py, Double_t pz, Double_t etot, Double_t vx, Double_t vy, Double_t vz, Double_t time)
 TParticle (Int_t pdg, Int_t status, Int_t mother1, Int_t mother2, Int_t daughter1, Int_t daughter2, const TLorentzVector &p, const TLorentzVector &v)
 TParticle (const TParticle &part)
virtual ~TParticle ()
Int_t GetStatusCode () const
Int_t GetPdgCode () const
Int_t GetFirstMother () const
Int_t GetMother (Int_t i) const
Int_t GetSecondMother () const
Int_t GetFirstDaughter () const
Int_t GetDaughter (Int_t i) const
Int_t GetLastDaughter () const
Double_t GetCalcMass () const
Double_t GetMass ()
Int_t GetNDaughters () const
void GetPolarisation (TVector3 &v)
Float_t GetWeight () const
TParticlePDGGetPDG (Int_t mode=0)
Int_t Beauty ()
Int_t Charm ()
Int_t Strangeness ()
void Momentum (TLorentzVector &v)
void ProductionVertex (TLorentzVector &v)
Double_t Vx () const
Double_t Vy () const
Double_t Vz () const
Double_t T () const
Double_t Px () const
Double_t Py () const
Double_t Pz () const
Double_t P () const
Double_t Pt () const
Double_t Energy () const
Double_t Eta () const
Double_t Phi () const
Double_t Theta () const
void SetFirstMother (int code)
void SetMother (int i, int code)
void SetLastMother (int code)
void SetFirstDaughter (int code)
void SetDaughter (int i, int code)
void SetLastDaughter (int code)
void SetCalcMass (Double_t mass)
void SetPolarisation (Double_t polx, Double_t poly, Double_t polz)
void SetPolarisation (const TVector3 &v)
void SetStatusCode (int status)
void SetWeight (Float_t weight=1)
void SetMomentum (Double_t px, Double_t py, Double_t pz, Double_t e)
void SetMomentum (const TLorentzVector &p)
void SetProductionVertex (Double_t vx, Double_t vy, Double_t vz, Double_t t)
void SetProductionVertex (const TLorentzVector &v)
virtual void Paint (Option_t *option="")
virtual void Print (Option_t *option="") const
virtual void Sizeof3D () const
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
virtual const char * GetName () const
virtual const char * GetTitle () const

Protected Attributes

Int_t fPdgCode
Int_t fStatusCode
Int_t fMother [2]
Int_t fDaughter [2]
Float_t fWeight
Double_t fCalcMass
Double_t fPx
Double_t fPy
Double_t fPz
Double_t fE
Double_t fVx
Double_t fVy
Double_t fVz
Double_t fVt
Double_t fPolarTheta
Double_t fPolarPhi
TParticlePDGfParticlePDG

Constructor & Destructor Documentation

TParticle::TParticle  
 

reference to the particle record in PDG database

TParticle::TParticle Int_t    pdg,
Int_t    status,
Int_t    mother1,
Int_t    mother2,
Int_t    daughter1,
Int_t    daughter2,
Double_t    px,
Double_t    py,
Double_t    pz,
Double_t    etot,
Double_t    vx,
Double_t    vy,
Double_t    vz,
Double_t    time
 

TParticle::TParticle Int_t    pdg,
Int_t    status,
Int_t    mother1,
Int_t    mother2,
Int_t    daughter1,
Int_t    daughter2,
const TLorentzVector   p,
const TLorentzVector   v
 

TParticle::TParticle const TParticle &    part
 

virtual TParticle::~TParticle   [virtual]
 


Member Function Documentation

Int_t TParticle::GetStatusCode   const
 

Definition at line 97 of file TParticle.h.

References fStatusCode.

Int_t TParticle::GetPdgCode   const
 

Definition at line 98 of file TParticle.h.

References fPdgCode.

Int_t TParticle::GetFirstMother   const
 

Definition at line 99 of file TParticle.h.

References fMother.

Int_t TParticle::GetMother Int_t    i const
 

Definition at line 100 of file TParticle.h.

References fMother.

Int_t TParticle::GetSecondMother   const
 

Definition at line 101 of file TParticle.h.

References fMother.

Int_t TParticle::GetFirstDaughter   const
 

Definition at line 102 of file TParticle.h.

References fDaughter.

Int_t TParticle::GetDaughter Int_t    i const
 

Definition at line 103 of file TParticle.h.

References fDaughter.

Int_t TParticle::GetLastDaughter   const
 

Definition at line 104 of file TParticle.h.

References fDaughter.

Double_t TParticle::GetCalcMass   const
 

Definition at line 105 of file TParticle.h.

References fCalcMass.

Double_t TParticle::GetMass  
 

Definition at line 106 of file TParticle.h.

References GetPDG(), and TParticlePDG::Mass().

Int_t TParticle::GetNDaughters   const
 

Definition at line 108 of file TParticle.h.

References fDaughter.

void TParticle::GetPolarisation TVector3   v
 

Float_t TParticle::GetWeight   const
 

Definition at line 110 of file TParticle.h.

References fWeight.

TParticlePDG* TParticle::GetPDG Int_t    mode = 0
 

Referenced by Beauty(), Charm(), GetMass(), and Strangeness().

Int_t TParticle::Beauty  
 

Definition at line 113 of file TParticle.h.

References TParticlePDG::Beauty(), and GetPDG().

Int_t TParticle::Charm  
 

Definition at line 114 of file TParticle.h.

References TParticlePDG::Charm(), and GetPDG().

Int_t TParticle::Strangeness  
 

Definition at line 115 of file TParticle.h.

References GetPDG(), and TParticlePDG::Strangeness().

void TParticle::Momentum TLorentzVector   v
 

Definition at line 117 of file TParticle.h.

References fE, fPx, fPy, fPz, and TLorentzVector::SetPxPyPzE().

void TParticle::ProductionVertex TLorentzVector   v
 

Definition at line 118 of file TParticle.h.

References fVt, fVx, fVy, fVz, and TLorentzVector::SetXYZT().

Double_t TParticle::Vx   const
 

Definition at line 123 of file TParticle.h.

References fVx.

Double_t TParticle::Vy   const
 

Definition at line 124 of file TParticle.h.

References fVy.

Double_t TParticle::Vz   const
 

Definition at line 125 of file TParticle.h.

References fVz.

Double_t TParticle::T   const
 

Definition at line 126 of file TParticle.h.

References fVt.

Double_t TParticle::Px   const
 

Definition at line 128 of file TParticle.h.

References fPx.

Double_t TParticle::Py   const
 

Definition at line 129 of file TParticle.h.

References fPy.

Double_t TParticle::Pz   const
 

Definition at line 130 of file TParticle.h.

References fPz.

Double_t TParticle::P   const
 

Definition at line 131 of file TParticle.h.

References fPx, fPy, fPz, and TMath::Sqrt().

Referenced by Eta(), and Theta().

Double_t TParticle::Pt   const
 

Definition at line 133 of file TParticle.h.

References fPx, fPy, and TMath::Sqrt().

Double_t TParticle::Energy   const
 

Definition at line 135 of file TParticle.h.

References fE.

Double_t TParticle::Eta   const
 

Definition at line 136 of file TParticle.h.

References fPz, TMath::Log(), and P().

Double_t TParticle::Phi   const
 

Definition at line 142 of file TParticle.h.

References TMath::ATan2(), fPx, fPy, and kPI.

Double_t TParticle::Theta   const
 

Definition at line 144 of file TParticle.h.

References TMath::ACos(), fPz, kPI, and P().

void TParticle::SetFirstMother int    code
 

Definition at line 148 of file TParticle.h.

References fMother.

void TParticle::SetMother int    i,
int    code
 

Definition at line 149 of file TParticle.h.

References fMother.

void TParticle::SetLastMother int    code
 

Definition at line 150 of file TParticle.h.

References fMother.

void TParticle::SetFirstDaughter int    code
 

Definition at line 151 of file TParticle.h.

References fDaughter.

void TParticle::SetDaughter int    i,
int    code
 

Definition at line 152 of file TParticle.h.

References fDaughter.

void TParticle::SetLastDaughter int    code
 

Definition at line 153 of file TParticle.h.

References fDaughter.

void TParticle::SetCalcMass Double_t    mass
 

Definition at line 154 of file TParticle.h.

References fCalcMass.

void TParticle::SetPolarisation Double_t    polx,
Double_t    poly,
Double_t    polz
 

Referenced by SetPolarisation().

void TParticle::SetPolarisation const TVector3   v
 

Definition at line 156 of file TParticle.h.

References SetPolarisation(), TVector3::X(), TVector3::Y(), and TVector3::Z().

void TParticle::SetStatusCode int    status
 

Definition at line 157 of file TParticle.h.

References fStatusCode.

void TParticle::SetWeight Float_t    weight = 1
 

Definition at line 158 of file TParticle.h.

References fWeight.

void TParticle::SetMomentum Double_t    px,
Double_t    py,
Double_t    pz,
Double_t    e
 

Definition at line 160 of file TParticle.h.

References fE, fPx, fPy, and fPz.

Referenced by SetMomentum().

void TParticle::SetMomentum const TLorentzVector   p
 

Definition at line 162 of file TParticle.h.

References TLorentzVector::Energy(), TLorentzVector::Px(), TLorentzVector::Py(), TLorentzVector::Pz(), and SetMomentum().

void TParticle::SetProductionVertex Double_t    vx,
Double_t    vy,
Double_t    vz,
Double_t    t
 

Definition at line 165 of file TParticle.h.

References fVt, fVx, fVy, and fVz.

Referenced by SetProductionVertex().

void TParticle::SetProductionVertex const TLorentzVector   v
 

Definition at line 167 of file TParticle.h.

References SetProductionVertex(), TLorentzVector::T(), TLorentzVector::X(), TLorentzVector::Y(), and TLorentzVector::Z().

virtual void TParticle::Paint Option_t *    option = "" [virtual]
 

Reimplemented from TObject.

virtual void TParticle::Print Option_t *    option = "" const [virtual]
 

Reimplemented from TObject.

virtual void TParticle::Sizeof3D   const [virtual]
 

Reimplemented from TAtt3D.

virtual Int_t TParticle::DistancetoPrimitive Int_t    px,
Int_t    py
[virtual]
 

Reimplemented from TObject.

virtual void TParticle::ExecuteEvent Int_t    event,
Int_t    px,
Int_t    py
[virtual]
 

Reimplemented from TObject.

virtual const char* TParticle::GetName   const [virtual]
 

Reimplemented from TObject.

virtual const char* TParticle::GetTitle   const [virtual]
 

Reimplemented from TObject.


Member Data Documentation

Int_t TParticle::fPdgCode [protected]
 

Definition at line 45 of file TParticle.h.

Referenced by GetPdgCode().

Int_t TParticle::fStatusCode [protected]
 

Definition at line 46 of file TParticle.h.

Referenced by GetStatusCode(), and SetStatusCode().

Int_t TParticle::fMother[2] [protected]
 

Definition at line 47 of file TParticle.h.

Referenced by GetFirstMother(), GetMother(), GetSecondMother(), SetFirstMother(), SetLastMother(), and SetMother().

Int_t TParticle::fDaughter[2] [protected]
 

Definition at line 48 of file TParticle.h.

Referenced by GetDaughter(), GetFirstDaughter(), GetLastDaughter(), GetNDaughters(), SetDaughter(), SetFirstDaughter(), and SetLastDaughter().

Float_t TParticle::fWeight [protected]
 

Definition at line 49 of file TParticle.h.

Referenced by GetWeight(), and SetWeight().

Double_t TParticle::fCalcMass [protected]
 

Definition at line 51 of file TParticle.h.

Referenced by GetCalcMass(), and SetCalcMass().

Double_t TParticle::fPx [protected]
 

Definition at line 53 of file TParticle.h.

Referenced by Momentum(), P(), Phi(), Pt(), Px(), and SetMomentum().

Double_t TParticle::fPy [protected]
 

Definition at line 54 of file TParticle.h.

Referenced by Momentum(), P(), Phi(), Pt(), Py(), and SetMomentum().

Double_t TParticle::fPz [protected]
 

Definition at line 55 of file TParticle.h.

Referenced by Eta(), Momentum(), P(), Pz(), SetMomentum(), and Theta().

Double_t TParticle::fE [protected]
 

Definition at line 56 of file TParticle.h.

Referenced by Energy(), Momentum(), and SetMomentum().

Double_t TParticle::fVx [protected]
 

Definition at line 58 of file TParticle.h.

Referenced by ProductionVertex(), SetProductionVertex(), and Vx().

Double_t TParticle::fVy [protected]
 

Definition at line 59 of file TParticle.h.

Referenced by ProductionVertex(), SetProductionVertex(), and Vy().

Double_t TParticle::fVz [protected]
 

Definition at line 60 of file TParticle.h.

Referenced by ProductionVertex(), SetProductionVertex(), and Vz().

Double_t TParticle::fVt [protected]
 

Definition at line 61 of file TParticle.h.

Referenced by ProductionVertex(), SetProductionVertex(), and T().

Double_t TParticle::fPolarTheta [protected]
 

Definition at line 63 of file TParticle.h.

Double_t TParticle::fPolarPhi [protected]
 

Definition at line 64 of file TParticle.h.

TParticlePDG* TParticle::fParticlePDG [protected]
 

Definition at line 66 of file TParticle.h.


The documentation for this class was generated from the following file:
Generated on Thu Dec 18 15:05:03 2003 for ROOT by doxygen1.2.16