1 #ifndef ALIPHOSCLUSTERIZER_H
2 #define ALIPHOSCLUSTERIZER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////////
9 // Algorithme class for the clusterization //
11 // Version SUBATECH //
12 // Author Yves Schutz SUBATECH //
15 ////////////////////////////////////////////////
17 // --- ROOT system ---
20 #include "TClonesArray.h"
22 // --- Standard library ---
24 // --- AliRoot header files ---
27 typedef TClonesArray RecPointsList ; // a cluster has a variable size (see ROOT FAQ)
28 typedef TClonesArray DigitsList ; //for digits saved on disk
30 class AliPHOSClusterizer : public TObject {
34 AliPHOSClusterizer() ; // ctor
35 virtual ~AliPHOSClusterizer() ; // dtor
37 virtual Float_t Calibrate(Int_t Amp) = 0 ;
38 virtual void GetNumberOfClustersFound(Int_t * numb) = 0 ;
39 virtual void MakeClusters(const DigitsList * dl, RecPointsList * emccl, RecPointsList * ppsdl) = 0 ;
40 virtual void PrintParameters() = 0 ;
41 virtual void SetCalibrationParameters(Float_t A, Float_t B) = 0 ;
42 virtual void SetEmcClusteringThreshold(Float_t cluth) = 0 ;
43 virtual void SetEmcEnergyThreshold(Float_t enth) = 0 ;
44 virtual void SetLocalMaxCut(Float_t cut) = 0 ;
45 virtual void SetLogWeightCut(Float_t w) = 0 ;
46 virtual void SetPpsdClusteringThreshold(Float_t cluth) = 0 ;
47 virtual void SetPpsdEnergyThreshold(Float_t enth) = 0 ;
49 ClassDef(AliPHOSClusterizer,1) // clusterization interface, version 1
53 #endif // AliPHOSCLUSTERIZER_H