remove iostream
[u/mrichter/AliRoot.git] / PHOS / AliPHOSReconstructioner.h
CommitLineData
d15a28e7 1#ifndef ALIPHOSRECONSTRUCTIONER_H
2#define ALIPHOSRECONSTRUCTIONER_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6ad0bfa0 6/* $Id$ */
7
b2a60966 8//_________________________________________________________________________
9a6ec61a 9// Wrapping class for reconstruction
a3dfe79c 10//*--
7acf6008 11//*-- Author: Gines Martinez & Yves Schutz (SUBATECH)
12//*-- Dmitri Peressounko (SUBATECH & Kurchatov Institute)
d15a28e7 13
fdeead01 14#include <stdlib.h>
15
d15a28e7 16// --- ROOT system ---
17
7acf6008 18#include "TTask.h"
19class AliPHOSDigitizer ;
20class AliPHOSClusterizer ;
21class AliPHOSTrackSegmentMaker ;
22class AliPHOSPID ;
23class AliPHOSSDigitizer ;
d15a28e7 24
25// --- Standard library ---
26
27// --- AliRoot header files ---
28
7acf6008 29class AliPHOSReconstructioner : public TTask {
d15a28e7 30
31public:
32
7acf6008 33 AliPHOSReconstructioner() ; //ctor
fbf811ec 34 AliPHOSReconstructioner(const char * headreFile, const char * branchName = "Default",Bool_t toSplit = kFALSE) ;
7acf6008 35 AliPHOSReconstructioner(const AliPHOSReconstructioner & rec) {
36 // cpy ctor:
839ffcb3 37 // requested by the Coding Convention
7acf6008 38 abort() ;
839ffcb3 39 }
40
7acf6008 41 virtual ~AliPHOSReconstructioner() ;
d15a28e7 42
7acf6008 43 virtual void Exec(Option_t * option) ;
d15a28e7 44
baef0810 45 AliPHOSDigitizer * GetDigitizer() const { return fDigitizer ; }
46 AliPHOSClusterizer * GetClusterizer()const { return fClusterizer ; }
47 AliPHOSPID * GetPID() const { return fPID; }
48 AliPHOSTrackSegmentMaker * GetTSMaker() const { return fTSMaker ; }
49 AliPHOSSDigitizer * GetSDigitizer() const { return fSDigitizer ; }
7acf6008 50
51 void Print(Option_t * option)const ;
52
fbf811ec 53 // void SetBranchTitle(const char* branch,const char * title) ;
54 // // Sets the branch titles to separate different reconstruction flows
55 //
56 // void StartFrom(char * module = "SDigitizer",char * title = "Default") ;
57 // // From wich step reconstruction begins,
58 // // title to be set to all reconstructed branches
364de5c6 59
839ffcb3 60 AliPHOSReconstructioner & operator = (const AliPHOSReconstructioner & rvalue) {
a3dfe79c 61 // assignement operator requested by coding convention but not needed
7acf6008 62 abort() ;
839ffcb3 63 return *this ;
64 }
65
d15a28e7 66
67private:
7acf6008 68 void Init() ;
69
70private:
d15a28e7 71
fbf811ec 72 Bool_t fToSplit ;
7acf6008 73 TString fHeaderFileName ; // File with headers and gAlice
74 TString fDigitsBranch ; // Title of digits branch
81b0fcd1 75 TString fRecPointBranch ; // Title of RecPoints branch
76 TString fTSBranch ; // Title of TrackSegments branch
77 TString fRecPartBranch ; // Title of RecParticles branch
78 TString fSDigitsBranch ; // Title of SDigits branch
7acf6008 79
80
81b0fcd1 81 AliPHOSDigitizer * fDigitizer ; //! Pointer to AliPHOSDigitizer
82 AliPHOSClusterizer * fClusterizer ; //! Pointer to AliPHOSClusterizer
83 AliPHOSPID * fPID ; //! Pointer to AliPHOSPID
84 AliPHOSTrackSegmentMaker * fTSMaker ; //! Pointer to AliPHOSTrackSegmentMaker
85 AliPHOSSDigitizer * fSDigitizer ; //! Pointer to AliPHOSSDigitizer
7acf6008 86
baef0810 87 Bool_t fIsInitialized ; // kTRUE if reconstructioner is initialized
92862013 88
b2a60966 89 ClassDef(AliPHOSReconstructioner,1) // Reconstruction algorithm class (Base Class)
d15a28e7 90
91};
92
93#endif // ALIPHOSRECONSTRUCTIONER_H