digit informations
[u/mrichter/AliRoot.git] / PMD / AliPMDdigit.cxx
CommitLineData
baf230f7 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
12ClassImp(AliPMDdigit)
13
14AliPMDdigit::AliPMDdigit()
15{
16 fTrNumber = 0;
17 fDet = 0;
18 fSMNumber = 0;
19 fCellNumber = 0;
20 fADC = 0.;
21}
22
23AliPMDdigit::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}
32AliPMDdigit::~AliPMDdigit()
33{
34
35}
36Int_t AliPMDdigit::GetTrackNumber() const
37{
38 return fTrNumber;
39}
40Int_t AliPMDdigit::GetDetector() const
41{
42 return fDet;
43}
44Int_t AliPMDdigit::GetSMNumber() const
45{
46 return fSMNumber;
47}
48Int_t AliPMDdigit::GetCellNumber() const
49{
50 return fCellNumber;
51}
52Float_t AliPMDdigit::GetADC() const
53{
54 return fADC;
55}
56