]>
Commit | Line | Data |
---|---|---|
a918d77a | 1 | #ifndef ALIPMDCLUSTER_H |
2 | #define ALIPMDCLUSTER_H | |
afef6247 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
1cbf30ea | 5 | //-----------------------------------------------------// |
6 | // // | |
7 | // Date : August 05 2003 // | |
8 | // // | |
9 | // Store cluster informations for PMD // | |
10 | // // | |
11 | //-----------------------------------------------------// | |
12 | ||
1cbf30ea | 13 | #include "Rtypes.h" |
14 | #include "TObject.h" | |
a918d77a | 15 | class TClonesArray; |
1cbf30ea | 16 | |
17 | class AliPMDcluster : public TObject | |
18 | { | |
1cbf30ea | 19 | public: |
20 | AliPMDcluster(); | |
afef6247 | 21 | AliPMDcluster(Int_t idet, Int_t ismn, Float_t *clusdata); |
1cbf30ea | 22 | AliPMDcluster(AliPMDcluster *pmdcluster) {*this = *pmdcluster;} |
a918d77a | 23 | AliPMDcluster (const AliPMDcluster &pmdcluster); // copy constructor |
24 | AliPMDcluster &operator=(const AliPMDcluster &pmdcluster); // assignment op | |
1cbf30ea | 25 | |
26 | virtual ~AliPMDcluster(); | |
27 | ||
afef6247 | 28 | Int_t GetDetector() const; |
29 | Int_t GetSMN() const; | |
1cbf30ea | 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; | |
a918d77a | 35 | |
36 | protected: | |
37 | ||
afef6247 | 38 | Int_t fDet; // Detector No (0:PRE, 1:CPV) |
39 | Int_t fSMN; // Serial Module No. | |
a918d77a | 40 | Float_t fClusData[5]; // Array containing cluster information |
41 | /* | |
afef6247 | 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 | |
a918d77a | 45 | fClusData[4] : Cluster radius |
46 | */ | |
1cbf30ea | 47 | |
afef6247 | 48 | ClassDef(AliPMDcluster,2) // Keep Cluster information |
1cbf30ea | 49 | }; |
50 | ||
51 | #endif |