Go to the documentation of this file.
10 #ifndef CBMKFPARTICLE_H
11 #define CBMKFPARTICLE_H
62 void Construct(std::vector<CbmKFTrackInterface*>& vDaughters,
65 Double_t CutChi2 = -1);
70 Double_t CutChi2 = -1);
82 Double_t
GetX()
const {
return r[0]; }
83 Double_t
GetY()
const {
return r[1]; }
84 Double_t
GetZ()
const {
return r[2]; }
85 Double_t
GetPx()
const {
return r[3]; }
86 Double_t
GetPy()
const {
return r[4]; }
87 Double_t
GetPz()
const {
return r[5]; }
88 Double_t
GetE()
const {
return r[6]; }
89 Double_t
GetS()
const {
return r[7]; }
90 Double_t
GetQ()
const {
return Q; }
107 Double_t&
rX() {
return r[0]; }
108 Double_t&
rY() {
return r[1]; }
109 Double_t&
rZ() {
return r[2]; }
110 Double_t&
rPx() {
return r[3]; }
111 Double_t&
rPy() {
return r[4]; }
112 Double_t&
rPz() {
return r[5]; }
113 Double_t&
rE() {
return r[6]; }
114 Double_t&
rS() {
return r[7]; }
115 Double_t&
rQ() {
return Q; }
128 void GetMass(Double_t& M, Double_t& Error);
133 Double_t
GetPt()
const;
145 Double_t&
Cij(Int_t
i, Int_t j) {
146 return C[(j <=
i) ?
i * (
i + 1) / 2 + j : j * (j + 1) / 2 +
i];
148 static Int_t
IJ(Int_t
i, Int_t j) {
149 return (j <=
i) ?
i * (
i + 1) / 2 + j : j * (j + 1) / 2 +
i;
154 void Convert(Double_t r0[],
bool ToProduction);
void GetLifeTime(Double_t &T, Double_t &Error)
void GetDecayLength(Double_t &L, Double_t &Error)
void GetKFTrack(CbmKFTrackInterface *Track)
Double_t * GetCovMatrix()
void Convert(Double_t r0[], bool ToProduction)
void Extrapolate(Double_t r0[], double T)
const std::vector< int > & DaughterIds() const
void TransportToDecayVertex()
void MeasureProductionVertex(Double_t r0[], CbmKFVertexInterface *Parent)
void Construct(std::vector< CbmKFTrackInterface * > &vDaughters, CbmKFVertexInterface *Parent=0, Double_t Mass=-1, Double_t CutChi2=-1)
static Int_t IJ(Int_t i, Int_t j)
void ConstructFromKFParticle(std::vector< CbmKFParticle * > &vDaughters, CbmKFVertexInterface *Parent=0, Double_t Mass=-1, Double_t CutChi2=-1)
Double_t & rParameter(Int_t i)
void GetKFVertex(CbmKFVertexInterface &vtx)
void GetMass(Double_t &M, Double_t &Error)
Double_t GetCovariance(Int_t i, Int_t j) const
ClassDef(CbmKFParticle, 1)
Double_t GetDStoPoint(const Double_t xyz[]) const
Double_t * GetParameters()
void TransportToProductionVertex()
Double_t & rCovariance(Int_t i)
void ExtrapolateLine(Double_t r0[], double T)
Double_t & Cij(Int_t i, Int_t j)
Bool_t AtProductionVertex
Bool_t GetAtProductionVertex() const
Double_t GetCovariance(Int_t i) const
void SetNDaughters(int n)
Double_t GetRapidity() const
void GetMomentum(Double_t &P, Double_t &Error)
std::vector< int > fDaughtersIds
Double_t & rCovariance(Int_t i, Int_t j)
void MeasureMass(Double_t r0[], Double_t Mass)
Double_t GetTheta() const
Double_t GetParameter(Int_t i) const
CbmKFParticle(CbmKFTrackInterface *Track, Double_t *z0=0, Int_t *qHypo=0, Int_t *pdg=0)