Line data Source code
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,
22 : Int_t cellpid, Float_t celladc);
23 : AliPMDrechit(AliPMDrechit *pmdrechit);
24 : AliPMDrechit (const AliPMDrechit &alipmdrechit); // copy constructor
25 : AliPMDrechit &operator=(const AliPMDrechit &alipmdrechit); // assignment op
26 :
27 : virtual ~AliPMDrechit();
28 :
29 : Int_t GetCellX() const;
30 : Int_t GetCellY() const;
31 : Int_t GetCellTrack() const;
32 : Int_t GetCellPid() const;
33 : Float_t GetCellAdc() const;
34 :
35 : protected:
36 : Int_t fXcell; // x-position of the cell
37 : Int_t fYcell; // y-position of the cell
38 : Int_t fTrcell; // track no of the cell
39 : Int_t fPidcell; // track pid of the cell
40 : Float_t fAdccell; // cell Adc
41 :
42 16 : ClassDef(AliPMDrechit,5) // To keep cell hit information
43 : };
44 :
45 : #endif
|