implementation of effc++
[u/mrichter/AliRoot.git] / PMD / AliPMDrechit.h
1 #ifndef ALIPMDRECHIT_H
2 #define ALIPMDRECHIT_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5 //-----------------------------------------------------//
6 //                                                     //
7 //  Date   : February 26 2006                          //
8 //                                                     //
9 //  Store cellhits associated to a cluster             //
10 //                                                     //
11 //-----------------------------------------------------//
12 // Author - B.K. Nandi
13 //
14 #include "TObject.h"
15 class TClonesArray;
16
17 class AliPMDrechit : public TObject
18 {
19  public:
20   AliPMDrechit();
21   AliPMDrechit(Int_t cellx, Int_t celly);
22   AliPMDrechit(AliPMDrechit *pmdrechit);
23   AliPMDrechit (const AliPMDrechit &alipmdrechit);  // copy constructor
24   AliPMDrechit &operator=(const AliPMDrechit &alipmdrechit); // assignment op
25
26   virtual ~AliPMDrechit();
27
28   Int_t   GetCellX() const;
29   Int_t   GetCellY() const;
30   
31  protected:
32   Int_t   fXcell;         // x-position of the cell
33   Int_t   fYcell;         // y-position of the cell
34   
35   ClassDef(AliPMDrechit,2) // To keep cell hit information
36 };
37
38 #endif