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