]>
Commit | Line | Data |
---|---|---|
a918d77a | 1 | #ifndef ALIPMDCLUSTER_H |
2 | #define ALIPMDCLUSTER_H | |
1cbf30ea | 3 | //-----------------------------------------------------// |
4 | // // | |
5 | // Date : August 05 2003 // | |
6 | // // | |
7 | // Store cluster informations for PMD // | |
8 | // // | |
9 | //-----------------------------------------------------// | |
10 | ||
1cbf30ea | 11 | #include "Rtypes.h" |
12 | #include "TObject.h" | |
a918d77a | 13 | class TClonesArray; |
1cbf30ea | 14 | |
15 | class AliPMDcluster : public TObject | |
16 | { | |
1cbf30ea | 17 | public: |
18 | AliPMDcluster(); | |
19 | AliPMDcluster(Float_t * /* clusdata */); | |
20 | AliPMDcluster(AliPMDcluster *pmdcluster) {*this = *pmdcluster;} | |
a918d77a | 21 | AliPMDcluster (const AliPMDcluster &pmdcluster); // copy constructor |
22 | AliPMDcluster &operator=(const AliPMDcluster &pmdcluster); // assignment op | |
1cbf30ea | 23 | |
24 | virtual ~AliPMDcluster(); | |
25 | ||
26 | Float_t GetClusX() const; | |
27 | Float_t GetClusY() const; | |
28 | Float_t GetClusADC() const; | |
29 | Float_t GetClusCells() const; | |
30 | Float_t GetClusRadius() const; | |
a918d77a | 31 | |
32 | protected: | |
33 | ||
34 | Float_t fClusData[5]; // Array containing cluster information | |
35 | /* | |
36 | fClusData[0] : Cluster x , fClusData[1] : Cluster y | |
37 | fClusData[2] : Cluster adc , fClusData[3] : Cluster Cells | |
38 | fClusData[4] : Cluster radius | |
39 | */ | |
1cbf30ea | 40 | |
a918d77a | 41 | ClassDef(AliPMDcluster,1) // Keep Cluster information |
1cbf30ea | 42 | }; |
43 | ||
44 | #endif |