]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDrechit.h
2eac763a5b4adbb3da42ba20a9fd1a1b474932de
[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, Int_t celltr, Int_t cellpid);
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   Int_t   GetCellTrack() const;
31   Int_t   GetCellPid() const;
32   
33  protected:
34   Int_t   fXcell;         // x-position of the cell
35   Int_t   fYcell;         // y-position of the cell
36   Int_t   fTrcell;        // track no of the cell
37   Int_t   fPidcell;       // track pid of the cell
38   
39   ClassDef(AliPMDrechit,3) // To keep cell hit information
40 };
41
42 #endif