19#include "TLorentzVector.h"
53 void Print(Int_t iTrack = 0)
const;
58 Double_t
GetPx()
const {
return fPx; }
59 Double_t
GetPy()
const {
return fPy; }
60 Double_t
GetPz()
const {
return fPz; }
67 Double_t
GetPt()
const {
return TMath::Sqrt(fPx * fPx + fPy * fPy); }
68 Double_t
GetP()
const {
return TMath::Sqrt(fPx * fPx + fPy * fPy + fPz * fPz); }
77 Double_t
GetPolar(Int_t indx) {
return fPolar[indx]; }
82 void SetPolar(Int_t indx, Double_t polar) { fPolar[indx] = polar; }
92 Double32_t fPx, fPy, fPz;
95 Double32_t fStartX, fStartY, fStartZ, fStartT;
126 Double32_t fPolar[3];
136 return TMath::Sqrt(mass * mass + fPx * fPx + fPy * fPy + fPz * fPz);
141 momentum.SetXYZ(fPx, fPy, fPz);
146 momentum.SetXYZT(fPx, fPy, fPz,
GetEnergy());
151 vertex.SetXYZ(fStartX, fStartY, fStartZ);
CbmMCTrack(const CbmMCTrack &track)
Double_t GetEnergy() const
Long64_t GetNPoints(DetectorId detId) const
CbmMCTrack(Int_t pdgCode, Int_t motherID, Double_t px, Double_t py, Double_t pz, Double_t x, Double_t y, Double_t z, Double_t t, Long64_t nPoints)
Double_t GetRapidity() const
Double_t GetStartZ() const
Double_t GetStartY() const
void GetMomentum(TVector3 &momentum) const
Int_t GetMotherId() const
void SetNPoints(Int_t iDet, Long64_t np)
void SetMotherId(Int_t id)
void SetPolar(Int_t indx, Double_t polar)
Double_t GetPolar(Int_t indx)
Double_t GetStartX() const
Double_t GetStartT() const
CbmMCTrack(TParticle *particle)
void Get4Momentum(TLorentzVector &momentum) const
void GetStartVertex(TVector3 &vertex) const
void Print(Int_t iTrack=0) const
Defines unique identifiers (enum) for all BM@N detector systems.