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