]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDclusterMI.h
few changes by Thomas Kuhr
[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 #include "AliTRDcluster.h"  
10 #include "TMath.h"  
11
12 class AliTRDrecPoint;
13
14 class AliTRDclusterMI : public AliTRDcluster {
15
16  public:
17   AliTRDclusterMI();
18   AliTRDclusterMI(AliTRDcluster&cl);
19   AliTRDclusterMI(const AliTRDrecPoint &p);
20   void SetRelPos(Float_t pos){fRelPos = TMath::Nint(pos*128.);}
21   Float_t GetRelPos(){return float(fRelPos)/128.;}
22   void SetNPads(Int_t npads){fNPads = npads;}
23   Char_t GetNPads(){return fNPads;}
24   Float_t fRmsY;
25  protected:
26   Char_t fNPads;
27   Char_t fRelPos;                        
28   ClassDef(AliTRDclusterMI,1) // ClusterMI for the TRD
29  
30 };
31
32 #endif