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; };
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
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
};