]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDCalibraVdriftLinearFit.h
update comments, add some possible TODOs
[u/mrichter/AliRoot.git] / TRD / AliTRDCalibraVdriftLinearFit.h
index c621ac53688c57f06aefb3a3d5c0743f0358ce7a..ea053d9d387936c7b8c4913157d7aef96da8d063 100644 (file)
@@ -50,6 +50,8 @@ class AliTRDCalibraVdriftLinearFit : public TObject {
   Bool_t          GetParam(Int_t detector, TVectorD *param);
   Bool_t          GetError(Int_t detector, TVectorD *error);
   Int_t           GetMinNumberOfPointsForFit() const         { return fMinNpointsFit;};
+  TH2S           *AddAll();
+  TGraphErrors   *DrawMS(const TH2 *const h2, Int_t &nEntries);
 
   TObjArray      *GetPArray()                    { return &fLinearFitterPArray;       };
   TObjArray      *GetEArray()                    { return &fLinearFitterEArray;       };
@@ -57,12 +59,17 @@ class AliTRDCalibraVdriftLinearFit : public TObject {
   void            SetRobustFit(Bool_t robustFit) { fRobustFit = robustFit;            };
   void            SetMinNumberOfPointsForFit(Int_t minNpointsFit) { fMinNpointsFit = minNpointsFit;};
 
+  void            SetNbBindx(Short_t nbBindx)    { fNbBindx = nbBindx;                };
+  void            SetNbBindy(Short_t nbBindy)    { fNbBindy = nbBindy;                }
+  void            SetRangedx(Double_t rangedx)   { fRangedx = rangedx;                };
+  void            SetRangedy(Double_t rangedy)   { fRangedy = rangedy;                };
+
   // Debug
   void     SetDebugLevel(Short_t level)          { fDebugLevel = level;               };
   void     SetSeeDetector(Int_t seeDetector)     { fSeeDetector = seeDetector;        };
 
 private:
-  TGraphErrors   *DrawMS(const TH2 *const h2, Int_t &nEntries);
+  
 
   Int_t           fVersion;                 // Version of the object
   TString         fNameCalibUsed;           // Info of the version, subversion, firstrun of the calib used
@@ -73,12 +80,18 @@ private:
   Bool_t          fRobustFit;               // Robust fit or not
   Int_t           fMinNpointsFit;           // Min number of points for the fit  
 
+  Short_t         fNbBindx;                 // Nb of bin in x
+  Short_t         fNbBindy;                 // Nb of bin in y
+  Double_t        fRangedx;                 // Range in x
+  Double_t        fRangedy;                 // Range in y
+  
+
  //For debugging
   TTreeSRedirector *fDebugStreamer;         //!Debug streamer
   Short_t           fDebugLevel;            // Flag for debugging
   Int_t             fSeeDetector;           // Detector to see
  
-  ClassDef(AliTRDCalibraVdriftLinearFit,4)  // Online Vdrift calibration
+  ClassDef(AliTRDCalibraVdriftLinearFit,5)  // Online Vdrift calibration
 
 };