119 if (
v > 1)
v = 1;
else if (
v < -1)
v = -1;
178 const char *
GetName()
const override;
179 const char *
GetTitle()
const override;
#define ClassDefOverride(name, id)
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char mode
Use this attribute class when an object should have 3D capabilities.
Mother of all ROOT objects.
Description of the static properties of a particle.
Description of the dynamic properties of a particle.
Double_t GetMass() const
Return nominal particle mass from PDG table.
TParticlePDG * fParticlePDG
const char * GetTitle() const override
Return particle title.
Int_t GetNDaughters() const
Int_t GetStatusCode() const
void GetPolarisation(TVector3 &v) const
Return particle polarisation.
void SetMother(int i, int code)
TParticle & operator=(const TParticle &)
Equal operator.
void ProductionVertex(TLorentzVector &v) const
void SetPolarPhi(Double_t phi)
void SetMomentum(Double_t px, Double_t py, Double_t pz, Double_t e)
~TParticle() override
destructor
void SetPolarisation(Double_t theta, Double_t phi)
Float_t GetWeight() const
void Paint(Option_t *option="") override
Paint a primary track.
void SetDaughter(int i, int code)
Double_t GetCalcMass() const
Int_t GetFirstDaughter() const
void SetLastDaughter(int code)
Int_t Beauty() const
Return beauty quantum number.
TParticlePDG * GetPDG(Int_t mode=0) const
Returns a pointer to the TParticlePDG object using the pdgcode.
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Compute distance from point px,py to a primary track.
void SetProductionVertex(const TLorentzVector &v)
Int_t Charm() const
Return charm quantum number.
const char * GetName() const override
Return particle name.
Int_t GetFirstMother() const
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to one event.
void SetCalcMass(Double_t mass)
TParticle()
reference to the particle record in PDG database
void SetFirstDaughter(int code)
void SetStatusCode(int status)
void SetPdgCode(Int_t pdg)
Change the PDG code for this particle.
void SetMomentum(const TLorentzVector &p)
void Sizeof3D() const override
Return total X3D size of this primary.
Int_t GetDaughter(Int_t i) const
Double_t GetPolarTheta() const
void SetWeight(Float_t weight=1)
void SetPolarTheta(Double_t theta)
void SetLastMother(int code)
void GetPolarisation(Double_t &theta, Double_t &phi) const
Double_t Theta(const TParticle &p)
void SetPolarisation(const TVector3 &v)
void SetFirstMother(int code)
Int_t GetMother(Int_t i) const
void SetProductionVertex(Double_t vx, Double_t vy, Double_t vz, Double_t t)
Int_t Strangeness() const
Return strangeness quantum number.
Double_t GetPolarPhi() const
void Momentum(TLorentzVector &v) const
void Print(Option_t *option="") const override
Print the internals of the primary vertex particle.
Int_t GetLastDaughter() const
Int_t GetSecondMother() const
Double_t ACos(Double_t)
Returns the principal value of the arc cosine of x, expressed in radians.
constexpr Double_t PiOver2()
Double_t ATan2(Double_t y, Double_t x)
Returns the principal value of the arc tangent of y/x, expressed in radians.
Double_t Log(Double_t x)
Returns the natural logarithm of x.
Double_t Sqrt(Double_t x)
Returns the square root of x.
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.