]>
Commit | Line | Data |
---|---|---|
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 */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | /* History of cvs commits: | |
9 | * | |
10 | * $Log$ | |
11 | * Revision 1.38 2005/07/25 15:53:09 kharlov | |
12 | * Set raw data reader | |
13 | * | |
14 | * Revision 1.37 2005/05/28 14:19:04 schutz | |
15 | * Compilation warnings fixed by T.P. | |
16 | * | |
17 | */ | |
18 | ||
19 | //_________________________________________________________________________ | |
20 | // Base class for the clusterization algorithm | |
21 | //*-- Author: Yves Schutz (SUBATECH) & Dmitri Peressounko (SUBATECH & Kurchatov Institute) | |
22 | // --- ROOT system --- | |
23 | ||
24 | #include "TTask.h" | |
25 | #include "AliConfig.h" | |
26 | #include "AliRawReaderFile.h" | |
27 | ||
28 | class TFile ; | |
29 | ||
30 | // --- Standard library --- | |
31 | ||
32 | // --- AliRoot header files --- | |
33 | ||
34 | class AliPHOSClusterizer : public TTask { | |
35 | ||
36 | public: | |
37 | ||
38 | AliPHOSClusterizer() ; // default ctor | |
39 | AliPHOSClusterizer(const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ; | |
40 | AliPHOSClusterizer(const AliPHOSClusterizer & clusterizer) : TTask(clusterizer) { ; } | |
41 | virtual ~AliPHOSClusterizer() ; // dtor | |
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. ; } | |
49 | virtual Int_t GetRecPointsInRun() const {Warning("GetRecPointsInRun", "Not Defined" ) ; return 0 ; } | |
50 | ||
51 | virtual void MakeClusters() {Warning("MakeClusters", "Not Defined" ) ; } | |
52 | virtual void Print(const Option_t * = "")const {Warning("Print", "Not Defined" ) ; } | |
53 | ||
54 | virtual void SetEmcClusteringThreshold(Float_t) = 0; | |
55 | virtual void SetEmcLocalMaxCut(Float_t ) = 0; | |
56 | ||
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; | |
63 | void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; } | |
64 | void SetEventFolderName(TString name) { fEventFolderName = name ; } | |
65 | void SetRawReader(AliRawReader *reader) {fRawReader = reader;} | |
66 | ||
67 | AliPHOSClusterizer & operator = (const AliPHOSClusterizer & /*rvalue*/) {return *this ;} | |
68 | ||
69 | virtual const char * Version() const {Warning("Version", "Not Defined" ) ; return 0 ; } | |
70 | ||
71 | protected: | |
72 | TString fEventFolderName ; // event folder name | |
73 | Int_t fFirstEvent; // first event to process | |
74 | Int_t fLastEvent; // last event to process | |
75 | AliRawReader *fRawReader; //! reader of raw data | |
76 | ||
77 | ClassDef(AliPHOSClusterizer,4) // Clusterization algorithm class | |
78 | ||
79 | } ; | |
80 | ||
81 | #endif // AliPHOSCLUSTERIZER_H |