]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PMD/AliPMDClusteringV1.h
Mapping file put in the CDB
[u/mrichter/AliRoot.git] / PMD / AliPMDClusteringV1.h
index ed667384ef9c1a407549facbaa64bcfff4f5893c..01b3d9814034ea49901b0577ab8dbe7d298f641a 100644 (file)
@@ -13,7 +13,7 @@
 //-----------------------------------------------------//
 // -- Author   : S.C. Phatak
 // -- Modified : B.K. Nandi, Ajay Dash
-//               S. Chattopadhyay
+//               T. Nayak, N. Sharma
 //
 #include "Rtypes.h"
 #include "AliPMDClustering.h"
@@ -22,6 +22,7 @@ class TNtuple;
 class TObjArray;
 class AliPMDcluster;
 class AliPMDcludata;
+
 class AliPMDClusteringV1: public AliPMDClustering
 {
  public:
@@ -30,16 +31,16 @@ class AliPMDClusteringV1: public AliPMDClustering
   AliPMDClusteringV1 &operator=(const AliPMDClusteringV1 &pmdclv1);
   virtual ~AliPMDClusteringV1();
 
-  void     DoClust(Int_t idet, Int_t ismn, Double_t celladc[][96],
-                  TObjArray *pmdcont);
+  void     DoClust(Int_t idet, Int_t ismn, Int_t celltrack[][96],
+                  Int_t cellpid[][96], Double_t celladc[][96],
+                  TObjArray *pmdisocell, TObjArray *pmdcont);
   Int_t    CrClust(Double_t ave, Double_t cutoff, Int_t nmx1,
                   Int_t iord1[], Double_t edepcell[]);
   void     RefClust(Int_t incr, Double_t edepcell[]);
-  void     GaussFit(Int_t ncell, Int_t nclust, Double_t &x,
-                   Double_t &y, Double_t &z, Double_t &xc,
-                   Double_t &yc, Double_t &zc, Double_t &rc);
   Double_t Distance(Double_t x1, Double_t y1,
                    Double_t x2, Double_t y2);
+  void     FindIsoCell(Int_t idet, Int_t ism,
+                      Double_t celladc[][96], TObjArray *pmdisocell);
   void     SetEdepCut(Float_t decut);
   
  protected:
@@ -55,15 +56,14 @@ class AliPMDClusteringV1: public AliPMDClustering
   };
 
   //Variables for association
-  Int_t    fCellTrNo[kNDIMX][kNDIMY];  // id x-y value of cells
   Int_t    fInfocl[2][kNDIMX][kNDIMY]; // cellwise information on the 
                                        // cluster to which the cell
   Int_t    fInfcl[3][kNMX];            // cluster information [0][i]
                                        // -- cluster number
   Double_t fCoord[2][kNDIMX][kNDIMY];
 
-  Float_t fCutoff; // Energy(ADC) cutoff per cell before clustering
+  Float_t  fCutoff; // Energy(ADC) cutoff per cell before clustering
 
-  ClassDef(AliPMDClusteringV1,4) // Does clustering for PMD
+  ClassDef(AliPMDClusteringV1,7) // Does clustering for PMD
 };
 #endif