33f448ee351ba6ff5c0f7d5498e6079b5c0f8c30
[u/mrichter/AliRoot.git] / PMD / AliPMDdigit.cxx
1 //-----------------------------------------------------//
2 //                                                     //
3 //  Date   : August 05 2003                            //
4 //                                                     //
5 //  Store digits for ALICE-PMD                         //
6 //                                                     //
7 //-----------------------------------------------------//
8
9 #include "AliPMDdigit.h"
10 #include <stdio.h>
11
12 ClassImp(AliPMDdigit)
13
14 AliPMDdigit::AliPMDdigit()
15 {
16   fTrNumber   = 0;
17   fDet        = 0;
18   fSMNumber   = 0;
19   fCellNumber = 0;
20   fADC        = 0.;
21 }
22
23 AliPMDdigit::AliPMDdigit(Int_t trnumber, Int_t det, Int_t smnumber, 
24                          Int_t cellnumber, Float_t adc)
25 {
26   fTrNumber   = trnumber;
27   fDet        = det;
28   fSMNumber   = smnumber;
29   fCellNumber = cellnumber;
30   fADC        = adc;
31 }
32 AliPMDdigit::~AliPMDdigit()
33 {
34
35 }
36 Int_t AliPMDdigit::GetTrackNumber() const
37 {
38   return fTrNumber;
39 }
40 Int_t AliPMDdigit::GetDetector() const
41 {
42   return fDet;
43 }
44 Int_t AliPMDdigit::GetSMNumber() const
45 {
46   return fSMNumber;
47 }
48 Int_t AliPMDdigit::GetCellNumber() const
49 {
50   return fCellNumber;
51 }
52 Float_t AliPMDdigit::GetADC() const
53 {
54   return fADC;
55 }
56