TParticle
class description - source file - inheritance tree
public:
TParticle TParticle()
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, TLorentzVector& p, TLorentzVector& v)
TParticle TParticle(TParticle&)
virtual void ~TParticle()
Int_t Beauty()
Int_t Charm()
TClass* Class()
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Double_t Energy()
Double_t Eta()
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Double_t GetCalcMass()
Int_t GetDaughter(Int_t i)
Int_t GetFirstDaughter()
Int_t GetFirstMother()
Int_t GetLastDaughter()
Double_t GetMass()
Int_t GetMother(Int_t i)
virtual const Text_t* GetName()
Int_t GetNDaughters()
TParticlePDG* GetPDG()
Int_t GetPdgCode()
void GetPolarisation(TVector3& v)
Int_t GetSecondMother()
Int_t GetStatusCode()
virtual const Text_t* GetTitle()
Float_t GetWeight()
virtual Bool_t Is3D()
virtual TClass* IsA()
void Momentum(TLorentzVector& v)
Double_t P()
virtual void Paint(Option_t* option)
Double_t Phi()
virtual void Print(Option_t* option)
void ProductionVertex(TLorentzVector& v)
Double_t Pt()
Double_t Px()
Double_t Py()
Double_t Pz()
void SetCalcMass(Double_t mass)
void SetDaughter(int i, int code)
void SetFirstDaughter(int code)
void SetFirstMother(int code)
void SetLastDaughter(int code)
void SetLastMother(int code)
void SetMomentum(Double_t px, Double_t py, Double_t pz, Double_t e)
void SetMomentum(TLorentzVector& p)
void SetMother(int i, int code)
void SetPolarisation(Double_t polx, Double_t poly, Double_t polz)
void SetPolarisation(TVector3& v)
void SetProductionVertex(Double_t vx, Double_t vy, Double_t vz, Double_t t)
void SetProductionVertex(TLorentzVector& v)
void SetWeight(Float_t weight = 1)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Sizeof3D()
Int_t Strangeness()
virtual void Streamer(TBuffer& b)
Double_t T()
Double_t Theta()
Double_t Vx()
Double_t Vy()
Double_t Vz()
protected:
Int_t fPdgCode PDG code of the particle
Int_t fStatusCode generation status code
Int_t fMother[2] Indices of the mother particles
Int_t fDaughter[2] Indices of the daughter particles
Float_t fWeight particle weight
Double_t fCalcMass Calculated mass
Double_t fPx x component of momentum
Double_t fPy y component of momentum
Double_t fPz z component of momentum
Double_t fE Energy
Double_t fVx x of production vertex
Double_t fVy y of production vertex
Double_t fVz z of production vertex
Double_t fVt t of production vertex
Double_t fPolarTheta Polar angle of polarisation
Double_t fPolarPhi azymutal angle of polarisation
TParticlePDG* fParticlePDG ! 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):
fPdgCode(pdg), fStatusCode(status), fWeight(1.),fPx(px), fPy(py),
fPz(pz), fE(etot), fVx(vx), fVy(vy), fVz(vz), fVt(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) :
fPdgCode(pdg), fStatusCode(status), fWeight(1.),fPx(p.Px()), fPy(p.Py()),
fPz(p.Pz()), fE(p.E()), fVx(v.X()), fVy(v.Y()), fVz(v.Z()), fVt(v.T())
~TParticle()
Int_t DistancetoPrimitive(Int_t px, Int_t py)
*-*-*-*-*-*-*-*Compute distance from point px,py to a primary track*-*-*-*
*-* ====================================================
*-*
*-* Compute the closest distance of approach from point px,py to each segment
*-* of a track.
*-* The distance is computed in pixels units.
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
void ExecuteEvent(Int_t, Int_t, Int_t)
*-*-*-*-*-*-*-*-*-*-*Execute action corresponding to one event*-*-*-*
*-* =========================================
const Text_t* GetName() const
void GetPolarisation(TVector3 &v)
const Text_t* GetTitle() const
void Paint(Option_t *option)
Paint a primary track
void Print(Option_t *)
Print the internals of the primary vertex particle
void SetPolarisation(Double_t polx, Double_t poly, Double_t polz)
void Sizeof3D() const
*-*-*-*-*-*Return total X3D size of this primary*-*-*-*-*-*-*
*-* =====================================
void Streamer(TBuffer &R__b)
Stream an object of class TParticle.
Inline Functions
Int_t GetStatusCode()
Int_t GetPdgCode()
Int_t GetFirstMother()
Int_t GetMother(Int_t i)
Int_t GetSecondMother()
Int_t GetFirstDaughter()
Int_t GetDaughter(Int_t i)
Int_t GetLastDaughter()
Double_t GetCalcMass()
Double_t GetMass()
Int_t GetNDaughters()
Float_t GetWeight()
TParticlePDG* GetPDG()
Int_t Beauty()
Int_t Charm()
Int_t Strangeness()
void Momentum(TLorentzVector& v)
void ProductionVertex(TLorentzVector& v)
Double_t Vx()
Double_t Vy()
Double_t Vz()
Double_t T()
Double_t Px()
Double_t Py()
Double_t Pz()
Double_t P()
Double_t Pt()
Double_t Energy()
Double_t Eta()
Double_t Phi()
Double_t Theta()
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(TVector3& v)
void SetWeight(Float_t weight = 1)
void SetMomentum(Double_t px, Double_t py, Double_t pz, Double_t e)
void SetMomentum(TLorentzVector& p)
void SetProductionVertex(Double_t vx, Double_t vy, Double_t vz, Double_t t)
void SetProductionVertex(TLorentzVector& v)
Bool_t Is3D()
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
TParticle TParticle(TParticle&)
Author: Rene Brun , Federico Carminati 26/04/99
Last update: 2.22/08 07/07/99 18.51.24 by Rene Brun
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.