]>
Commit | Line | Data |
---|---|---|
963d4d30 | 1 | #ifndef ALIFMDDIGIT_H |
2 | #define ALIFMDDIGIT_H | |
3 | ||
4 | //////////////////////////////////////////////// | |
5 | // Digits classes for set:FMD // | |
6 | //////////////////////////////////////////////// | |
7 | #include <TClonesArray.h> | |
8 | #include <TObject.h> | |
9 | ||
10 | ||
11 | //___________________________________________ | |
12 | class AliFMDdigit: public TObject { | |
13 | ||
14 | private: | |
15 | Int_t fNumOfDet ; //Number of FMD disk | |
16 | Int_t fNumOfSector ; //Number of sector | |
17 | Int_t fNumOfRing; //Number of ring | |
18 | Int_t fNelectrons; // real charge | |
19 | Int_t fADC; // ADC signal for this charge | |
20 | ||
21 | public: | |
22 | AliFMDdigit() { | |
23 | // constructor | |
24 | fNumOfDet=fNumOfSector=fNumOfRing=fNelectrons=fADC=0; | |
25 | } | |
26 | AliFMDdigit(Int_t *digits); | |
27 | virtual ~AliFMDdigit() { | |
28 | // destructor | |
29 | } | |
30 | Int_t Volume(); | |
31 | Int_t NumberOfSector(); | |
32 | Int_t NumberOfRing(); | |
33 | Int_t Charge(); | |
34 | Int_t ADCsignal(); | |
35 | ||
dc8af42e | 36 | ClassDef(AliFMDdigit,1) // Real data digit object for set:ITS |
963d4d30 | 37 | }; |
38 | inline Int_t AliFMDdigit::Volume(){return fNumOfDet;} | |
39 | inline Int_t AliFMDdigit::NumberOfSector() {return fNumOfSector;} | |
40 | inline Int_t AliFMDdigit::NumberOfRing() {return fNumOfRing;} | |
41 | inline Int_t AliFMDdigit::Charge() {return fNelectrons;} | |
42 | inline Int_t AliFMDdigit::ADCsignal() {return fADC;} | |
43 | ||
44 | ||
45 | #endif |