Fixing problem with previous checkin...
[u/mrichter/AliRoot.git] / PMD / AliPMDrecpoint1.cxx
1 //-----------------------------------------------------//
2 //                                                     //
3 //                                                     //
4 //  Date   : August 05 2003                            //
5 //                                                     //
6 //  Store recpoints for ALICE-PMD                      //
7 //                                                     //
8 //-----------------------------------------------------//
9
10 #include "AliPMDrecpoint1.h"
11 #include <stdio.h>
12
13 ClassImp(AliPMDrecpoint)
14
15 AliPMDrecpoint::AliPMDrecpoint()
16 {
17   for (Int_t i = 0; i < 7; i++)
18     {
19       fClusData[i] = 0.;
20     }
21 }
22
23 AliPMDrecpoint::AliPMDrecpoint(Float_t *clusdata)
24 {
25   for (Int_t i = 0; i < 7; i++)
26     {
27       fClusData[i] = clusdata[i];
28     }
29 }
30 AliPMDrecpoint::~AliPMDrecpoint()
31 {
32
33 }
34
35 Float_t AliPMDrecpoint::GetDetector() const
36 {
37   return fClusData[0];
38 }
39 Float_t AliPMDrecpoint::GetSMNumber() const
40 {
41   return fClusData[1];
42 }
43 Float_t AliPMDrecpoint::GetClusX() const
44 {
45   return fClusData[2];
46 }
47
48 Float_t AliPMDrecpoint::GetClusY() const
49 {
50   return fClusData[3];
51 }
52
53 Float_t AliPMDrecpoint::GetClusADC() const
54 {
55   return fClusData[4];
56 }
57 Float_t AliPMDrecpoint::GetClusCells() const
58 {
59   return fClusData[5];
60 }
61 Float_t AliPMDrecpoint::GetClusRadius() const
62 {
63   return fClusData[6];
64 }
65
66