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