]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDcluster.h
isolated cell serach included in AliPMDClusteringV1 and kept in recpoints for offline...
[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                 Int_t *celltrack, Int_t *cellpid);
25   AliPMDcluster(AliPMDcluster *pmdcluster);
26   AliPMDcluster (const AliPMDcluster &pmdcluster);  // copy constructor
27   AliPMDcluster &operator=(const AliPMDcluster &pmdcluster); // assignment op
28   
29   virtual ~AliPMDcluster();
30
31   Int_t   GetDetector() const;
32   Int_t   GetSMN() 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
44  protected:
45
46   Int_t   fDet;               // Detector No (0:PRE, 1:CPV)
47   Int_t   fSMN;               // Serial Module No.
48   Int_t   fClusCellDataX[19]; // Array containing cell X
49   Int_t   fClusCellDataY[19]; // Array containing cell Y
50   Int_t   fClusCellTrack[19]; // Array containing cell track no
51   Int_t   fClusCellPid[19];   // Array containing cell pid
52
53   Float_t fClusData[6];       // Array containing cluster information
54
55   /*
56     fDet         : Det (0:PRE, 1:CPV), fSMN         : SerialModuleNo
57     fClusData[0] : Cluster x         , fClusData[1] : Cluster y
58     fClusData[2] : Cluster adc       , fClusData[3] : Cluster Cells
59     fClusData[4] : Cluster SigmaX    , fClusData[5] : Cluster SigmaY
60   */
61   
62   ClassDef(AliPMDcluster,5) // Keep Cluster information
63 };
64
65 #endif