variable names are changed according to ALICE convention
[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
36031625 10#include "Riostream.h"
11#include "Rtypes.h"
12
24882f83 13#include "AliPMDcell.h"
14
15ClassImp(AliPMDcell)
16
17AliPMDcell::AliPMDcell()
18{
36031625 19 // Standard constructor
24882f83 20 fTrNumber = 0;
21 fSMNumber = 0;
22 fXpos = 0;
23 fYpos = 0;
24 fEdep = 0.;
25}
26
27AliPMDcell::AliPMDcell(Int_t trnumber, Int_t smnumber,
28 Int_t xpos, Int_t ypos, Float_t edep)
29{
36031625 30 // Constructor
24882f83 31 fTrNumber = trnumber;
32 fSMNumber = smnumber;
33 fXpos = xpos;
34 fYpos = ypos;
35 fEdep = edep;
36
37}
38AliPMDcell::~AliPMDcell()
39{
36031625 40 // Default destructor
24882f83 41}
42
43Int_t AliPMDcell::GetTrackNumber() const
44{
45 return fTrNumber;
46}
47Int_t AliPMDcell::GetSMNumber() const
48{
49 return fSMNumber;
50}
51Int_t AliPMDcell::GetX() const
52{
53 return fXpos;
54}
55Int_t AliPMDcell::GetY() const
56{
57 return fYpos;
58}
59
60Float_t AliPMDcell::GetEdep() const
61{
62 return fEdep;
63}
64