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 // Wrapping class for reconstruction
11 //*-- Author: Gines Martinez & Yves Schutz (SUBATECH)
12 //*-- Dmitri Peressounko (SUBATECH & Kurchatov Institute)
16 // --- ROOT system ---
19 class AliPHOSDigitizer ;
20 class AliPHOSClusterizer ;
21 class AliPHOSTrackSegmentMaker ;
23 class AliPHOSSDigitizer ;
25 // --- Standard library ---
27 // --- AliRoot header files ---
29 class AliPHOSReconstructioner : public TTask {
33 AliPHOSReconstructioner() ; //ctor
34 AliPHOSReconstructioner(const char * headreFile, const char * branchName = "Default",Bool_t toSplit = kFALSE) ;
35 AliPHOSReconstructioner(const AliPHOSReconstructioner & rec) {
37 // requested by the Coding Convention
38 Fatal("cpy ctor", "not implemented") ;
41 virtual ~AliPHOSReconstructioner() ;
43 virtual void Exec(Option_t * option) ;
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 ; }
51 void Print(Option_t * option)const ;
53 // void SetBranchTitle(const char* branch,const char * title) ;
54 // // Sets the branch titles to separate different reconstruction flows
56 // void StartFrom(char * module = "SDigitizer",char * title = "Default") ;
57 // // From wich step reconstruction begins,
58 // // title to be set to all reconstructed branches
60 AliPHOSReconstructioner & operator = (const AliPHOSReconstructioner & rvalue) {
61 // assignement operator requested by coding convention but not needed
62 Fatal("operator =", "not implemented") ;
73 TString fHeaderFileName ; // File with headers and gAlice
74 TString fDigitsBranch ; // Title of digits branch
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
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
87 Bool_t fIsInitialized ; // kTRUE if reconstructioner is initialized
89 ClassDef(AliPHOSReconstructioner,1) // Reconstruction algorithm class (Base Class)
93 #endif // ALIPHOSRECONSTRUCTIONER_H