]>
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 | |
702ab87e | 8 | /* History of cvs commits: |
9 | * | |
10 | * $Log$ | |
11 | */ | |
12 | ||
b2a60966 | 13 | //_________________________________________________________________________ |
8d0f3f77 | 14 | // Base class for the clusterization algorithm |
9a1398dd | 15 | //*-- Author: Yves Schutz (SUBATECH) & Dmitri Peressounko (SUBATECH & Kurchatov Institute) |
d15a28e7 | 16 | // --- ROOT system --- |
17 | ||
9a1398dd | 18 | #include "TTask.h" |
88cb7938 | 19 | #include "AliConfig.h" |
20 | ||
3e357865 | 21 | class TFile ; |
d15a28e7 | 22 | |
23 | // --- Standard library --- | |
24 | ||
25 | // --- AliRoot header files --- | |
26 | ||
9a1398dd | 27 | class AliPHOSClusterizer : public TTask { |
d15a28e7 | 28 | |
29 | public: | |
30 | ||
7b7c1533 | 31 | AliPHOSClusterizer() ; // default ctor |
e191bb57 | 32 | AliPHOSClusterizer(const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ; |
a8c47ab6 | 33 | AliPHOSClusterizer(const AliPHOSClusterizer & clusterizer) : TTask(clusterizer) { ; } |
d15a28e7 | 34 | virtual ~AliPHOSClusterizer() ; // dtor |
21cd0c07 | 35 | virtual Float_t GetEmcClusteringThreshold()const {Warning("GetEmcClusteringThreshold", "Not Defined" ) ; return 0. ; } |
36 | virtual Float_t GetEmcLocalMaxCut()const {Warning("GetEmcLocalMaxCut", "Not Defined" ) ; return 0. ; } | |
37 | virtual Float_t GetEmcLogWeight()const {Warning("GetEmcLogWeight", "Not Defined" ) ; return 0. ; } | |
38 | virtual Float_t GetEmcTimeGate() const {Warning("GetEmcTimeGate", "Not Defined" ) ; return 0. ; } ; | |
39 | virtual Float_t GetCpvClusteringThreshold()const {Warning("GetCpvClusteringThreshold", "Not Defined" ) ; return 0. ; } | |
40 | virtual Float_t GetCpvLocalMaxCut()const {Warning("GetCpvLocalMaxCut", "Not Defined" ) ; return 0. ; } | |
41 | virtual Float_t GetCpvLogWeight()const {Warning("GetCpvLogWeight", "Not Defined" ) ; return 0. ; } | |
44d15c99 | 42 | virtual Int_t GetRecPointsInRun() const {Warning("GetRecPointsInRun", "Not Defined" ) ; return 0 ; } |
21cd0c07 | 43 | |
44 | virtual void MakeClusters() {Warning("MakeClusters", "Not Defined" ) ; } | |
702ab87e | 45 | virtual void Print(const Option_t * = "")const {Warning("Print", "Not Defined" ) ; } |
21cd0c07 | 46 | |
90cceaf6 | 47 | virtual void SetEmcClusteringThreshold(Float_t) = 0; |
48 | virtual void SetEmcLocalMaxCut(Float_t ) = 0; | |
0bc3b8ed | 49 | |
90cceaf6 | 50 | virtual void SetEmcLogWeight(Float_t) = 0; |
51 | virtual void SetEmcTimeGate(Float_t) = 0; | |
52 | virtual void SetCpvClusteringThreshold(Float_t) = 0; | |
53 | virtual void SetCpvLocalMaxCut(Float_t) = 0; | |
54 | virtual void SetCpvLogWeight(Float_t) = 0; | |
55 | virtual void SetUnfolding(Bool_t) = 0; | |
eabde521 | 56 | void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; } |
57 | void SetEventFolderName(TString name) { fEventFolderName = name ; } | |
88cb7938 | 58 | |
8c140292 | 59 | AliPHOSClusterizer & operator = (const AliPHOSClusterizer & /*rvalue*/) {return *this ;} |
88cb7938 | 60 | |
21cd0c07 | 61 | virtual const char * Version() const {Warning("Version", "Not Defined" ) ; return 0 ; } |
9a1398dd | 62 | |
8d0f3f77 | 63 | protected: |
88cb7938 | 64 | TString fEventFolderName ; // event folder name |
eabde521 | 65 | Int_t fFirstEvent; // first event to process |
66 | Int_t fLastEvent; // last event to process | |
8d0f3f77 | 67 | |
eabde521 | 68 | ClassDef(AliPHOSClusterizer,4) // Clusterization algorithm class |
d15a28e7 | 69 | |
70 | } ; | |
71 | ||
72 | #endif // AliPHOSCLUSTERIZER_H |