16 #ifndef ROOT_TParticle
17 #define ROOT_TParticle
28 #ifndef ROOT_TLorentzVector
142 void SetMother (
int i,
int code) { fMother[i] = code ; }
165 virtual const char *
GetName()
const;
166 virtual const char *
GetTitle()
const;
void SetPolarisation(const TVector3 &v)
void SetPxPyPzE(Double_t px, Double_t py, Double_t pz, Double_t e)
Int_t Beauty() const
Return beauty quantum number.
void ProductionVertex(TLorentzVector &v) const
void SetDaughter(int i, int code)
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
*-*-*-*-*-*-*-*Compute distance from point px,py to a primary track*-*-*-* *-* ======================...
void SetProductionVertex(Double_t vx, Double_t vy, Double_t vz, Double_t t)
Double_t GetMass() const
Return nominal particle mass from PDG table.
void SetStatusCode(int status)
Use this attribute class when an object should have 3D capabilities.
virtual ~TParticle()
destructor
virtual const char * GetTitle() const
return particle title
void SetMother(int i, int code)
void SetWeight(Float_t weight=1)
Int_t GetFirstMother() const
void Momentum(TLorentzVector &v) const
void SetPolarisation(Double_t polx, Double_t poly, Double_t polz)
set particle polarisation
Double_t ATan2(Double_t, Double_t)
Int_t GetFirstDaughter() const
TParticle & operator=(const TParticle &)
Equal operator.
void SetXYZT(Double_t x, Double_t y, Double_t z, Double_t t)
TParticlePDG * GetPDG(Int_t mode=0) const
returns a pointer to the TParticlePDG object using the pdgcode if mode == 0 (default) always get a fr...
Int_t GetStatusCode() const
void SetCalcMass(Double_t mass)
Int_t GetNDaughters() const
void SetMomentum(const TLorentzVector &p)
void SetLastMother(int code)
virtual void Print(Option_t *option="") const
Print the internals of the primary vertex particle.
void SetLastDaughter(int code)
TParticle()
reference to the particle record in PDG database
Int_t GetMother(Int_t i) const
Int_t GetSecondMother() const
virtual const char * GetName() const
return particle name
Int_t GetDaughter(Int_t i) const
Int_t Strangeness() const
Return strangeness quantum number.
void SetMomentum(Double_t px, Double_t py, Double_t pz, Double_t e)
virtual void Paint(Option_t *option="")
Paint a primary track.
Float_t GetWeight() const
Mother of all ROOT objects.
void SetFirstMother(int code)
void SetPdgCode(Int_t pdg)
change the PDG code for this particle Get a new pointer to a TParticlePDG from TDatabasePDG Recompute...
TParticlePDG * fParticlePDG
void SetProductionVertex(const TLorentzVector &v)
void GetPolarisation(TVector3 &v) const
return particle polarisation
void SetFirstDaughter(int code)
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
*-*-*-*-*-*-*-*-*-*-*Execute action corresponding to one event*-*-*-* *-* ===========================...
Int_t Charm() const
Return charm quantum number.
Double_t GetCalcMass() const
Double_t Sqrt(Double_t x)
virtual void Sizeof3D() const
*-*-*-*-*-*Return total X3D size of this primary*-*-*-*-*-*-* *-* ===================================...
Int_t GetLastDaughter() const