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 //-----------------------------------------------------//
7 // Date : August 05 2003 //
9 // Store cluster informations for PMD //
11 //-----------------------------------------------------//
17 class AliPMDcluster : public TObject
21 AliPMDcluster(Int_t idet, Int_t ismn, Float_t *clusdata,
22 Int_t *celldataX, Int_t *celldataY);
23 AliPMDcluster(AliPMDcluster *pmdcluster) {*this = *pmdcluster;}
24 AliPMDcluster (const AliPMDcluster &pmdcluster); // copy constructor
25 AliPMDcluster &operator=(const AliPMDcluster &pmdcluster); // assignment op
27 virtual ~AliPMDcluster();
29 Int_t GetDetector() const;
31 Float_t GetClusX() const;
32 Float_t GetClusY() const;
33 Float_t GetClusADC() const;
34 Float_t GetClusCells() const;
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;
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
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
51 fClusData[4] : Cluster SigmaX , fClusData[5] : Cluster SigmaY
54 ClassDef(AliPMDcluster,3) // Keep Cluster information