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 */
8 //_________________________________________________________________________
9 // Supervising class for reconstruction
11 //*-- Author: Gines Martinez & Yves Schutz (SUBATECH)
12 //*-- Dmitri Peressounko (SUBATECH & Kurchatov Institute)
14 // --- ROOT system ---
17 class AliPHOSDigitizer ;
18 class AliPHOSClusterizer ;
19 class AliPHOSTrackSegmentMaker ;
21 class AliPHOSSDigitizer ;
23 // --- Standard library ---
25 // --- AliRoot header files ---
27 class AliPHOSReconstructioner : public TTask {
31 AliPHOSReconstructioner() ; //ctor
32 AliPHOSReconstructioner(const char * headreFile) ;
33 AliPHOSReconstructioner(const AliPHOSReconstructioner & rec) {
35 // requested by the Coding Convention
39 virtual ~AliPHOSReconstructioner() ;
41 AliPHOSDigitizer * GetDigitizer() { return fDigitizer ; }
42 AliPHOSClusterizer * GetClusterizer(){ return fClusterizer ; }
43 AliPHOSPID * GetPID() { return fPID; }
44 AliPHOSTrackSegmentMaker * GetTSMaker() { return fTSMaker ; }
45 AliPHOSSDigitizer * GetSDigitizer() { return fSDigitizer ; }
47 void Print(Option_t * option)const ;
49 void SetBranchFileName(const char* branch,const char * fileName) ;
50 // Sets files, to which branch will be written
52 void StartFrom(Option_t * option = "AliPHOSSDigitizer") ;
53 // From wich step reconstruction begins
55 AliPHOSReconstructioner & operator = (const AliPHOSReconstructioner & rvalue) {
56 // assignement operator requested by coding convention but not needed
67 TString fHeaderFileName ; // File with headers and gAlice
68 TString fDigitsBranch ; // File where digits will be diverted
69 TString fRecPointBranch ; // -"- RecPoints -"-
70 TString fTSBranch ; // -"- TrackSegments -"-
71 TString fRecPartBranch ; // -"- RecParticles -"-
72 TString fSDigitsBranch ; // -"- SDigits -"-
75 AliPHOSDigitizer * fDigitizer ;
76 AliPHOSClusterizer * fClusterizer ;
78 AliPHOSTrackSegmentMaker * fTSMaker ;
79 AliPHOSSDigitizer * fSDigitizer ;
81 Bool_t fIsInitialized ;
83 ClassDef(AliPHOSReconstructioner,1) // Reconstruction algorithm class (Base Class)
87 #endif // ALIPHOSRECONSTRUCTIONER_H