]>
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(); | |
dc9f9910 | 21 | AliPMDcluster(Int_t idet, Int_t ismn, Float_t *clusdata, |
22 | Int_t *celldataX, Int_t *celldataY); | |
1cbf30ea | 23 | AliPMDcluster(AliPMDcluster *pmdcluster) {*this = *pmdcluster;} |
a918d77a | 24 | AliPMDcluster (const AliPMDcluster &pmdcluster); // copy constructor |
25 | AliPMDcluster &operator=(const AliPMDcluster &pmdcluster); // assignment op | |
1cbf30ea | 26 | |
27 | virtual ~AliPMDcluster(); | |
28 | ||
afef6247 | 29 | Int_t GetDetector() const; |
30 | Int_t GetSMN() const; | |
1cbf30ea | 31 | Float_t GetClusX() const; |
32 | Float_t GetClusY() const; | |
33 | Float_t GetClusADC() const; | |
34 | Float_t GetClusCells() const; | |
dc9f9910 | 35 | Float_t GetClusSigmaX() const; |
36 | Float_t GetClusSigmaY() const; | |
37 | Int_t GetClusCellX(Int_t i) const; | |
38 | Int_t GetClusCellY(Int_t i) const; | |
a918d77a | 39 | |
40 | protected: | |
41 | ||
dc9f9910 | 42 | Int_t fDet; // Detector No (0:PRE, 1:CPV) |
43 | Int_t fSMN; // Serial Module No. | |
44 | Int_t fClusCellDataX[15]; // Array containing cell X | |
45 | Int_t fClusCellDataY[15]; // Array containing cell Y | |
46 | Float_t fClusData[6]; // Array containing cluster information | |
a918d77a | 47 | /* |
afef6247 | 48 | fDet : Det (0:PRE, 1:CPV), fSMN : SerialModuleNo |
49 | fClusData[0] : Cluster x , fClusData[1] : Cluster y | |
50 | fClusData[2] : Cluster adc , fClusData[3] : Cluster Cells | |
dc9f9910 | 51 | fClusData[4] : Cluster SigmaX , fClusData[5] : Cluster SigmaY |
a918d77a | 52 | */ |
1cbf30ea | 53 | |
dc9f9910 | 54 | ClassDef(AliPMDcluster,3) // Keep Cluster information |
1cbf30ea | 55 | }; |
56 | ||
57 | #endif |