cell information
[u/mrichter/AliRoot.git] / PMD / AliPMDcell.h
1 #ifndef PMDcell_H
2 #define PMDcell_H
3 //-----------------------------------------------------//
4 //                                                     //
5 //  Date   : August 05 2003                            //
6 //                                                     //
7 //  Store cell/track info which is used to assign      //
8 //  the correct track number to a multiple hit cell    //
9 //                                                     //
10 //-----------------------------------------------------//
11
12 #include "Riostream.h"
13 #include "Rtypes.h"
14 #include "TObject.h"
15 #include "TClonesArray.h"
16
17 class AliPMDcell : public TObject
18 {
19   
20  protected:
21   Int_t   fTrNumber, fSMNumber, fXpos, fYpos;
22   Float_t fEdep;
23
24  public:
25   AliPMDcell();
26   AliPMDcell(Int_t /* trnumber */, Int_t /* smnumber */,
27               Int_t /* xpos */, Int_t /* ypos */, Float_t /* edep */);
28   AliPMDcell(AliPMDcell *pmdcell) {*this = *pmdcell;}
29   
30   virtual ~AliPMDcell();
31
32   Int_t   GetTrackNumber() const;
33   Int_t   GetSMNumber() const;
34   Int_t   GetX() const;
35   Int_t   GetY() const;
36   Float_t GetEdep() const;
37   
38   ClassDef(AliPMDcell,1)
39 };
40
41 #endif