1 #ifndef ALITPCPOLYTRACK_H
2 #define ALITPCPOLYTRACK_H
4 //-------------------------------------------------------
7 // Origin: Marian Ivanov
8 //-------------------------------------------------------
12 //_____________________________________________________________________________
13 class AliTPCpolyTrack : public TObject {
17 void AddPoint(Double_t x, Double_t y, Double_t z, Double_t sy=1, Double_t sz=1);
18 inline void GetFitPoint(Double_t x, Double_t &y, Double_t &z);
19 inline void GetFitDerivation(Double_t x, Double_t &y, Double_t &z);
20 void UpdateParameters();
21 Int_t GetN(){return fNPoints;}
22 void GetBoundaries(Double_t &xmin, Double_t &xmax){xmin = fMinX;xmax=fMaxX;}
23 void Refit(AliTPCpolyTrack & track, Double_t deltay, Double_t deltaz);
25 void Fit2(Double_t fSumY, Double_t fSumYX, Double_t fSumYX2,
26 Double_t fSumX, Double_t fSumX2, Double_t fSumX3,
27 Double_t fSumX4, Double_t fSumW, Double_t &a, Double_t &b, Double_t &c);
28 void Fit1(Double_t fSumY, Double_t fSumYX,
29 Double_t fSumX, Double_t fSumX2,
30 Double_t fSumW, Double_t &a, Double_t &b, Double_t &c);
41 Double_t fSumW; // sum of the weight
62 ClassDef(AliTPCpolyTrack,1) // Time Projection "polynomial track"
65 void AliTPCpolyTrack::GetFitPoint(Double_t x, Double_t &y, Double_t &z)
72 void AliTPCpolyTrack::GetFitDerivation(Double_t x, Double_t &y, Double_t &z)