]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDcluster.h
b2f56b2ba794ed45a49dd9645ff7f45e0706c592
[u/mrichter/AliRoot.git] / PMD / AliPMDcluster.h
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 // Author - B.K. Nandi
13 //
14 #include "Rtypes.h"
15 #include "TObject.h"
16 class TClonesArray;
17
18 class AliPMDcluster : public TObject
19 {
20  public:
21   AliPMDcluster();
22   AliPMDcluster(Int_t idet, Int_t ismn, Float_t *clusdata,
23                 Int_t *celldataX, Int_t *celldataY);
24   AliPMDcluster(AliPMDcluster *pmdcluster);
25   AliPMDcluster (const AliPMDcluster &pmdcluster);  // copy constructor
26   AliPMDcluster &operator=(const AliPMDcluster &pmdcluster); // assignment op
27   
28   virtual ~AliPMDcluster();
29
30   Int_t   GetDetector() const;
31   Int_t   GetSMN() const;
32   Float_t GetClusX() const;
33   Float_t GetClusY() const;
34   Float_t GetClusADC() const;
35   Float_t GetClusCells() const;
36   Float_t GetClusSigmaX() const;
37   Float_t GetClusSigmaY() const;
38   Int_t   GetClusCellX(Int_t i) const;
39   Int_t   GetClusCellY(Int_t i) const;
40
41  protected:
42
43   Int_t   fDet;               // Detector No (0:PRE, 1:CPV)
44   Int_t   fSMN;               // Serial Module No.
45   Int_t   fClusCellDataX[15]; // Array containing cell X
46   Int_t   fClusCellDataY[15]; // Array containing cell Y
47   Float_t fClusData[6];       // Array containing cluster information
48   /*
49     fDet         : Det (0:PRE, 1:CPV), fSMN         : SerialModuleNo
50     fClusData[0] : Cluster x         , fClusData[1] : Cluster y
51     fClusData[2] : Cluster adc       , fClusData[3] : Cluster Cells
52     fClusData[4] : Cluster SigmaX    , fClusData[5] : Cluster SigmaY
53   */
54   
55   ClassDef(AliPMDcluster,4) // Keep Cluster information
56 };
57
58 #endif