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