]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PMD/AliPMDcluster.h
Adding first version of trigger LUT handling to Shuttle
[u/mrichter/AliRoot.git] / PMD / AliPMDcluster.h
index 8fe9d5de0fccff96f9195f89a8f2d758d6b9cc1a..b2f56b2ba794ed45a49dd9645ff7f45e0706c592 100644 (file)
@@ -9,7 +9,8 @@
 //  Store cluster informations for PMD                 //
 //                                                     //
 //-----------------------------------------------------//
-
+// Author - B.K. Nandi
+//
 #include "Rtypes.h"
 #include "TObject.h"
 class TClonesArray;
@@ -18,8 +19,9 @@ class AliPMDcluster : public TObject
 {
  public:
   AliPMDcluster();
-  AliPMDcluster(Int_t idet, Int_t ismn, Float_t *clusdata);
-  AliPMDcluster(AliPMDcluster *pmdcluster) {*this = *pmdcluster;}
+  AliPMDcluster(Int_t idet, Int_t ismn, Float_t *clusdata,
+               Int_t *celldataX, Int_t *celldataY);
+  AliPMDcluster(AliPMDcluster *pmdcluster);
   AliPMDcluster (const AliPMDcluster &pmdcluster);  // copy constructor
   AliPMDcluster &operator=(const AliPMDcluster &pmdcluster); // assignment op
   
@@ -31,21 +33,26 @@ class AliPMDcluster : public TObject
   Float_t GetClusY() const;
   Float_t GetClusADC() const;
   Float_t GetClusCells() const;
-  Float_t GetClusRadius() const;
+  Float_t GetClusSigmaX() const;
+  Float_t GetClusSigmaY() const;
+  Int_t   GetClusCellX(Int_t i) const;
+  Int_t   GetClusCellY(Int_t i) const;
 
  protected:
 
-  Int_t   fDet;          // Detector No (0:PRE, 1:CPV)
-  Int_t   fSMN;          // Serial Module No.
-  Float_t fClusData[5];  // Array containing cluster information
+  Int_t   fDet;               // Detector No (0:PRE, 1:CPV)
+  Int_t   fSMN;               // Serial Module No.
+  Int_t   fClusCellDataX[15]; // Array containing cell X
+  Int_t   fClusCellDataY[15]; // Array containing cell Y
+  Float_t fClusData[6];       // Array containing cluster information
   /*
     fDet         : Det (0:PRE, 1:CPV), fSMN         : SerialModuleNo
     fClusData[0] : Cluster x         , fClusData[1] : Cluster y
     fClusData[2] : Cluster adc       , fClusData[3] : Cluster Cells
-    fClusData[4] : Cluster radius
+    fClusData[4] : Cluster SigmaX    , fClusData[5] : Cluster SigmaY
   */
   
-  ClassDef(AliPMDcluster,2) // Keep Cluster information
+  ClassDef(AliPMDcluster,4) // Keep Cluster information
 };
 
 #endif