]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIPMDCLUSTER_H | |
2 | #define ALIPMDCLUSTER_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 cluster informations for PMD // | |
10 | // // | |
11 | //-----------------------------------------------------// | |
12 | ||
13 | #include "Rtypes.h" | |
14 | #include "TObject.h" | |
15 | class TClonesArray; | |
16 | ||
17 | class AliPMDcluster : public TObject | |
18 | { | |
19 | public: | |
20 | AliPMDcluster(); | |
21 | AliPMDcluster(Int_t idet, Int_t ismn, Float_t *clusdata); | |
22 | AliPMDcluster(AliPMDcluster *pmdcluster) {*this = *pmdcluster;} | |
23 | AliPMDcluster (const AliPMDcluster &pmdcluster); // copy constructor | |
24 | AliPMDcluster &operator=(const AliPMDcluster &pmdcluster); // assignment op | |
25 | ||
26 | virtual ~AliPMDcluster(); | |
27 | ||
28 | Int_t GetDetector() const; | |
29 | Int_t GetSMN() const; | |
30 | Float_t GetClusX() const; | |
31 | Float_t GetClusY() const; | |
32 | Float_t GetClusADC() const; | |
33 | Float_t GetClusCells() const; | |
34 | Float_t GetClusRadius() const; | |
35 | ||
36 | protected: | |
37 | ||
38 | Int_t fDet; // Detector No (0:PRE, 1:CPV) | |
39 | Int_t fSMN; // Serial Module No. | |
40 | Float_t fClusData[5]; // Array containing cluster information | |
41 | /* | |
42 | fDet : Det (0:PRE, 1:CPV), fSMN : SerialModuleNo | |
43 | fClusData[0] : Cluster x , fClusData[1] : Cluster y | |
44 | fClusData[2] : Cluster adc , fClusData[3] : Cluster Cells | |
45 | fClusData[4] : Cluster radius | |
46 | */ | |
47 | ||
48 | ClassDef(AliPMDcluster,2) // Keep Cluster information | |
49 | }; | |
50 | ||
51 | #endif |