X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TRD%2FAliTRDCalibraVdriftLinearFit.h;h=ea053d9d387936c7b8c4913157d7aef96da8d063;hb=048f4f8fbef9b466319a81f3e45b5f94defb557d;hp=c621ac53688c57f06aefb3a3d5c0743f0358ce7a;hpb=532be2d489fe24d4eae739a099e7947365b38a81;p=u%2Fmrichter%2FAliRoot.git diff --git a/TRD/AliTRDCalibraVdriftLinearFit.h b/TRD/AliTRDCalibraVdriftLinearFit.h index c621ac53688..ea053d9d387 100644 --- a/TRD/AliTRDCalibraVdriftLinearFit.h +++ b/TRD/AliTRDCalibraVdriftLinearFit.h @@ -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 };