Replace AliTRDCalibra
[u/mrichter/AliRoot.git] / TRD / AliTRDclusterMI.h
1 #ifndef ALITRDCLUSTERMI_H
2 #define ALITRDCLUSTERMI_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 cluster, alternative version                                         //
11 //                                                                           //
12 ///////////////////////////////////////////////////////////////////////////////
13
14 #include "AliTRDcluster.h"  
15 #include "TMath.h"  
16
17 class AliTRDrecPoint;
18
19 class AliTRDclusterMI : public AliTRDcluster {
20
21  public:
22
23   AliTRDclusterMI();
24   AliTRDclusterMI(const AliTRDcluster &c);
25   AliTRDclusterMI(const AliTRDrecPoint &p);
26
27           void     SetRmsY(Float_t rmsy)          { fRmsY   = rmsy;                   }
28           void     SetNPads(Int_t npads)          { fNPads  = npads;                  }
29           void     SetRelPos(Float_t pos)         { fRelPos = TMath::Nint(pos*128.0); }
30
31           Float_t  GetRmsY() const                { return fRmsY;                     }
32           Char_t   GetNPads() const               { return fNPads;                    }
33           Float_t  GetRelPos() const              { return float(fRelPos)/128.0;      }
34
35  protected:
36
37           Float_t  fRmsY;                         // RMS in y direction ????
38           Char_t   fNPads;                        // Number of pads ????
39           Char_t   fRelPos;                       // Relative position ????
40
41   ClassDef(AliTRDclusterMI,2)                     // ClusterMI for the TRD
42  
43 };
44
45 #endif