]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCCalDet.h
Calibration classes (prototypes)
[u/mrichter/AliRoot.git] / TPC / AliTPCCalDet.h
1 #ifndef ALITPCCALDET_H
2 #define ALITPCCALDET_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6
7 ///////////////////////////////////////////////////////////////////////////////
8 //                                                                           //
9 //  TPC calibration class for parameters which are saved per detector        //
10 //                                                                           //
11 ///////////////////////////////////////////////////////////////////////////////
12
13 #include "TNamed.h"
14
15 class AliTPCCalDet : public TNamed {
16
17  public:
18  
19   enum { kNdet = 72 };
20   AliTPCCalDet();
21   AliTPCCalDet(const Text_t* name, const Text_t* title);
22   AliTPCCalDet(const AliTPCCalDet &c);   
23   virtual ~AliTPCCalDet();
24   AliTPCCalDet &operator=(const AliTPCCalDet &c);
25
26   virtual void     Copy(TObject &c) const;
27   Float_t GetValue(Int_t d) { return fData[d]; };
28   void SetValue(Int_t d, Float_t value) { fData[d] = value; };
29   
30   protected:
31
32   Float_t  fData[kNdet];                          //[kNdet] Data
33
34   ClassDef(AliTPCCalDet,1)                      //  TPC calibration class for parameters which are saved per detector
35
36 };
37
38 #endif