Go to the documentation of this file.
6 #include "FairTrackParam.h"
8 #include "TDatabasePDG.h"
10 #include "TParticlePDG.h"
15 : fMass(0), fChi2(0), fIsElectron(kFALSE), fNDF(0), fHits() {
16 for (Int_t
i = 0;
i < 6;
i++)
18 for (Int_t
i = 0;
i < 15;
i++)
24 for (Int_t
i = 0;
i < 6;
i++)
26 for (Int_t
i = 0;
i < 15;
i++)
59 TParticlePDG* particlePDG = TDatabasePDG::Instance()->GetParticle(pidHypo);
60 fMass = (particlePDG) ? particlePDG->Mass() : 0.13957;
Double_t GetChiSq() const
const FairTrackParam * GetParamLast() const
virtual Bool_t IsElectron()
Mass hypothesis.
virtual Double_t * GetTrack()
Is it electron.
void SetPID(Int_t pidHypo)
void GetTrackParam(FairTrackParam &track)
static void CopyTrackParam2TC(const FairTrackParam *par, Double_t T[], Double_t C[])
virtual Double_t GetMass()
void SetParamLast(const FairTrackParam *par)
ClassImp(CbmKFTrack) CbmKFTrack
void SetTrack(CbmKFTrackInterface &track)
Double_t & GetRefChi2()
array[15] of covariance matrix
void SetStsTrack(CbmStsTrack &track, bool first=1)
Data class for STS tracks.
Int_t & GetRefNDF()
Chi^2 after fit.
void SetChiSq(Double_t chiSq)
virtual Int_t & GetRefNDF()
Chi^2 after fit.
const FairTrackParam * GetParamFirst() const
virtual Double_t * GetCovMatrix()
array[6] of track parameters(x,y,tx,ty,qp,z)
void GetStsTrack(CbmStsTrack &track, bool first=1)
static void CopyTC2TrackParam(FairTrackParam *par, Double_t T[], Double_t C[])
void SetParamFirst(const FairTrackParam *par)
void SetTrackParam(const FairTrackParam &track)
virtual Double_t & GetRefChi2()
array[15] of covariance matrix