cluster information
[u/mrichter/AliRoot.git] / PMD / AliPMDcluster.cxx
1 //-----------------------------------------------------//
2 //                                                     //
3 //  Date   : August 05 2003                            //
4 //                                                     //
5 //  Store cluster information                          //
6 //                                                     //
7 //-----------------------------------------------------//
8
9 #include "AliPMDcluster.h"
10 #include <stdio.h>
11
12 ClassImp(AliPMDcluster)
13
14 AliPMDcluster::AliPMDcluster()
15 {
16   for (Int_t i = 0; i < 5; i++)
17     {
18       fClusData[i] = 0.;
19     }
20 }
21 AliPMDcluster::AliPMDcluster(Float_t *clusdata)
22 {
23   for (Int_t i = 0; i < 5; i++)
24     {
25       fClusData[i] = clusdata[i];
26     }
27 }
28 AliPMDcluster::~AliPMDcluster()
29 {
30
31 }
32 Float_t AliPMDcluster::GetClusX() const
33 {
34   return fClusData[0];
35 }
36 Float_t AliPMDcluster::GetClusY() const
37 {
38   return fClusData[1];
39 }
40 Float_t AliPMDcluster::GetClusADC() const
41 {
42   return fClusData[2];
43 }
44 Float_t AliPMDcluster::GetClusCells() const
45 {
46   return fClusData[3];
47 }
48 Float_t AliPMDcluster::GetClusRadius() const
49 {
50   return fClusData[4];
51 }
52
53