]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDrechit.h
stores hit info of a cluster
[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
13 #include "TObject.h"
14 class TClonesArray;
15
16 class AliPMDrechit : public TObject
17 {
18  public:
19   AliPMDrechit();
20   AliPMDrechit(Int_t cellx, Int_t celly);
21   AliPMDrechit(AliPMDrechit *pmdrechit) {*this = *pmdrechit;}
22   AliPMDrechit (const AliPMDrechit &alipmdrechit);  // copy constructor
23   AliPMDrechit &operator=(const AliPMDrechit &alipmdrechit); // assignment op
24
25   virtual ~AliPMDrechit();
26
27   Int_t   GetCellX() const;
28   Int_t   GetCellY() const;
29   
30  protected:
31   Int_t   fXcell;         // x-position of the cell
32   Int_t   fYcell;         // y-position of the cell
33   
34   ClassDef(AliPMDrechit,1) // To keep cell hit information
35 };
36
37 #endif