TParticle Class Reference

#include <TParticle.h>

Inheritance diagram for TParticle:

TObject TAttLine TAtt3D TObject TAttLine TAtt3D MyParticle TEveMCTrack TEveMCTrack List of all members.

Public Member Functions

 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 ()
TParticleoperator= (const TParticle &)
Int_t GetStatusCode () const
Int_t GetPdgCode () const
Int_t GetFirstMother () const
Int_t GetMother (Int_t i) const
Int_t GetSecondMother () const
Bool_t IsPrimary () 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
Float_t GetWeight () const
void GetPolarisation (TVector3 &v)
TParticlePDGGetPDG (Int_t mode=0)
Int_t Beauty ()
Int_t Charm ()
Int_t Strangeness ()
void Momentum (TLorentzVector &v) const
void ProductionVertex (TLorentzVector &v) const
Double_t Vx () const
Double_t Vy () const
Double_t Vz () const
Double_t T () const
Double_t R () const
Double_t Rho () 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 Y () 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 SetPdgCode (Int_t pdg)
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
 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 ()
TParticleoperator= (const TParticle &)
Int_t GetStatusCode () const
Int_t GetPdgCode () const
Int_t GetFirstMother () const
Int_t GetMother (Int_t i) const
Int_t GetSecondMother () const
Bool_t IsPrimary () 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
Float_t GetWeight () const
void GetPolarisation (TVector3 &v)
TParticlePDGGetPDG (Int_t mode=0)
Int_t Beauty ()
Int_t Charm ()
Int_t Strangeness ()
void Momentum (TLorentzVector &v) const
void ProductionVertex (TLorentzVector &v) const
Double_t Vx () const
Double_t Vy () const
Double_t Vz () const
Double_t T () const
Double_t R () const
Double_t Rho () 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 Y () 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 SetPdgCode (Int_t pdg)
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
TParticlePDGfParticlePDG

Detailed Description

Definition at line 34 of file TParticle.h.


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 
)

Definition at line 66 of file TParticle.cxx.

References fDaughter, fMother, SetPdgCode(), and SetPolarisation().

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 
)

Definition at line 86 of file TParticle.cxx.

References fDaughter, fMother, SetPdgCode(), and SetPolarisation().

TParticle::TParticle ( const TParticle part  ) 

Definition at line 106 of file TParticle.cxx.

References fDaughter, fMother, and p.

TParticle::~TParticle (  )  [virtual]

Definition at line 158 of file TParticle.cxx.

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

TParticle & TParticle::operator= ( const TParticle  ) 

Definition at line 121 of file TParticle.cxx.

References fCalcMass, fDaughter, fE, fMother, fParticlePDG, fPdgCode, fPolarPhi, fPolarTheta, fPx, fPy, fPz, fStatusCode, fVt, fVx, fVy, fVz, fWeight, TObject::operator=(), and p.

Int_t TParticle::GetStatusCode (  )  const [inline]

Definition at line 92 of file TParticle.h.

References fStatusCode.

Int_t TParticle::GetPdgCode (  )  const [inline]

Definition at line 93 of file TParticle.h.

References fPdgCode.

Referenced by MyParticle::GenerateTimeOfDecay(), MyParticle::GetName(), MyEvent::Move(), RootShower::OnOpenFile(), RootShower::OnShowerProduce(), and RootShower::OnShowSelected().

Int_t TParticle::GetFirstMother (  )  const [inline]

Definition at line 94 of file TParticle.h.

References fMother.

Referenced by RootShower::OnOpenFile().

Int_t TParticle::GetMother ( Int_t  i  )  const [inline]

Definition at line 95 of file TParticle.h.

References fMother.

Int_t TParticle::GetSecondMother (  )  const [inline]

Definition at line 96 of file TParticle.h.

References fMother.

Bool_t TParticle::IsPrimary (  )  const [inline]

Definition at line 97 of file TParticle.h.

References fMother, kFALSE, and kTRUE.

Int_t TParticle::GetFirstDaughter (  )  const [inline]

Definition at line 98 of file TParticle.h.

References fDaughter.

Int_t TParticle::GetDaughter ( Int_t  i  )  const [inline]

Definition at line 99 of file TParticle.h.

References fDaughter.

Int_t TParticle::GetLastDaughter (  )  const [inline]

Definition at line 100 of file TParticle.h.

References fDaughter.

Double_t TParticle::GetCalcMass (  )  const [inline]

Definition at line 101 of file TParticle.h.

References fCalcMass.

Double_t TParticle::GetMass (  ) 

Definition at line 164 of file TParticle.cxx.

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

Referenced by MyEvent::Bremsstrahlung(), MyEvent::Decay(), MyParticle::MyParticle(), and MyParticle::SetMoment().

Int_t TParticle::GetNDaughters (  )  const [inline]

Definition at line 103 of file TParticle.h.

References fDaughter.

Float_t TParticle::GetWeight (  )  const [inline]

Definition at line 104 of file TParticle.h.

References fWeight.

void TParticle::GetPolarisation ( TVector3 v  ) 

Definition at line 268 of file TParticle.cxx.

References TMath::Cos(), fPolarPhi, fPolarTheta, and TMath::Sin().

TParticlePDG * TParticle::GetPDG ( Int_t  mode = 0  ) 

Definition at line 250 of file TParticle.cxx.

References fParticlePDG, fPdgCode, TDatabasePDG::GetParticle(), and TDatabasePDG::Instance().

Referenced by Beauty(), Charm(), MyEvent::Decay(), MyParticle::GenerateTimeOfDecay(), GetMass(), MyEvent::MagneticField(), and Strangeness().

Int_t TParticle::Beauty (  ) 

Definition at line 171 of file TParticle.cxx.

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

Int_t TParticle::Charm (  ) 

Definition at line 178 of file TParticle.cxx.

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

Int_t TParticle::Strangeness (  ) 

Definition at line 185 of file TParticle.cxx.

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

void TParticle::Momentum ( TLorentzVector v  )  const [inline]

Definition at line 110 of file TParticle.h.

References fE, fPx, fPy, and fPz.

void TParticle::ProductionVertex ( TLorentzVector v  )  const [inline]

Definition at line 111 of file TParticle.h.

References fVt, fVx, fVy, and fVz.

Double_t TParticle::Vx (  )  const [inline]

Definition at line 115 of file TParticle.h.

References fVx.

Referenced by Paint(), and Print().

Double_t TParticle::Vy (  )  const [inline]

Definition at line 116 of file TParticle.h.

References fVy.

Referenced by Paint(), and Print().

Double_t TParticle::Vz (  )  const [inline]

Definition at line 117 of file TParticle.h.

References fVz.

Referenced by Paint(), and Print().

Double_t TParticle::T (  )  const [inline]

Definition at line 118 of file TParticle.h.

References fVt.

Double_t TParticle::R (  )  const [inline]

Definition at line 119 of file TParticle.h.

References fVx, fVy, and TMath::Sqrt().

Double_t TParticle::Rho (  )  const [inline]

Definition at line 120 of file TParticle.h.

References fVx, fVy, fVz, and TMath::Sqrt().

Double_t TParticle::Px (  )  const [inline]

Definition at line 121 of file TParticle.h.

References fPx.

Referenced by MyParticle::GetvMoment(), MyEvent::MagneticField(), Paint(), and Print().

Double_t TParticle::Py (  )  const [inline]

Definition at line 122 of file TParticle.h.

References fPy.

Referenced by MyParticle::GetvMoment(), MyEvent::MagneticField(), Paint(), and Print().

Double_t TParticle::Pz (  )  const [inline]

Definition at line 123 of file TParticle.h.

References fPz.

Referenced by MyParticle::GetvMoment(), MyEvent::MagneticField(), Paint(), and Print().

Double_t TParticle::P (  )  const [inline]

Definition at line 124 of file TParticle.h.

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

Referenced by MyEvent::DEDX(), DistancetoPrimitive(), Eta(), MyEvent::MagneticField(), Paint(), MyEvent::ScatterAngle(), Sizeof3D(), and Theta().

Double_t TParticle::Pt (  )  const [inline]

Definition at line 125 of file TParticle.h.

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

Double_t TParticle::Energy (  )  const [inline]

Definition at line 126 of file TParticle.h.

References fE.

Referenced by MyEvent::Action(), MyEvent::Bremsstrahlung(), MyEvent::Decay(), MyEvent::DEDX(), MyParticle::GetObjectInfo(), RootShower::OnOpenFile(), and MyEvent::PairCreation().

Double_t TParticle::Eta (  )  const [inline]

Definition at line 127 of file TParticle.h.

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

Double_t TParticle::Y (  )  const [inline]

Definition at line 133 of file TParticle.h.

References TMath::Abs(), fE, fPz, and TMath::Log().

Double_t TParticle::Phi (  )  const [inline]

Definition at line 139 of file TParticle.h.

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

Double_t TParticle::Theta (  )  const [inline]

Definition at line 140 of file TParticle.h.

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

void TParticle::SetFirstMother ( int  code  )  [inline]

Definition at line 144 of file TParticle.h.

References fMother.

Referenced by MyEvent::Bremsstrahlung(), MyEvent::Decay(), and MyEvent::PairCreation().

void TParticle::SetMother ( int  i,
int  code 
) [inline]

Definition at line 145 of file TParticle.h.

References fMother.

void TParticle::SetLastMother ( int  code  )  [inline]

Definition at line 146 of file TParticle.h.

References fMother.

void TParticle::SetFirstDaughter ( int  code  )  [inline]

Definition at line 147 of file TParticle.h.

References fDaughter.

void TParticle::SetDaughter ( int  i,
int  code 
) [inline]

Definition at line 148 of file TParticle.h.

References fDaughter.

void TParticle::SetLastDaughter ( int  code  )  [inline]

Definition at line 149 of file TParticle.h.

References fDaughter.

void TParticle::SetCalcMass ( Double_t  mass  )  [inline]

Definition at line 150 of file TParticle.h.

References fCalcMass.

void TParticle::SetPdgCode ( Int_t  pdg  ) 

Definition at line 331 of file TParticle.cxx.

References fCalcMass, fE, fParticlePDG, fPdgCode, fPx, fPy, fPz, TDatabasePDG::GetParticle(), TDatabasePDG::Instance(), TParticlePDG::Mass(), TMath::Sqrt(), and TObject::Warning().

Referenced by TParticle().

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

Definition at line 354 of file TParticle.cxx.

References TMath::ACos(), TMath::ATan2(), fPolarPhi, fPolarTheta, TMath::Pi(), and TMath::Sqrt().

Referenced by SetPolarisation(), and TParticle().

void TParticle::SetPolarisation ( const TVector3 v  )  [inline]

Definition at line 153 of file TParticle.h.

References SetPolarisation().

void TParticle::SetStatusCode ( int  status  )  [inline]

Definition at line 154 of file TParticle.h.

References fStatusCode.

void TParticle::SetWeight ( Float_t  weight = 1  )  [inline]

Definition at line 155 of file TParticle.h.

References fWeight.

void TParticle::SetMomentum ( Double_t  px,
Double_t  py,
Double_t  pz,
Double_t  e 
) [inline]

Definition at line 156 of file TParticle.h.

References fE, fPx, fPy, and fPz.

Referenced by MyEvent::DEDX(), MyParticle::MyParticle(), MyParticle::SetMoment(), and SetMomentum().

void TParticle::SetMomentum ( const TLorentzVector p  )  [inline]

Definition at line 157 of file TParticle.h.

References p, and SetMomentum().

void TParticle::SetProductionVertex ( Double_t  vx,
Double_t  vy,
Double_t  vz,
Double_t  t 
) [inline]

Definition at line 158 of file TParticle.h.

References fVt, fVx, fVy, and fVz.

Referenced by SetProductionVertex().

void TParticle::SetProductionVertex ( const TLorentzVector v  )  [inline]

Definition at line 159 of file TParticle.h.

References SetProductionVertex().

void TParticle::Paint ( Option_t option = ""  )  [virtual]

Reimplemented from TObject.

Definition at line 291 of file TParticle.cxx.

References TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), TView::GetRange(), gPad, P(), TPolyLine3D::Paint(), Px(), Py(), Pz(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), TPolyLine3D::SetPoint(), Vx(), Vy(), and Vz().

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

Reimplemented from TObject.

Definition at line 319 of file TParticle.cxx.

References fMother, GetName(), Printf(), Px(), Py(), Pz(), Vx(), Vy(), and Vz().

void TParticle::Sizeof3D (  )  const [virtual]

Reimplemented from TAtt3D.

Definition at line 367 of file TParticle.cxx.

References gSize3D, and P().

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

Reimplemented from TObject.

Definition at line 192 of file TParticle.cxx.

References TAttLine::DistancetoLine(), fPx, fPy, fPz, fVx, fVy, fVz, TView::GetRange(), gPad, P(), TView::WCtoNDC(), x1, and x2.

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

Reimplemented from TObject.

Definition at line 231 of file TParticle.cxx.

References gPad, and kPointer.

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

Reimplemented from TObject.

Definition at line 240 of file TParticle.cxx.

References fPdgCode, TNamed::GetName(), TDatabasePDG::GetParticle(), and TDatabasePDG::Instance().

Referenced by Print().

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

Reimplemented from TObject.

Definition at line 281 of file TParticle.cxx.

References fPdgCode, TDatabasePDG::GetParticle(), TNamed::GetTitle(), and TDatabasePDG::Instance().

TParticle& TParticle::operator= ( const TParticle  ) 

Int_t TParticle::GetStatusCode (  )  const [inline]

Definition at line 92 of file TParticle.h.

References fStatusCode.

Int_t TParticle::GetPdgCode (  )  const [inline]

Definition at line 93 of file TParticle.h.

References fPdgCode.

Int_t TParticle::GetFirstMother (  )  const [inline]

Definition at line 94 of file TParticle.h.

References fMother.

Int_t TParticle::GetMother ( Int_t  i  )  const [inline]

Definition at line 95 of file TParticle.h.

References fMother.

Int_t TParticle::GetSecondMother (  )  const [inline]

Definition at line 96 of file TParticle.h.

References fMother.

Bool_t TParticle::IsPrimary (  )  const [inline]

Definition at line 97 of file TParticle.h.

References fMother, kFALSE, and kTRUE.

Int_t TParticle::GetFirstDaughter (  )  const [inline]

Definition at line 98 of file TParticle.h.

References fDaughter.

Int_t TParticle::GetDaughter ( Int_t  i  )  const [inline]

Definition at line 99 of file TParticle.h.

References fDaughter.

Int_t TParticle::GetLastDaughter (  )  const [inline]

Definition at line 100 of file TParticle.h.

References fDaughter.

Double_t TParticle::GetCalcMass (  )  const [inline]

Definition at line 101 of file TParticle.h.

References fCalcMass.

Double_t TParticle::GetMass (  ) 

Int_t TParticle::GetNDaughters (  )  const [inline]

Definition at line 103 of file TParticle.h.

References fDaughter.

Float_t TParticle::GetWeight (  )  const [inline]

Definition at line 104 of file TParticle.h.

References fWeight.

void TParticle::GetPolarisation ( TVector3 v  ) 

TParticlePDG* TParticle::GetPDG ( Int_t  mode = 0  ) 

Int_t TParticle::Beauty (  ) 

Int_t TParticle::Charm (  ) 

Int_t TParticle::Strangeness (  ) 

void TParticle::Momentum ( TLorentzVector v  )  const [inline]

Definition at line 110 of file TParticle.h.

References fE, fPx, fPy, and fPz.

void TParticle::ProductionVertex ( TLorentzVector v  )  const [inline]

Definition at line 111 of file TParticle.h.

References fVt, fVx, fVy, and fVz.

Double_t TParticle::Vx (  )  const [inline]

Definition at line 115 of file TParticle.h.

References fVx.

Double_t TParticle::Vy (  )  const [inline]

Definition at line 116 of file TParticle.h.

References fVy.

Double_t TParticle::Vz (  )  const [inline]

Definition at line 117 of file TParticle.h.

References fVz.

Double_t TParticle::T (  )  const [inline]

Definition at line 118 of file TParticle.h.

References fVt.

Double_t TParticle::R (  )  const [inline]

Definition at line 119 of file TParticle.h.

References fVx, fVy, and TMath::Sqrt().

Double_t TParticle::Rho (  )  const [inline]

Definition at line 120 of file TParticle.h.

References fVx, fVy, fVz, and TMath::Sqrt().

Double_t TParticle::Px (  )  const [inline]

Definition at line 121 of file TParticle.h.

References fPx.

Double_t TParticle::Py (  )  const [inline]

Definition at line 122 of file TParticle.h.

References fPy.

Double_t TParticle::Pz (  )  const [inline]

Definition at line 123 of file TParticle.h.

References fPz.

Double_t TParticle::P (  )  const [inline]

Definition at line 124 of file TParticle.h.

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

Double_t TParticle::Pt (  )  const [inline]

Definition at line 125 of file TParticle.h.

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

Double_t TParticle::Energy (  )  const [inline]

Definition at line 126 of file TParticle.h.

References fE.

Double_t TParticle::Eta (  )  const [inline]

Definition at line 127 of file TParticle.h.

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

Double_t TParticle::Y (  )  const [inline]

Definition at line 133 of file TParticle.h.

References TMath::Abs(), fE, fPz, and TMath::Log().

Double_t TParticle::Phi (  )  const [inline]

Definition at line 139 of file TParticle.h.

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

Double_t TParticle::Theta (  )  const [inline]

Definition at line 140 of file TParticle.h.

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

void TParticle::SetFirstMother ( int  code  )  [inline]

Definition at line 144 of file TParticle.h.

References fMother.

void TParticle::SetMother ( int  i,
int  code 
) [inline]

Definition at line 145 of file TParticle.h.

References fMother.

void TParticle::SetLastMother ( int  code  )  [inline]

Definition at line 146 of file TParticle.h.

References fMother.

void TParticle::SetFirstDaughter ( int  code  )  [inline]

Definition at line 147 of file TParticle.h.

References fDaughter.

void TParticle::SetDaughter ( int  i,
int  code 
) [inline]

Definition at line 148 of file TParticle.h.

References fDaughter.

void TParticle::SetLastDaughter ( int  code  )  [inline]

Definition at line 149 of file TParticle.h.

References fDaughter.

void TParticle::SetCalcMass ( Double_t  mass  )  [inline]

Definition at line 150 of file TParticle.h.

References fCalcMass.

void TParticle::SetPdgCode ( Int_t  pdg  ) 

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

void TParticle::SetPolarisation ( const TVector3 v  )  [inline]

Definition at line 153 of file TParticle.h.

References SetPolarisation().

void TParticle::SetStatusCode ( int  status  )  [inline]

Definition at line 154 of file TParticle.h.

References fStatusCode.

void TParticle::SetWeight ( Float_t  weight = 1  )  [inline]

Definition at line 155 of file TParticle.h.

References fWeight.

void TParticle::SetMomentum ( Double_t  px,
Double_t  py,
Double_t  pz,
Double_t  e 
) [inline]

Definition at line 156 of file TParticle.h.

References fE, fPx, fPy, and fPz.

void TParticle::SetMomentum ( const TLorentzVector p  )  [inline]

Definition at line 157 of file TParticle.h.

References p, and SetMomentum().

void TParticle::SetProductionVertex ( Double_t  vx,
Double_t  vy,
Double_t  vz,
Double_t  t 
) [inline]

Definition at line 158 of file TParticle.h.

References fVt, fVx, fVy, and fVz.

void TParticle::SetProductionVertex ( const TLorentzVector v  )  [inline]

Definition at line 159 of file TParticle.h.

References SetProductionVertex().

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 39 of file TParticle.h.

Referenced by GetName(), GetPDG(), GetPdgCode(), GetTitle(), operator=(), TEveMCTrack::ResetPdgCode(), and SetPdgCode().

Int_t TParticle::fStatusCode [protected]

Definition at line 40 of file TParticle.h.

Referenced by GetStatusCode(), operator=(), and SetStatusCode().

Int_t TParticle::fMother [protected]

Definition at line 41 of file TParticle.h.

Referenced by GetFirstMother(), GetMother(), GetSecondMother(), IsPrimary(), operator=(), Print(), SetFirstMother(), SetLastMother(), SetMother(), and TParticle().

Int_t TParticle::fDaughter [protected]

Definition at line 42 of file TParticle.h.

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

Float_t TParticle::fWeight [protected]

Definition at line 43 of file TParticle.h.

Referenced by GetWeight(), operator=(), and SetWeight().

Double_t TParticle::fCalcMass [protected]

Definition at line 45 of file TParticle.h.

Referenced by GetCalcMass(), operator=(), SetCalcMass(), and SetPdgCode().

Double_t TParticle::fPx [protected]

Definition at line 47 of file TParticle.h.

Referenced by DistancetoPrimitive(), Momentum(), operator=(), P(), Phi(), Pt(), Px(), SetMomentum(), and SetPdgCode().

Double_t TParticle::fPy [protected]

Definition at line 48 of file TParticle.h.

Referenced by DistancetoPrimitive(), Momentum(), operator=(), P(), Phi(), Pt(), Py(), SetMomentum(), and SetPdgCode().

Double_t TParticle::fPz [protected]

Definition at line 49 of file TParticle.h.

Referenced by DistancetoPrimitive(), Eta(), Momentum(), operator=(), P(), Pz(), SetMomentum(), SetPdgCode(), Theta(), and Y().

Double_t TParticle::fE [protected]

Definition at line 50 of file TParticle.h.

Referenced by Energy(), Momentum(), operator=(), SetMomentum(), SetPdgCode(), and Y().

Double_t TParticle::fVx [protected]

Definition at line 52 of file TParticle.h.

Referenced by DistancetoPrimitive(), operator=(), ProductionVertex(), R(), Rho(), SetProductionVertex(), and Vx().

Double_t TParticle::fVy [protected]

Definition at line 53 of file TParticle.h.

Referenced by DistancetoPrimitive(), operator=(), ProductionVertex(), R(), Rho(), SetProductionVertex(), and Vy().

Double_t TParticle::fVz [protected]

Definition at line 54 of file TParticle.h.

Referenced by DistancetoPrimitive(), operator=(), ProductionVertex(), Rho(), SetProductionVertex(), and Vz().

Double_t TParticle::fVt [protected]

Definition at line 55 of file TParticle.h.

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

Double_t TParticle::fPolarTheta [protected]

Definition at line 57 of file TParticle.h.

Referenced by GetPolarisation(), operator=(), and SetPolarisation().

Double_t TParticle::fPolarPhi [protected]

Definition at line 58 of file TParticle.h.

Referenced by GetPolarisation(), operator=(), and SetPolarisation().

TParticlePDG* TParticle::fParticlePDG [protected]

Definition at line 60 of file TParticle.h.

Referenced by GetPDG(), operator=(), and SetPdgCode().

TParticlePDG* TParticle::fParticlePDG [protected]

Definition at line 60 of file TParticle.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:44:51 2011 for ROOT_528-00b_version by  doxygen 1.5.1