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 //-----------------------------------------------------//
12 // Author - B.K. Nandi
18 class AliPMDcluster : public TObject
22 AliPMDcluster(Int_t idet, Int_t ismn, Float_t *clusdata,
23 Int_t *celldataX, Int_t *celldataY,
24 Int_t *celltrack, Int_t *cellpid, Float_t *celladc);
25 AliPMDcluster(AliPMDcluster *pmdcluster);
26 AliPMDcluster (const AliPMDcluster &pmdcluster); // copy constructor
27 AliPMDcluster &operator=(const AliPMDcluster &pmdcluster); // assignment op
29 virtual ~AliPMDcluster();
31 Int_t GetDetector() const;
33 Float_t GetClusX() const;
34 Float_t GetClusY() const;
35 Float_t GetClusADC() const;
36 Float_t GetClusCells() const;
37 Float_t GetClusSigmaX() const;
38 Float_t GetClusSigmaY() const;
39 Int_t GetClusCellX(Int_t i) const;
40 Int_t GetClusCellY(Int_t i) const;
41 Int_t GetClusCellTrack(Int_t i) const;
42 Int_t GetClusCellPid(Int_t i) const;
43 Float_t GetClusCellAdc(Int_t i) const;
47 Int_t fDet; // Detector No (0:PRE, 1:CPV)
48 Int_t fSMN; // Serial Module No.
49 Int_t fClusCellDataX[19]; // Array containing cell X
50 Int_t fClusCellDataY[19]; // Array containing cell Y
51 Int_t fClusCellTrack[19]; // Array containing cell track no
52 Int_t fClusCellPid[19]; // Array containing cell pid
53 Float_t fClusCellAdc[19]; // Array containing cell adc
54 Float_t fClusData[6]; // Array containing cluster information
57 fDet : Det (0:PRE, 1:CPV), fSMN : SerialModuleNo
58 fClusData[0] : Cluster x , fClusData[1] : Cluster y
59 fClusData[2] : Cluster adc , fClusData[3] : Cluster Cells
60 fClusData[4] : Cluster SigmaX , fClusData[5] : Cluster SigmaY
63 ClassDef(AliPMDcluster,6) // Keep Cluster information