cluster information
[u/mrichter/AliRoot.git] / PMD / AliPMDcluster.h
1 #ifndef PMDcluster_H
2 #define PMDcluster_H
3 //-----------------------------------------------------//
4 //                                                     //
5 //  Date   : August 05 2003                            //
6 //                                                     //
7 //  Store cluster informations for PMD                 //
8 //                                                     //
9 //-----------------------------------------------------//
10
11 #include "Riostream.h"
12 #include "Rtypes.h"
13 #include "TObject.h"
14 #include "TClonesArray.h"
15
16 class AliPMDcluster : public TObject
17 {
18   
19  protected:
20
21   Float_t fClusData[5];
22   /*
23     fClusData[0] : Cluster x      ,  fClusData[1] : Cluster y
24     fClusData[2] : Cluster adc    ,  fClusData[3] : Cluster Cells
25     fClusData[4] : Cluster radius
26   */
27
28  public:
29   AliPMDcluster();
30   AliPMDcluster(Float_t * /* clusdata */);
31   AliPMDcluster(AliPMDcluster *pmdcluster) {*this = *pmdcluster;}
32   
33   virtual ~AliPMDcluster();
34
35   Float_t GetClusX() const;
36   Float_t GetClusY() const;
37   Float_t GetClusADC() const;
38   Float_t GetClusCells() const;
39   Float_t GetClusRadius() const;
40   
41   ClassDef(AliPMDcluster,1)
42 };
43
44 #endif