]>
Commit | Line | Data |
---|---|---|
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" |
19 | class AliPHOSDigitizer ; | |
20 | class AliPHOSClusterizer ; | |
21 | class AliPHOSTrackSegmentMaker ; | |
22 | class AliPHOSPID ; | |
23 | class AliPHOSSDigitizer ; | |
d15a28e7 | 24 | |
25 | // --- Standard library --- | |
26 | ||
27 | // --- AliRoot header files --- | |
28 | ||
7acf6008 | 29 | class AliPHOSReconstructioner : public TTask { |
d15a28e7 | 30 | |
31 | public: | |
32 | ||
7acf6008 | 33 | AliPHOSReconstructioner() ; //ctor |
108bc8df | 34 | AliPHOSReconstructioner(const char * headreFile, const char * branchName = "Default") ; |
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 | ||
53 | void SetBranchTitle(const char* branch,const char * title) ; | |
9a6ec61a | 54 | // Sets the branch titles to separate different reconstruction flows |
7acf6008 | 55 | |
81b0fcd1 | 56 | void StartFrom(char * module = "SDigitizer",char * title = "Default") ; |
9a6ec61a | 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 | |
7acf6008 | 67 | private: |
68 | void Init() ; | |
69 | ||
d15a28e7 | 70 | private: |
71 | ||
7acf6008 | 72 | TString fHeaderFileName ; // File with headers and gAlice |
73 | TString fDigitsBranch ; // Title of digits branch | |
81b0fcd1 | 74 | TString fRecPointBranch ; // Title of RecPoints branch |
75 | TString fTSBranch ; // Title of TrackSegments branch | |
76 | TString fRecPartBranch ; // Title of RecParticles branch | |
77 | TString fSDigitsBranch ; // Title of SDigits branch | |
7acf6008 | 78 | |
79 | ||
81b0fcd1 | 80 | AliPHOSDigitizer * fDigitizer ; //! Pointer to AliPHOSDigitizer |
81 | AliPHOSClusterizer * fClusterizer ; //! Pointer to AliPHOSClusterizer | |
82 | AliPHOSPID * fPID ; //! Pointer to AliPHOSPID | |
83 | AliPHOSTrackSegmentMaker * fTSMaker ; //! Pointer to AliPHOSTrackSegmentMaker | |
84 | AliPHOSSDigitizer * fSDigitizer ; //! Pointer to AliPHOSSDigitizer | |
7acf6008 | 85 | |
baef0810 | 86 | Bool_t fIsInitialized ; // kTRUE if reconstructioner is initialized |
92862013 | 87 | |
b2a60966 | 88 | ClassDef(AliPHOSReconstructioner,1) // Reconstruction algorithm class (Base Class) |
d15a28e7 | 89 | |
90 | }; | |
91 | ||
92 | #endif // ALIPHOSRECONSTRUCTIONER_H |