]>
Commit | Line | Data |
---|---|---|
d15a28e7 | 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 */ | |
6ad0bfa0 | 5 | |
6 | /* $Id$ */ | |
d15a28e7 | 7 | |
b2a60966 | 8 | //_________________________________________________________________________ |
8d0f3f77 | 9 | // Base class for the clusterization algorithm |
9a1398dd | 10 | //*-- Author: Yves Schutz (SUBATECH) & Dmitri Peressounko (SUBATECH & Kurchatov Institute) |
d15a28e7 | 11 | // --- ROOT system --- |
12 | ||
9a1398dd | 13 | #include "TTask.h" |
d15a28e7 | 14 | |
15 | // --- Standard library --- | |
16 | ||
17 | // --- AliRoot header files --- | |
18 | ||
9a1398dd | 19 | //#include "AliPHOSDigit.h" |
d15a28e7 | 20 | |
9a1398dd | 21 | class AliPHOSClusterizer : public TTask { |
d15a28e7 | 22 | |
23 | public: | |
24 | ||
7b7c1533 | 25 | AliPHOSClusterizer() ; // default ctor |
fbf811ec | 26 | AliPHOSClusterizer(const char * headerFile, const char * name, const Bool_t toSplit) ; |
0bc3b8ed | 27 | AliPHOSClusterizer(const AliPHOSClusterizer & clusterizer) { |
28 | // copy ctor: no implementation yet | |
29 | Fatal("cpy ctor", "not implemented") ; | |
30 | } | |
d15a28e7 | 31 | virtual ~AliPHOSClusterizer() ; // dtor |
32 | ||
21cd0c07 | 33 | virtual Float_t GetEmcClusteringThreshold()const {Warning("GetEmcClusteringThreshold", "Not Defined" ) ; return 0. ; } |
34 | virtual Float_t GetEmcLocalMaxCut()const {Warning("GetEmcLocalMaxCut", "Not Defined" ) ; return 0. ; } | |
35 | virtual Float_t GetEmcLogWeight()const {Warning("GetEmcLogWeight", "Not Defined" ) ; return 0. ; } | |
36 | virtual Float_t GetEmcTimeGate() const {Warning("GetEmcTimeGate", "Not Defined" ) ; return 0. ; } ; | |
37 | virtual Float_t GetCpvClusteringThreshold()const {Warning("GetCpvClusteringThreshold", "Not Defined" ) ; return 0. ; } | |
38 | virtual Float_t GetCpvLocalMaxCut()const {Warning("GetCpvLocalMaxCut", "Not Defined" ) ; return 0. ; } | |
39 | virtual Float_t GetCpvLogWeight()const {Warning("GetCpvLogWeight", "Not Defined" ) ; return 0. ; } | |
40 | virtual const char * GetRecPointsBranch() const {Warning("GetRecPointsBranch", "Not Defined" ) ; return 0 ; } ; | |
41 | virtual const Int_t GetRecPointsInRun() const {Warning("GetRecPointsInRun", "Not Defined" ) ; return 0 ; } | |
42 | virtual const char * GetDigitsBranch() const{Warning("GetDigitsBranch", "Not Defined" ) ; return 0 ; } ; | |
43 | ||
44 | virtual void MakeClusters() {Warning("MakeClusters", "Not Defined" ) ; } | |
45 | virtual void Print(Option_t * option)const {Warning("Print", "Not Defined" ) ; } | |
46 | ||
47 | virtual void SetEmcClusteringThreshold(Float_t cluth) {Warning("SetEmcClusteringThreshold", "Not Defined" ) ; } | |
48 | virtual void SetEmcLocalMaxCut(Float_t cut) {Warning("SetEmcLocalMaxCut", "Not Defined" ) ; } | |
0bc3b8ed | 49 | |
21cd0c07 | 50 | virtual void SetEmcLogWeight(Float_t w) {Warning("SetEmcLogWeight", "Not Defined" ) ; } |
51 | virtual void SetEmcTimeGate(Float_t gate) {Warning("SetEmcTimeGate", "Not Defined" ) ; } | |
52 | virtual void SetCpvClusteringThreshold(Float_t cluth) {Warning("SetCpvClusteringThreshold", "Not Defined" ) ; } | |
53 | virtual void SetCpvLocalMaxCut(Float_t cut) {Warning("SetCpvLocalMaxCut", "Not Defined" ) ; } | |
54 | virtual void SetCpvLogWeight(Float_t w) {Warning("SetCpvLogWeight", "Not Defined" ) ; } | |
55 | virtual void SetDigitsBranch(const char * title) {Warning("SetDigitsBranch", "Not Defined" ) ; } | |
56 | virtual void SetRecPointsBranch(const char *title) {Warning("SetRecPointsBranch", "Not Defined" ) ; } | |
57 | virtual void SetUnfolding(Bool_t toUnfold ){Warning("SetUnfolding", "Not Defined" ) ;} | |
0bc3b8ed | 58 | AliPHOSClusterizer & operator = (const AliPHOSClusterizer & rvalue) { |
59 | // assignement operator requested by coding convention but not needed | |
60 | Fatal("operator =", "not implemented") ; return *this ; | |
61 | } | |
21cd0c07 | 62 | virtual const char * Version() const {Warning("Version", "Not Defined" ) ; return 0 ; } |
9a1398dd | 63 | |
8d0f3f77 | 64 | protected: |
65 | ||
66 | TFile * fSplitFile ; //! file in which RecPoints will eventually be stored | |
fbf811ec | 67 | Bool_t fToSplit ; //! Should we write to splitted file |
9bd3caba | 68 | |
8581019b | 69 | ClassDef(AliPHOSClusterizer,2) // Clusterization algorithm class |
d15a28e7 | 70 | |
71 | } ; | |
72 | ||
73 | #endif // AliPHOSCLUSTERIZER_H |