]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSClusterizer.h
Reconstruction part now handle all geometry options
[u/mrichter/AliRoot.git] / PHOS / AliPHOSClusterizer.h
index 938bf19eb80f1423d954a9e86ad5c848b3bf384e..c3e05b7dbf42cd2ec3dbbcefcf6ecc70324dd83c 100644 (file)
@@ -2,15 +2,12 @@
 #define ALIPHOSCLUSTERIZER_H
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
+                            
+/* $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 ---
 
@@ -21,9 +18,8 @@
 
 // --- AliRoot header files ---
 
-
-typedef TClonesArray    RecPointsList ; // a cluster has a variable size (see ROOT FAQ)  
-typedef TClonesArray    DigitsList ; //for digits saved on disk
+#include "AliPHOSDigit.h"
+#include "AliPHOSRecPoint.h"
 
 class AliPHOSClusterizer : public TObject {
 
@@ -33,10 +29,35 @@ public:
   virtual ~AliPHOSClusterizer() ; // dtor
 
   virtual Float_t Calibrate(Int_t Amp) = 0 ; 
-  virtual void  GetNumberOfClustersFound(Int_t * numb) = 0 ; 
-  virtual void  MakeClusters(const DigitsList * dl, RecPointsList * emccl, RecPointsList * ppsdl) = 0 ; 
+  virtual Bool_t IsInEmc(AliPHOSDigit * digit)= 0 ;   
+  virtual void    GetNumberOfClustersFound(Int_t * numb) = 0 ; 
+  virtual void    GetCalibrationParameters(Float_t & A, Float_t &B) = 0 ; 
+  virtual Float_t GetEmcClusteringThreshold() = 0 ; 
+  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 ; 
 
-  ClassDef(AliPHOSClusterizer,1)  // clusterization interface, version 1
+  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 algorithm class (abstract base class)
 
 } ;