a54b05c0a9fd40a3c5da2575ac1fdc5806384046
[u/mrichter/AliRoot.git] / PMD / AliPMDsdigit.cxx
1 //-----------------------------------------------------//
2 //                                                     //
3 //  Date   : August 05 2003                            //
4 //  used to store the info into TreeS                  //
5 //                                                     //
6 //-----------------------------------------------------//
7
8 #include "AliPMDsdigit.h"
9 #include <stdio.h>
10
11 ClassImp(AliPMDsdigit)
12
13 AliPMDsdigit::AliPMDsdigit()
14 {
15   fTrNumber   = 0;
16   fDet        = 0;
17   fSMN        = 0;
18   fCellNumber = 0;
19   fEdep       = 0.;
20 }
21
22 AliPMDsdigit::AliPMDsdigit(Int_t trnumber, Int_t det, Int_t smn,
23                            Int_t cellnumber, Float_t edep)
24 {
25   fTrNumber   = trnumber;
26   fDet        = det;
27   fSMN        = smn;
28   fCellNumber = cellnumber;
29   fEdep       = edep;
30 }
31 AliPMDsdigit::~AliPMDsdigit()
32 {
33
34 }
35 Int_t AliPMDsdigit::GetTrackNumber() const
36 {
37   return fTrNumber;
38 }
39 Int_t AliPMDsdigit::GetDetector() const
40 {
41   return fDet;
42 }
43 Int_t AliPMDsdigit::GetSMNumber() const
44 {
45   return fSMN;
46 }
47 Int_t AliPMDsdigit::GetCellNumber() const
48 {
49   return fCellNumber;
50 }
51
52 Float_t AliPMDsdigit::GetCellEdep() const
53 {
54   return fEdep;
55 }