]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIPMDDIGIT_H | |
2 | #define ALIPMDDIGIT_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 : August 05 2003 // | |
8 | // // | |
9 | // Store digits for PMD // | |
10 | // // | |
11 | //-----------------------------------------------------// | |
12 | ||
13 | #include "TObject.h" | |
14 | class TClonesArray; | |
15 | ||
16 | class AliPMDdigit : public TObject | |
17 | { | |
18 | public: | |
19 | AliPMDdigit(); | |
20 | AliPMDdigit(Int_t trnumber, Int_t det, Int_t smnumber, | |
21 | Int_t irow, Int_t icol, Float_t adc); | |
22 | AliPMDdigit(AliPMDdigit *pmddigit) {*this = *pmddigit;} | |
23 | AliPMDdigit (const AliPMDdigit &pmddigit); // copy constructor | |
24 | AliPMDdigit &operator=(const AliPMDdigit &pmddigit); // assignment op | |
25 | ||
26 | virtual ~AliPMDdigit(); | |
27 | ||
28 | Int_t GetTrackNumber() const; | |
29 | Int_t GetDetector() const; | |
30 | Int_t GetSMNumber() const; | |
31 | Int_t GetRow() const; | |
32 | Int_t GetColumn() const; | |
33 | Float_t GetADC() const; | |
34 | ||
35 | protected: | |
36 | Int_t fTrNumber; // Parent Track number | |
37 | Int_t fDet; // Detecor Number (0:PRE, 1:CPV) | |
38 | Int_t fSMNumber; // Serial Module Number | |
39 | Int_t fRow; // Cell Row Number (0-47) | |
40 | Int_t fColumn; // Cell Column Number (0-95) | |
41 | Float_t fADC; // Energy deposition(ADC) in a hexagonal cell | |
42 | ||
43 | ClassDef(AliPMDdigit,3) // Digits object for Detector set:PMD | |
44 | }; | |
45 | ||
46 | #endif |