]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDcell.cxx
macros
[u/mrichter/AliRoot.git] / PMD / AliPMDcell.cxx
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
12 ClassImp(AliPMDcell)
13
14 AliPMDcell::AliPMDcell()
15 {
16   fTrNumber = 0;
17   fSMNumber = 0;
18   fXpos     = 0;
19   fYpos     = 0;
20   fEdep     = 0.;
21 }
22
23 AliPMDcell::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 }
33 AliPMDcell::~AliPMDcell()
34 {
35
36 }
37
38 Int_t AliPMDcell::GetTrackNumber() const
39 {
40   return fTrNumber;
41 }
42 Int_t AliPMDcell::GetSMNumber() const
43 {
44   return fSMNumber;
45 }
46 Int_t AliPMDcell::GetX() const
47 {
48   return fXpos;
49 }
50 Int_t AliPMDcell::GetY() const
51 {
52   return fYpos;
53 }
54
55 Float_t AliPMDcell::GetEdep() const
56 {
57   return fEdep;
58 }
59