1 #ifndef ALIEMCALCLUSTERIZER_H
2 #define ALIEMCALCLUSTERIZER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //_________________________________________________________________________
9 // Base class for the clusterization algorithm (pure abstract)
10 //*-- Author: Yves Schutz (SUBATECH) & Dmitri Peressounko (SUBATECH & Kurchatov Institute)
12 // August 2002 Yves Schutz: clone PHOS as closely as possible and intoduction
13 // of new IO (à la PHOS)
14 // --- ROOT system ---
19 // --- Standard library ---
21 // --- AliRoot header files ---
23 class AliEMCALClusterizer : public TObject {
27 AliEMCALClusterizer() ; // default ctor
28 virtual ~AliEMCALClusterizer() ; // dtorEM
30 virtual void Digits2Clusters(Option_t *option) = 0;
32 virtual Float_t GetTimeCut() const = 0;
34 virtual void SetECAClusteringThreshold(Float_t) = 0;
35 virtual void SetECALocalMaxCut(Float_t) = 0;
36 virtual void SetECALogWeight(Float_t) = 0;
37 virtual void SetTimeCut(Float_t) = 0;
38 virtual void SetUnfolding(Bool_t) = 0;
40 virtual const char * Version() const {Warning("Version", "Not Defined") ; return 0 ; }
42 virtual void SetInput(TTree *digitsTree);
43 virtual void SetOutput(TTree *clustersTree);
44 virtual void InitParameters() { AliInfo("Overload this method."); }
48 virtual void MakeClusters() = 0;
50 TClonesArray *fDigitsArr; // Array with EMCAL digits
51 TTree *fTreeR; // Tree with output clusters
52 TObjArray *fRecPoints; // Array with EMCAL clusters
55 AliEMCALClusterizer(const AliEMCALClusterizer &); //copy ctor
56 AliEMCALClusterizer & operator = (const AliEMCALClusterizer &);
58 ClassDef(AliEMCALClusterizer,1) // Clusterization algorithm class
61 #endif // AliEMCALCLUSTERIZER_H