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)
11 // --- ROOT system ---
15 // --- Standard library ---
17 // --- AliRoot header files ---
19 //#include "AliEMCALDigit.h"
21 class AliEMCALClusterizer : public TTask {
25 AliEMCALClusterizer() ; // default ctor
26 AliEMCALClusterizer(const char * headerFile, const char * name) ;
27 virtual ~AliEMCALClusterizer() ; // dtor
29 const TString GetHitsFileName() const { return fHitsFileName ; }
30 const TString GetSDigitsFileName() const { return fSDigitsFileName ; }
31 const TString GetDigitsFileName() const { return fDigitsFileName ; }
33 virtual Float_t GetEmcClusteringThreshold()const = 0 ;
34 virtual Float_t GetEmcLocalMaxCut()const = 0 ;
35 virtual Float_t GetEmcLogWeight()const = 0 ;
36 virtual Float_t GetTimeGate() const = 0 ;
37 virtual Float_t GetCpvClusteringThreshold()const = 0 ;
38 virtual Float_t GetCpvLocalMaxCut()const = 0 ;
39 virtual Float_t GetCpvLogWeight()const = 0 ;
40 virtual char * GetRecPointsBranch() const = 0 ;
41 virtual const Int_t GetRecPointsInRun() const = 0 ;
42 virtual char * GetDigitsBranch() const = 0 ;
44 virtual void MakeClusters() = 0 ;
45 virtual void Print(Option_t * option)const = 0;
47 virtual void SetTowerClusteringThreshold(Float_t cluth) = 0 ;
48 virtual void SetTowerLocalMaxCut(Float_t cut) = 0 ;
49 virtual void SetTowerLogWeight(Float_t w) = 0 ;
50 virtual void SetTimeGate(Float_t gate) = 0 ;
51 virtual void SetPreShoClusteringThreshold(Float_t cluth) = 0 ;
52 virtual void SetPreShoLocalMaxCut(Float_t cut) = 0 ;
53 virtual void SetPreShoLogWeight(Float_t w) = 0 ;
54 virtual void SetDigitsBranch(const char * title) = 0 ;
55 virtual void SetRecPointsBranch(const char *title) = 0 ;
56 void SetSplitFile(const TString splitFileName = "EMCAL.RecPoints.root") ;
57 virtual void SetUnfolding(Bool_t toUnfold ) = 0 ;
58 virtual const char * Version() const = 0 ;
62 TString fHitsFileName ; // file name that contains the original hits
63 TString fSDigitsFileName ; // file name that contains the original SDigits
64 TString fDigitsFileName ; // file name that contains the original Digits
65 TFile * fSplitFile ; //! file in which RecPoints will eventually be stored
67 ClassDef(AliEMCALClusterizer,1) // Clusterization algorithm class
71 #endif // AliEMCALCLUSTERIZER_H