]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliRieman.h
M AliTPCcalibDButil.cxx - Protection agains missing Offset calibration...
[u/mrichter/AliRoot.git] / STEER / AliRieman.h
index d6f3afb1b43fead75ce17e1b225c9c9e6fbac71a..651ee82f2c23c6852ed0d029611ddfb063341bfb 100644 (file)
@@ -36,17 +36,22 @@ class AliRieman : public TObject{
   Double_t GetZat(Double_t x) const; 
   Double_t GetDYat(Double_t x) const;
   Double_t GetDZat(Double_t x) const;
+  Bool_t   GetXYZat(Double_t r, Double_t alpha, Float_t *xyz) const;
   //
+  Bool_t   IsValid(){ return fConv;}
   Double_t GetChi2Y() const { return fChi2Y;}
   Double_t GetChi2Z() const { return fChi2Z;}
   Double_t GetChi2() const  { return fChi2; }
-
   Double_t CalcChi2Y() const;  
   Double_t CalcChi2Z() const;
   Double_t CalcChi2() const;
   AliRieman * MakeResiduals() const;
+  Double_t    GetErrY(Double_t x) const; 
+  Double_t    GetErrZ(Double_t x) const;
+  Bool_t GetExternalParameters(Double_t xref, Double_t *params, Double_t * covar);
   //
  protected:
+  void          UpdateCovariancePol();  // update covariance for error estimates
   // public:
   Int_t         fCapacity;  // capacity
   Int_t         fN;         // numebr of points
@@ -57,8 +62,13 @@ class AliRieman : public TObject{
   Double_t      *fSz;        //[fN] sigma z coordinate
   Double_t      fParams[6]; //Parameters
   TMatrixDSym  *fCovar;     //Covariance
+  TMatrixDSym  *fCovarPolY; // covariance matrix for parabola fit in xy - used for error estimation
+  TMatrixDSym  *fCovarPolZ; // covariance matrix for parabola fit in xy - used for error estimation
   Double_t      fSumXY[9];  //sums for XY part
   Double_t      fSumXZ[9];  //sums for XZ part
+  Double_t      fSumPolY[5]; //sums of polynoms X with weight Z
+  Double_t      fSumPolZ[5]; //sums of polynoms X with weight Z
+  Double_t      fSumZZ;     //sums of Z2 
   Double_t      fChi2;      //sums of chi2
   Double_t      fChi2Y;     //sums of chi2 for y coord
   Double_t      fChi2Z;     //sums of chi2 foz z coord 
@@ -66,7 +76,7 @@ class AliRieman : public TObject{
  protected:  
  private:
   AliRieman& operator=(const AliRieman &rieman);
-  ClassDef(AliRieman,1)  // Fast fit of helices on ITS RecPoints
+  ClassDef(AliRieman,2)  // Fast fit of helices on ITS RecPoints
 };