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