Add treatment of newly introduced JTAG answer words in SDD raw data decoding (F.Prino)
[u/mrichter/AliRoot.git] / TRD / AliTRDCalibraVdriftLinearFit.h
CommitLineData
3a0f6479 1#ifndef ALITRDCALIBRAVDRIFTLINEARFIT_H
2#define ALITRDCALIBRAVDRIFTLINEARFIT_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
8
9///////////////////////////////////////////////////////////////////////////////
10// //
11// TRD calibration class for online calibration //
12// //
13///////////////////////////////////////////////////////////////////////////////
14
d0569428 15#include "TObjArray.h"
16
3a0f6479 17class TObjArray;
18class TH2F;
19class TTreeSRedirector;
20
21class AliTRDCalibraVdriftLinearFit : public TObject {
22
0bc7827a 23 public:
3a0f6479 24
25 AliTRDCalibraVdriftLinearFit();
26 AliTRDCalibraVdriftLinearFit(const AliTRDCalibraVdriftLinearFit &ped);
d0569428 27 AliTRDCalibraVdriftLinearFit(const TObjArray &obja);
3a0f6479 28 virtual ~AliTRDCalibraVdriftLinearFit();
64942b85 29 virtual Long64_t Merge(TCollection* list);
30 virtual void Copy(TObject &c) const;
3a0f6479 31
32 AliTRDCalibraVdriftLinearFit& operator = (const AliTRDCalibraVdriftLinearFit &source);
33
34 void Update(Int_t detector, Float_t tnp, Float_t pars1);
35 void FillPEArray();
36 void Add(AliTRDCalibraVdriftLinearFit *ped);
0bc7827a 37 TH2F *GetLinearFitterHisto(Int_t detector, Bool_t force=kFALSE);
3a0f6479 38 Bool_t GetParam(Int_t detector, TVectorD *param);
39 Bool_t GetError(Int_t detector, TVectorD *error);
40
0bc7827a 41 TObjArray *GetPArray() { return &fLinearFitterPArray; };
42 TObjArray *GetEArray() { return &fLinearFitterEArray; };
43 TObjArray GetHistoArray() const { return fLinearFitterHistoArray; };
3a0f6479 44
0bc7827a 45 private:
3a0f6479 46
47 Int_t fVersion; // Version of the object
48
49 TObjArray fLinearFitterHistoArray; // TObjArray of histo2D for debugging Linear Fitters
50 TObjArray fLinearFitterPArray; // Array of result parameters from linear fitters for the detectors
51 TObjArray fLinearFitterEArray; // Array of result errors from linear fitters for the detectors
52
3a0f6479 53 ClassDef(AliTRDCalibraVdriftLinearFit,1) // Online Vdrift calibration
54
55};
56
57
58
59#endif
60