]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSClusterizer.h
position of the particle initiating the hit in PHOS
[u/mrichter/AliRoot.git] / PHOS / AliPHOSClusterizer.h
index 6d7f5836b3938263337ff0aa9bafd116a798c738..c3e05b7dbf42cd2ec3dbbcefcf6ecc70324dd83c 100644 (file)
@@ -5,14 +5,9 @@
                             
 /* $Id$ */
 
-////////////////////////////////////////////////
-//  Algorithme class for the clusterization   //
-//  interface class                           //
-//  Version SUBATECH                          //
-//  Author Yves Schutz     SUBATECH           //
-//                                            //  
-//   pABC                                     //
-////////////////////////////////////////////////
+//_________________________________________________________________________
+//  Base class for the clusterization algorithm (pure abstract)
+//*-- Author: Yves Schutz (SUBATECH)
 
 // --- ROOT system ---
 
@@ -24,9 +19,7 @@
 // --- AliRoot header files ---
 
 #include "AliPHOSDigit.h"
-
-typedef TClonesArray    RecPointsList ; // a cluster has a variable size (see ROOT FAQ)  
-typedef TClonesArray    DigitsList ; //for digits saved on disk
+#include "AliPHOSRecPoint.h"
 
 class AliPHOSClusterizer : public TObject {
 
@@ -43,20 +36,28 @@ public:
   virtual Float_t GetEmcEnergyThreshold() = 0 ;  
   virtual Float_t GetLocalMaxCut() = 0 ; 
   virtual Float_t GetLogWeightCut() = 0 ; 
+  virtual Float_t GetLocalMaxCutCPV() = 0 ; 
+  virtual Float_t GetLogWeightCutCPV() = 0 ; 
   virtual Float_t GetPpsdClusteringThreshold() = 0 ; 
   virtual Float_t GetPpsdEnergyThreshold() = 0 ; 
 
-  virtual void  MakeClusters(const DigitsList * dl, RecPointsList * emccl, RecPointsList * ppsdl) = 0 ; 
+  virtual void MakeClusters(const DigitsList * dl,
+                           AliPHOSRecPoint::RecPointsList * emccl,
+                           AliPHOSRecPoint::RecPointsList * ppsdl) = 0 ; 
   virtual void PrintParameters() = 0 ;  
   virtual void SetCalibrationParameters(Float_t A, Float_t B) = 0 ; 
   virtual void SetEmcClusteringThreshold(Float_t cluth) = 0 ; 
   virtual void SetEmcEnergyThreshold(Float_t enth) = 0 ;  
   virtual void SetLocalMaxCut(Float_t cut) = 0 ; 
   virtual void SetLogWeightCut(Float_t w) = 0 ; 
+  virtual void SetLocalMaxCutCPV(Float_t cut) = 0 ; 
+  virtual void SetLogWeightCutCPV(Float_t w) = 0 ; 
   virtual void SetPpsdClusteringThreshold(Float_t cluth) = 0 ; 
   virtual void SetPpsdEnergyThreshold(Float_t enth) = 0 ; 
+  virtual void SetCpvClusteringThreshold(Float_t cluth) = 0 ; 
+  virtual void SetCpvEnergyThreshold(Float_t enth) = 0 ;  
  
-  ClassDef(AliPHOSClusterizer,1)  // clusterization interface, version 1
+  ClassDef(AliPHOSClusterizer,1)  // Clusterization algorithm class (abstract base class)
 
 } ;