]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PMD/AliPMDcluster.h
event mixing as parameter
[u/mrichter/AliRoot.git] / PMD / AliPMDcluster.h
index e27e98cc396d387c9bd111f7b860f154bdfaf03e..0ef90691e9e78acd1400dc2e671fc8c8fe797f68 100644 (file)
@@ -9,7 +9,8 @@
 //  Store cluster informations for PMD                 //
 //                                                     //
 //-----------------------------------------------------//
-
+// Author - B.K. Nandi
+//
 #include "Rtypes.h"
 #include "TObject.h"
 class TClonesArray;
@@ -19,8 +20,9 @@ class AliPMDcluster : public TObject
  public:
   AliPMDcluster();
   AliPMDcluster(Int_t idet, Int_t ismn, Float_t *clusdata,
-               Int_t *celldataX, Int_t *celldataY);
-  AliPMDcluster(AliPMDcluster *pmdcluster) {*this = *pmdcluster;}
+               Int_t *celldataX, Int_t *celldataY,
+               Int_t *celltrack, Int_t *cellpid, Float_t *celladc);
+  AliPMDcluster(AliPMDcluster *pmdcluster);
   AliPMDcluster (const AliPMDcluster &pmdcluster);  // copy constructor
   AliPMDcluster &operator=(const AliPMDcluster &pmdcluster); // assignment op
   
@@ -36,14 +38,21 @@ class AliPMDcluster : public TObject
   Float_t GetClusSigmaY() const;
   Int_t   GetClusCellX(Int_t i) const;
   Int_t   GetClusCellY(Int_t i) const;
+  Int_t   GetClusCellTrack(Int_t i) const;
+  Int_t   GetClusCellPid(Int_t i) const;
+  Float_t GetClusCellAdc(Int_t i) const;
 
  protected:
 
   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
+  Int_t   fClusCellDataX[19]; // Array containing cell X
+  Int_t   fClusCellDataY[19]; // Array containing cell Y
+  Int_t   fClusCellTrack[19]; // Array containing cell track no
+  Int_t   fClusCellPid[19];   // Array containing cell pid
+  Float_t fClusCellAdc[19];   // Array containing cell adc
   Float_t fClusData[6];       // Array containing cluster information
+
   /*
     fDet         : Det (0:PRE, 1:CPV), fSMN         : SerialModuleNo
     fClusData[0] : Cluster x         , fClusData[1] : Cluster y
@@ -51,7 +60,7 @@ class AliPMDcluster : public TObject
     fClusData[4] : Cluster SigmaX    , fClusData[5] : Cluster SigmaY
   */
   
-  ClassDef(AliPMDcluster,3) // Keep Cluster information
+  ClassDef(AliPMDcluster,6) // Keep Cluster information
 };
 
 #endif