]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PMD/AliPMDrecpoint1.cxx
Fixed violations
[u/mrichter/AliRoot.git] / PMD / AliPMDrecpoint1.cxx
CommitLineData
3a71056b 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
caf8468f 15//-----------------------------------------------------//
16// //
17// //
18// Date : August 05 2003 //
19// //
20// Store recpoints for ALICE-PMD //
21// //
22//-----------------------------------------------------//
23
ebdd951b 24#include "AliPMDrecpoint1.h"
caf8468f 25#include <stdio.h>
26
3a71056b 27ClassImp(AliPMDrecpoint1)
caf8468f 28
3a71056b 29AliPMDrecpoint1::AliPMDrecpoint1()
caf8468f 30{
31 for (Int_t i = 0; i < 7; i++)
32 {
33 fClusData[i] = 0.;
34 }
35}
36
3a71056b 37AliPMDrecpoint1::AliPMDrecpoint1(Float_t *clusdata)
caf8468f 38{
39 for (Int_t i = 0; i < 7; i++)
40 {
41 fClusData[i] = clusdata[i];
42 }
43}
3a71056b 44AliPMDrecpoint1::~AliPMDrecpoint1()
caf8468f 45{
46
47}
48
3a71056b 49Float_t AliPMDrecpoint1::GetDetector() const
caf8468f 50{
51 return fClusData[0];
52}
3a71056b 53Float_t AliPMDrecpoint1::GetSMNumber() const
caf8468f 54{
55 return fClusData[1];
56}
3a71056b 57Float_t AliPMDrecpoint1::GetClusX() const
caf8468f 58{
59 return fClusData[2];
60}
61
3a71056b 62Float_t AliPMDrecpoint1::GetClusY() const
caf8468f 63{
64 return fClusData[3];
65}
66
3a71056b 67Float_t AliPMDrecpoint1::GetClusADC() const
caf8468f 68{
69 return fClusData[4];
70}
3a71056b 71Float_t AliPMDrecpoint1::GetClusCells() const
caf8468f 72{
73 return fClusData[5];
74}
3a71056b 75Float_t AliPMDrecpoint1::GetClusRadius() const
caf8468f 76{
77 return fClusData[6];
78}
79
80