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