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 ---
18 // --- Standard library ---
20 // --- AliRoot header files ---
21 #include "AliConfig.h"
23 class AliEMCALClusterizer : public TTask {
27 AliEMCALClusterizer() ; // default ctor
28 AliEMCALClusterizer(const TString alirunFileName, const TString eventFolderName = AliConfig::fgkDefaultEventFolderName) ;
29 virtual ~AliEMCALClusterizer() ; // dtor
31 virtual Float_t GetTowerClusteringThreshold()const {Warning("GetTowerClusteringThreshold", "Not Defined") ; return 0. ; }
32 virtual Float_t GetTowerLocalMaxCut()const {Warning("GetTowerLocalMaxCut", "Not Defined") ; return 0. ; }
33 virtual Float_t GetTowerLogWeight()const {Warning("GetTowerLogWeight", "Not Defined") ; return 0. ; }
34 virtual Float_t GetTimeGate() const {Warning("GetTimeGate", "Not Defined") ; return 0. ; }
35 virtual Float_t GetPreShoClusteringThreshold()const {Warning("GetPreShoClusteringThreshold", "Not Defined") ; return 0. ; }
36 virtual Float_t GetPreShoLocalMaxCut()const {Warning("GetPreShoLocalMaxCut", "Not Defined") ; return 0. ; }
37 virtual Float_t GetPreShoLogWeight()const {Warning("GetPreShoLogWeight", "Not Defined") ; return 0. ; }
38 virtual const char * GetRecPointsBranch() const {Warning("GetRecPointsBranch", "Not Defined") ; return 0 ; }
39 virtual const Int_t GetRecPointsInRun() const {Warning("GetRecPointsInRun", "Not Defined") ; return 0 ; }
40 virtual const char * GetDigitsBranch() const {Warning("GetDigitsBranch", "Not Defined") ; return 0 ; }
42 virtual void MakeClusters() {Warning("MakeClusters", "Not Defined") ; }
43 virtual void Print(Option_t * /*option*/)const {Warning("Print", "Not Defined") ; }
45 virtual void SetECAClusteringThreshold(Float_t) = 0;
46 virtual void SetECALocalMaxCut(Float_t) = 0;
47 virtual void SetECALogWeight(Float_t) = 0;
48 virtual void SetHCAClusteringThreshold(Float_t) = 0;
49 virtual void SetHCALocalMaxCut(Float_t) = 0;
50 virtual void SetHCALogWeight(Float_t) = 0;
51 virtual void SetTimeGate(Float_t) = 0;
52 virtual void SetPREClusteringThreshold(Float_t) = 0;
53 virtual void SetPRELocalMaxCut(Float_t) = 0;
54 virtual void SetPRELogWeight(Float_t) = 0;
55 virtual void SetUnfolding(Bool_t) = 0;
56 virtual const char * Version() const {Warning("Version", "Not Defined") ; return 0 ; }
59 TString fEventFolderName ; // event folder name
61 ClassDef(AliEMCALClusterizer,3) // Clusterization algorithm class
65 #endif // AliEMCALCLUSTERIZER_H