cell information
[u/mrichter/AliRoot.git] / PMD / AliPMDcell.cxx
CommitLineData
24882f83 1//-----------------------------------------------------//
2// //
3// Date : August 05 2003 //
4// //
5// Store cell/track info which is used to assign //
6// the correct track number to a multiple hit cell //
7// //
8//-----------------------------------------------------//
9
10#include "AliPMDcell.h"
11
12ClassImp(AliPMDcell)
13
14AliPMDcell::AliPMDcell()
15{
16 fTrNumber = 0;
17 fSMNumber = 0;
18 fXpos = 0;
19 fYpos = 0;
20 fEdep = 0.;
21}
22
23AliPMDcell::AliPMDcell(Int_t trnumber, Int_t smnumber,
24 Int_t xpos, Int_t ypos, Float_t edep)
25{
26 fTrNumber = trnumber;
27 fSMNumber = smnumber;
28 fXpos = xpos;
29 fYpos = ypos;
30 fEdep = edep;
31
32}
33AliPMDcell::~AliPMDcell()
34{
35
36}
37
38Int_t AliPMDcell::GetTrackNumber() const
39{
40 return fTrNumber;
41}
42Int_t AliPMDcell::GetSMNumber() const
43{
44 return fSMNumber;
45}
46Int_t AliPMDcell::GetX() const
47{
48 return fXpos;
49}
50Int_t AliPMDcell::GetY() const
51{
52 return fYpos;
53}
54
55Float_t AliPMDcell::GetEdep() const
56{
57 return fEdep;
58}
59