Elaborating split mode to write data only to the split files
[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"
d15a28e7 14
15// --- Standard library ---
0e294f24 16#include <iostream.h>
d15a28e7 17
18// --- AliRoot header files ---
19
9a1398dd 20//#include "AliPHOSDigit.h"
d15a28e7 21
9a1398dd 22class AliPHOSClusterizer : public TTask {
d15a28e7 23
24public:
25
7b7c1533 26 AliPHOSClusterizer() ; // default ctor
fbf811ec 27 AliPHOSClusterizer(const char * headerFile, const char * name, const Bool_t toSplit) ;
d15a28e7 28 virtual ~AliPHOSClusterizer() ; // dtor
29
fbf811ec 30 // const TString GetHitsFileName() const { return fHitsFileName ; }
31 // const TString GetSDigitsFileName() const { return fSDigitsFileName ; }
32 // const TString GetDigitsFileName() const { return fDigitsFileName ; }
9bd3caba 33
79bf6a2f 34 virtual Float_t GetEmcClusteringThreshold()const {cout << "Not Defined" << endl ; return 0. ; }
35 virtual Float_t GetEmcLocalMaxCut()const {cout << "Not Defined" << endl ; return 0. ; }
36 virtual Float_t GetEmcLogWeight()const {cout << "Not Defined" << endl ; return 0. ; }
37 virtual Float_t GetEmcTimeGate() const {cout << "Not Defined" << endl ; return 0. ; } ;
38 virtual Float_t GetCpvClusteringThreshold()const {cout << "Not Defined" << endl ; return 0. ; }
39 virtual Float_t GetCpvLocalMaxCut()const {cout << "Not Defined" << endl ; return 0. ; }
40 virtual Float_t GetCpvLogWeight()const {cout << "Not Defined" << endl ; return 0. ; }
fbf811ec 41 virtual const char * GetRecPointsBranch() const {cout << "Not Defined" << endl ; return 0 ; } ;
79bf6a2f 42 virtual const Int_t GetRecPointsInRun() const {cout << "Not Defined" << endl ; return 0 ; }
fbf811ec 43 virtual const char * GetDigitsBranch() const{cout << "Not Defined" << endl ; return 0 ; } ;
79bf6a2f 44
45 virtual void MakeClusters() {cout << "Not Defined" << endl ; }
46 virtual void Print(Option_t * option)const {cout << "Not Defined" << endl ; }
47
48 virtual void SetEmcClusteringThreshold(Float_t cluth) {cout << "Not Defined" << endl ; }
49 virtual void SetEmcLocalMaxCut(Float_t cut) {cout << "Not Defined" << endl ; }
50 virtual void SetEmcLogWeight(Float_t w) {cout << "Not Defined" << endl ; }
51 virtual void SetEmcTimeGate(Float_t gate) {cout << "Not Defined" << endl ; }
52 virtual void SetCpvClusteringThreshold(Float_t cluth) {cout << "Not Defined" << endl ; }
53 virtual void SetCpvLocalMaxCut(Float_t cut) {cout << "Not Defined" << endl ; }
54 virtual void SetCpvLogWeight(Float_t w) {cout << "Not Defined" << endl ; }
55 virtual void SetDigitsBranch(const char * title) {cout << "Not Defined" << endl ; }
56 virtual void SetRecPointsBranch(const char *title) {cout << "Not Defined" << endl ; }
fbf811ec 57 // // virtual void SetSplitFile(const TString splitFileName = "PHOS.RecData.root") ;
79bf6a2f 58 virtual void SetUnfolding(Bool_t toUnfold ){cout << "Not Defined" << endl ;}
59 virtual const char * Version() const {cout << "Not Defined" << endl ; return 0 ; }
9a1398dd 60
8d0f3f77 61protected:
62
fbf811ec 63 // TString fHitsFileName ; // file name that contains the original hits
64 // TString fSDigitsFileName ; // file name that contains the original SDigits
65 // TString fDigitsFileName ; // file name that contains the original Digits
8d0f3f77 66 TFile * fSplitFile ; //! file in which RecPoints will eventually be stored
fbf811ec 67 Bool_t fToSplit ; //! Should we write to splitted file
9bd3caba 68
8581019b 69 ClassDef(AliPHOSClusterizer,2) // Clusterization algorithm class
d15a28e7 70
71} ;
72
73#endif // AliPHOSCLUSTERIZER_H