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