]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDparameter.h
Update of calibration classes by Jan Fiete
[u/mrichter/AliRoot.git] / TRD / AliTRDparameter.h
1 #ifndef ALITRDPARAMETER_H
2 #define ALITRDPARAMETER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 ///////////////////////////////////////////////////////////////////////////////
9 //                                                                           //
10 //  TRD parameter class                                                      //
11 //                                                                           //
12 ///////////////////////////////////////////////////////////////////////////////
13
14 // WARNING: This class is obsolete. As soon as all function calls are replaced, the class will be removed.
15
16 #include "TNamed.h"
17
18 class TObjArray;
19 class AliTRDgeometry;
20 class AliTRDpadPlane;
21
22 class AliTRDparameter : public TNamed {
23
24  public:
25
26   enum { kNplan = 6, kNcham = 5, kNsect = 18, kNdet = 540 };
27  
28   AliTRDparameter();
29   AliTRDparameter(const Text_t* name, const Text_t* title);
30   AliTRDparameter(const AliTRDparameter &p);   
31   virtual ~AliTRDparameter();
32   AliTRDparameter &operator=(const AliTRDparameter &p); 
33
34   virtual void     Copy(TObject &p) const;
35   virtual void     Init();
36   virtual void     ReInit();
37  
38   virtual void     SetExpandTimeBin(Int_t nbefore, Int_t nafter)
39                                                                   { fTimeBefore = nbefore;
40                                                                     fTimeAfter  = nafter;       };
41
42
43
44           Int_t    GetTimeMax()                             const { return fTimeMax; };
45           Int_t    GetTimeBefore()                          const { return fTimeBefore;        }; 
46
47           Float_t  GetDriftVelocity()                       const { return fDriftVelocity;     };
48
49   
50
51
52           void     PrintDriftVelocity();
53
54
55  protected:
56
57   Int_t                fTimeMax;
58   Int_t                fTimeBefore;                         //  Number of timebins before the drift region
59   Int_t                fTimeAfter;                          //  Number of timebins after the drift region
60
61
62   Float_t              fDriftVelocity;                      //  Drift velocity (cm / mus)
63
64
65
66  private:
67
68
69   ClassDef(AliTRDparameter,7)                               //  TRD parameter class
70
71 };
72
73 #endif