]>
Commit | Line | Data |
---|---|---|
36031625 | 1 | #ifndef ALIPMDCELL_H |
2 | #define ALIPMDCELL_H | |
b9746a9e | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
24882f83 | 5 | //-----------------------------------------------------// |
6 | // // | |
7 | // Date : August 05 2003 // | |
8 | // // | |
9 | // Store cell/track info which is used to assign // | |
10 | // the correct track number to a multiple hit cell // | |
11 | // // | |
12 | //-----------------------------------------------------// | |
a48edddd | 13 | // Author - B.K. Nandi |
14 | // | |
24882f83 | 15 | #include "TObject.h" |
36031625 | 16 | class TClonesArray; |
24882f83 | 17 | |
18 | class AliPMDcell : public TObject | |
19 | { | |
24882f83 | 20 | public: |
21 | AliPMDcell(); | |
36031625 | 22 | AliPMDcell(Int_t trnumber, Int_t smnumber, |
23 | Int_t xpos, Int_t ypos, Float_t edep); | |
a48edddd | 24 | AliPMDcell(AliPMDcell *pmdcell); |
af6d4455 | 25 | AliPMDcell (const AliPMDcell &alipmdcell); // copy constructor |
26 | AliPMDcell &operator=(const AliPMDcell &alipmdcell); // assignment op | |
36031625 | 27 | |
24882f83 | 28 | virtual ~AliPMDcell(); |
29 | ||
30 | Int_t GetTrackNumber() const; | |
31 | Int_t GetSMNumber() const; | |
32 | Int_t GetX() const; | |
33 | Int_t GetY() const; | |
34 | Float_t GetEdep() const; | |
35 | ||
36031625 | 36 | protected: |
37 | Int_t fTrNumber; // Track Number | |
38 | Int_t fSMNumber; // Serial Module Number | |
39 | Int_t fXpos; // x-position of the cell | |
40 | Int_t fYpos; // y-position of the cell | |
41 | Float_t fEdep; // Energy deposition in a cell | |
42 | ||
a48edddd | 43 | ClassDef(AliPMDcell,4) // To keep cell information |
24882f83 | 44 | }; |
45 | ||
46 | #endif |