f6ed6410e0444895c197df607e72f36f6db5713d
[u/mrichter/AliRoot.git] / PMD / AliPMDdigit.h
1 #ifndef PMDdigit_H
2 #define PMDdigit_H
3 //-----------------------------------------------------//
4 //                                                     //
5 //  Date   : August 05 2003                            //
6 //                                                     //
7 //  Store digits  for PMD                              //
8 //                                                     //
9 //-----------------------------------------------------//
10
11 #include "Riostream.h"
12 #include "Rtypes.h"
13 #include "TObject.h"
14 #include "TClonesArray.h"
15
16 class AliPMDdigit : public TObject
17 {
18   
19  protected:
20   Int_t   fTrNumber, fDet, fSMNumber, fCellNumber;
21   Float_t fADC;
22
23  public:
24   AliPMDdigit();
25   AliPMDdigit(Int_t /* trnumber */, Int_t /* det */, Int_t /* smnumber */,
26               Int_t /* cellnumber */, Float_t /* adc */);
27   AliPMDdigit(AliPMDdigit *pmddigit) {*this = *pmddigit;}
28   
29   virtual ~AliPMDdigit();
30
31   Int_t   GetTrackNumber() const;
32   Int_t   GetDetector() const;
33   Int_t   GetSMNumber() const;
34   Int_t   GetCellNumber() const;
35   Float_t GetADC() const;
36   
37   ClassDef(AliPMDdigit,1)
38 };
39
40 #endif