]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PMD/AliPMDcluster.h
Det and SMN converted from float to int
[u/mrichter/AliRoot.git] / PMD / AliPMDcluster.h
index 8fb0f70b9f74921f7a5c34dbac631177c8187924..8fe9d5de0fccff96f9195f89a8f2d758d6b9cc1a 100644 (file)
@@ -1,5 +1,7 @@
 #ifndef ALIPMDCLUSTER_H
 #define ALIPMDCLUSTER_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
 //-----------------------------------------------------//
 //                                                     //
 //  Date   : August 05 2003                            //
@@ -16,13 +18,15 @@ class AliPMDcluster : public TObject
 {
  public:
   AliPMDcluster();
-  AliPMDcluster(Float_t * /* clusdata */);
+  AliPMDcluster(Int_t idet, Int_t ismn, Float_t *clusdata);
   AliPMDcluster(AliPMDcluster *pmdcluster) {*this = *pmdcluster;}
   AliPMDcluster (const AliPMDcluster &pmdcluster);  // copy constructor
   AliPMDcluster &operator=(const AliPMDcluster &pmdcluster); // assignment op
   
   virtual ~AliPMDcluster();
 
+  Int_t   GetDetector() const;
+  Int_t   GetSMN() const;
   Float_t GetClusX() const;
   Float_t GetClusY() const;
   Float_t GetClusADC() const;
@@ -31,14 +35,17 @@ class AliPMDcluster : public TObject
 
  protected:
 
+  Int_t   fDet;          // Detector No (0:PRE, 1:CPV)
+  Int_t   fSMN;          // Serial Module No.
   Float_t fClusData[5];  // Array containing cluster information
   /*
-    fClusData[0] : Cluster x      ,  fClusData[1] : Cluster y
-    fClusData[2] : Cluster adc    ,  fClusData[3] : Cluster Cells
+    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
   */
   
-  ClassDef(AliPMDcluster,1) // Keep Cluster information
+  ClassDef(AliPMDcluster,2) // Keep Cluster information
 };
 
 #endif