#include <TParticle.h>
Inheritance diagram for TParticle:
Definition at line 34 of file TParticle.h.
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 | ) |
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] |
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] |
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::GetSecondMother | ( | ) | const [inline] |
Bool_t TParticle::IsPrimary | ( | ) | const [inline] |
Int_t TParticle::GetFirstDaughter | ( | ) | const [inline] |
Int_t TParticle::GetLastDaughter | ( | ) | const [inline] |
Double_t TParticle::GetCalcMass | ( | ) | const [inline] |
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] |
Float_t TParticle::GetWeight | ( | ) | const [inline] |
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 | ( | ) |
Int_t TParticle::Charm | ( | ) |
Int_t TParticle::Strangeness | ( | ) |
void TParticle::Momentum | ( | TLorentzVector & | v | ) | const [inline] |
void TParticle::ProductionVertex | ( | TLorentzVector & | v | ) | const [inline] |
Double_t TParticle::Vx | ( | ) | const [inline] |
Double_t TParticle::Vy | ( | ) | const [inline] |
Double_t TParticle::Vz | ( | ) | const [inline] |
Double_t TParticle::T | ( | ) | const [inline] |
Double_t TParticle::R | ( | ) | const [inline] |
Double_t TParticle::Rho | ( | ) | const [inline] |
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] |
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] |
Double_t TParticle::Y | ( | ) | const [inline] |
Double_t TParticle::Phi | ( | ) | const [inline] |
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] |
void TParticle::SetLastMother | ( | int | code | ) | [inline] |
void TParticle::SetFirstDaughter | ( | int | code | ) | [inline] |
void TParticle::SetDaughter | ( | int | i, | |
int | code | |||
) | [inline] |
void TParticle::SetLastDaughter | ( | int | code | ) | [inline] |
void TParticle::SetCalcMass | ( | Double_t | mass | ) | [inline] |
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().
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] |
void TParticle::SetStatusCode | ( | int | status | ) | [inline] |
void TParticle::SetWeight | ( | Float_t | weight = 1 |
) | [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 158 of file TParticle.h.
References fVt, fVx, fVy, and fVz.
Referenced by SetProductionVertex().
void TParticle::SetProductionVertex | ( | const TLorentzVector & | v | ) | [inline] |
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] |
void TParticle::Sizeof3D | ( | ) | const [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.
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().
Int_t TParticle::GetStatusCode | ( | ) | const [inline] |
Int_t TParticle::GetPdgCode | ( | ) | const [inline] |
Int_t TParticle::GetFirstMother | ( | ) | const [inline] |
Int_t TParticle::GetSecondMother | ( | ) | const [inline] |
Bool_t TParticle::IsPrimary | ( | ) | const [inline] |
Int_t TParticle::GetFirstDaughter | ( | ) | const [inline] |
Int_t TParticle::GetLastDaughter | ( | ) | const [inline] |
Double_t TParticle::GetCalcMass | ( | ) | const [inline] |
Double_t TParticle::GetMass | ( | ) |
Int_t TParticle::GetNDaughters | ( | ) | const [inline] |
Float_t TParticle::GetWeight | ( | ) | const [inline] |
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] |
void TParticle::ProductionVertex | ( | TLorentzVector & | v | ) | const [inline] |
Double_t TParticle::Vx | ( | ) | const [inline] |
Double_t TParticle::Vy | ( | ) | const [inline] |
Double_t TParticle::Vz | ( | ) | const [inline] |
Double_t TParticle::T | ( | ) | const [inline] |
Double_t TParticle::R | ( | ) | const [inline] |
Double_t TParticle::Rho | ( | ) | const [inline] |
Double_t TParticle::Px | ( | ) | const [inline] |
Double_t TParticle::Py | ( | ) | const [inline] |
Double_t TParticle::Pz | ( | ) | const [inline] |
Double_t TParticle::P | ( | ) | const [inline] |
Double_t TParticle::Pt | ( | ) | const [inline] |
Double_t TParticle::Energy | ( | ) | const [inline] |
Double_t TParticle::Eta | ( | ) | const [inline] |
Double_t TParticle::Y | ( | ) | const [inline] |
Double_t TParticle::Phi | ( | ) | const [inline] |
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] |
void TParticle::SetMother | ( | int | i, | |
int | code | |||
) | [inline] |
void TParticle::SetLastMother | ( | int | code | ) | [inline] |
void TParticle::SetFirstDaughter | ( | int | code | ) | [inline] |
void TParticle::SetDaughter | ( | int | i, | |
int | code | |||
) | [inline] |
void TParticle::SetLastDaughter | ( | int | code | ) | [inline] |
void TParticle::SetCalcMass | ( | Double_t | mass | ) | [inline] |
void TParticle::SetPdgCode | ( | Int_t | pdg | ) |
void TParticle::SetPolarisation | ( | const TVector3 & | v | ) | [inline] |
void TParticle::SetStatusCode | ( | int | status | ) | [inline] |
void TParticle::SetWeight | ( | Float_t | weight = 1 |
) | [inline] |
void TParticle::SetMomentum | ( | const TLorentzVector & | p | ) | [inline] |
void TParticle::SetProductionVertex | ( | const TLorentzVector & | v | ) | [inline] |
virtual void TParticle::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TObject.
virtual void TParticle::Sizeof3D | ( | ) | const [virtual] |
Reimplemented from TAtt3D.
Reimplemented from TObject.
Reimplemented from TObject.
virtual const char* TParticle::GetName | ( | ) | const [virtual] |
Reimplemented from TObject.
virtual const char* TParticle::GetTitle | ( | ) | const [virtual] |
Reimplemented from TObject.
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] |
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] |
TParticlePDG* TParticle::fParticlePDG [protected] |
Definition at line 60 of file TParticle.h.