119 if (
v > 1)
v = 1;
else if (
v < -1)
v = -1;
178 virtual const char *
GetName()
const;
179 virtual const char *
GetTitle()
const;
#define ClassDef(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.
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to a primary track.
Double_t GetMass() const
Return nominal particle mass from PDG table.
TParticlePDG * fParticlePDG
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)
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
void SetMomentum(Double_t px, Double_t py, Double_t pz, Double_t e)
void SetPolarisation(Double_t theta, Double_t phi)
Float_t GetWeight() const
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.
void SetProductionVertex(const TLorentzVector &v)
Int_t Charm() const
Return charm quantum number.
virtual ~TParticle()
destructor
virtual void Print(Option_t *option="") const
Print the internals of the primary vertex particle.
Int_t GetFirstMother() const
virtual void Sizeof3D() const
Return total X3D size of this primary.
void SetCalcMass(Double_t mass)
TParticle()
reference to the particle record in PDG database
virtual const char * GetName() const
Return particle name.
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)
Int_t GetDaughter(Int_t i) const
Double_t GetPolarTheta() const
void SetWeight(Float_t weight=1)
virtual void Paint(Option_t *option="")
Paint a primary track.
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
Int_t GetLastDaughter() const
virtual const char * GetTitle() const
Return particle title.
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.