#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 ---
// --- 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 {
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)
} ;