Removing not needed include (AliMpDEManager.h)
[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
23public:
24
25 AliTRDCalibraVdriftLinearFit();
26 AliTRDCalibraVdriftLinearFit(const AliTRDCalibraVdriftLinearFit &ped);
d0569428 27 AliTRDCalibraVdriftLinearFit(const TObjArray &obja);
3a0f6479 28 virtual ~AliTRDCalibraVdriftLinearFit();
29
30 AliTRDCalibraVdriftLinearFit& operator = (const AliTRDCalibraVdriftLinearFit &source);
31
32 void Update(Int_t detector, Float_t tnp, Float_t pars1);
33 void FillPEArray();
34 void Add(AliTRDCalibraVdriftLinearFit *ped);
35 TH2F *GetLinearFitterHisto(Int_t detector, Bool_t force=kFALSE);
36 Bool_t GetParam(Int_t detector, TVectorD *param);
37 Bool_t GetError(Int_t detector, TVectorD *error);
38
39 TObjArray *GetPArray() { return &fLinearFitterPArray; };
40 TObjArray *GetEArray() { return &fLinearFitterEArray; };
d0569428 41 TObjArray GetHistoArray() { return fLinearFitterHistoArray; };
3a0f6479 42
43private:
44
45 Int_t fVersion; // Version of the object
46
47 TObjArray fLinearFitterHistoArray; // TObjArray of histo2D for debugging Linear Fitters
48 TObjArray fLinearFitterPArray; // Array of result parameters from linear fitters for the detectors
49 TObjArray fLinearFitterEArray; // Array of result errors from linear fitters for the detectors
50
51public:
52
53 ClassDef(AliTRDCalibraVdriftLinearFit,1) // Online Vdrift calibration
54
55};
56
57
58
59#endif
60