]>
Commit | Line | Data |
---|---|---|
483b0559 | 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 */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //_________________________________________________________________________ | |
9 | // Base class for the clusterization algorithm (pure abstract) | |
10 | //*-- Author: Yves Schutz (SUBATECH) & Dmitri Peressounko (SUBATECH & Kurchatov Institute) | |
11 | // --- ROOT system --- | |
12 | ||
13 | #include "TTask.h" | |
839828a6 | 14 | class TFile ; |
483b0559 | 15 | // --- Standard library --- |
16 | ||
17 | // --- AliRoot header files --- | |
18 | ||
19 | //#include "AliEMCALDigit.h" | |
20 | ||
21 | class AliEMCALClusterizer : public TTask { | |
22 | ||
23 | public: | |
24 | ||
25 | AliEMCALClusterizer() ; // default ctor | |
26 | AliEMCALClusterizer(const char * headerFile, const char * name) ; | |
27 | virtual ~AliEMCALClusterizer() ; // dtor | |
28 | ||
9bd3caba | 29 | const TString GetHitsFileName() const { return fHitsFileName ; } |
30 | const TString GetSDigitsFileName() const { return fSDigitsFileName ; } | |
31 | const TString GetDigitsFileName() const { return fDigitsFileName ; } | |
32 | ||
483b0559 | 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 ; | |
43 | ||
44 | virtual void MakeClusters() = 0 ; | |
45 | virtual void Print(Option_t * option)const = 0; | |
46 | ||
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 ; | |
839828a6 | 56 | void SetSplitFile(const TString splitFileName = "EMCAL.RecPoints.root") ; |
483b0559 | 57 | virtual void SetUnfolding(Bool_t toUnfold ) = 0 ; |
58 | virtual const char * Version() const = 0 ; | |
59 | ||
839828a6 | 60 | protected: |
61 | ||
9bd3caba | 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 | |
839828a6 | 65 | TFile * fSplitFile ; //! file in which RecPoints will eventually be stored |
66 | ||
483b0559 | 67 | ClassDef(AliEMCALClusterizer,1) // Clusterization algorithm class |
68 | ||
69 | } ; | |
70 | ||
71 | #endif // AliEMCALCLUSTERIZER_H |