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 inline void GetFitDerivation2(Double_t &y, Double_t &z);
21 void UpdateParameters(Int_t ny, Int_t nz);
22 void UpdateParameters();
23 Int_t GetN(){return fNPoints;}
24 void GetBoundaries(Double_t &xmin, Double_t &xmax){xmin = fMinX;xmax=fMaxX;}
25 void Refit(AliTPCpolyTrack & track, Double_t deltay, Double_t deltaz);
26 void Refit(AliTPCpolyTrack & track, Double_t deltay, Double_t deltaz, Int_t nfirst, Int_t ny, Int_t nz);
28 void Fit2(Double_t fSumY, Double_t fSumYX, Double_t fSumYX2,
29 Double_t fSumX, Double_t fSumX2, Double_t fSumX3,
30 Double_t fSumX4, Double_t fSumW, Double_t &a, Double_t &b, Double_t &c);
31 void Fit1(Double_t fSumY, Double_t fSumYX,
32 Double_t fSumX, Double_t fSumX2,
33 Double_t fSumW, Double_t &a, Double_t &b, Double_t &c);
44 Double_t fSumW; // sum of the weight
65 ClassDef(AliTPCpolyTrack,1) // Time Projection "polynomial track"
68 void AliTPCpolyTrack::GetFitPoint(Double_t x, Double_t &y, Double_t &z)
75 void AliTPCpolyTrack::GetFitDerivation(Double_t x, Double_t &y, Double_t &z)
83 void AliTPCpolyTrack::GetFitDerivation2(Double_t &y, Double_t &z)