]>
Commit | Line | Data |
---|---|---|
b9746a9e | 1 | #ifndef ALIPMDSDIGIT_H |
2 | #define ALIPMDSDIGIT_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
ec3caada | 5 | //-----------------------------------------------------// |
6 | // // | |
7 | // // | |
8 | // Date : August 05 2003 // | |
9 | // used to store the info into TreeS // | |
10 | // // | |
11 | //-----------------------------------------------------// | |
12 | ||
ec3caada | 13 | #include "TObject.h" |
b9746a9e | 14 | class TClonesArray; |
ec3caada | 15 | |
16 | class AliPMDsdigit : public TObject | |
17 | { | |
ec3caada | 18 | |
19 | public: | |
20 | AliPMDsdigit(); | |
b9746a9e | 21 | AliPMDsdigit(Int_t trnumber, Int_t det, Int_t smn, |
5e6a9312 | 22 | Int_t irow, Int_t icol, Float_t edep); |
ec3caada | 23 | AliPMDsdigit(AliPMDsdigit *pmdsdigit) {*this = *pmdsdigit;} |
b9746a9e | 24 | AliPMDsdigit (const AliPMDsdigit &pmdsdigit); // copy constructor |
25 | AliPMDsdigit &operator=(const AliPMDsdigit &pmdsdigit); // assignment op | |
26 | ||
ec3caada | 27 | virtual ~AliPMDsdigit(); |
28 | ||
29 | Int_t GetTrackNumber() const; | |
30 | Int_t GetDetector() const; | |
31 | Int_t GetSMNumber() const; | |
5e6a9312 | 32 | Int_t GetRow() const; |
33 | Int_t GetColumn() const; | |
ec3caada | 34 | Float_t GetCellEdep() const; |
b9746a9e | 35 | |
36 | ||
37 | protected: | |
38 | Int_t fTrNumber; // Parent Track Number | |
39 | Int_t fDet; // Detector Number (0:PRE, 1:CPV) | |
40 | Int_t fSMN; // Serial Module Number | |
5e6a9312 | 41 | Int_t fRow; // Cell Row Number (0-47) |
42 | Int_t fColumn; // Cell Column Number (0-95) | |
b9746a9e | 43 | Float_t fEdep; // Energy deposition in a hexagonal cell |
ec3caada | 44 | |
5e6a9312 | 45 | ClassDef(AliPMDsdigit,3) // SDigits object for Detector set:PMD |
ec3caada | 46 | }; |
47 | ||
48 | #endif |