6ddf6724 |
1 | #ifndef ALIEMCALRECONSTRUCTIONER_H |
2 | #define ALIEMCALRECONSTRUCTIONER_H |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ |
5 | |
6 | /* $Id$ */ |
7 | |
8 | //_________________________________________________________________________ |
9 | // Wrapping class for reconstruction |
10 | //*-- |
11 | //*-- Author: Gines Martinez & Yves Schutz (SUBATECH) |
12 | //*-- Dmitri Peressounko (SUBATECH & Kurchatov Institute) |
13 | |
14 | #include <stdlib.h> |
15 | |
16 | // --- ROOT system --- |
17 | |
18 | #include "TTask.h" |
19 | class AliEMCALDigitizer ; |
20 | class AliEMCALClusterizer ; |
21 | //class AliEMCALTrackSegmentMaker ; |
22 | class AliEMCALPID ; |
23 | class AliEMCALSDigitizer ; |
24 | |
25 | // --- Standard library --- |
26 | |
27 | // --- AliRoot header files --- |
28 | |
29 | class AliEMCALReconstructioner : public TTask { |
30 | |
31 | public: |
32 | |
33 | AliEMCALReconstructioner() ; //ctor |
34 | AliEMCALReconstructioner(const char * headreFile, const char * branchName = "Default",Bool_t toSplit = kFALSE) ; |
35 | AliEMCALReconstructioner(const AliEMCALReconstructioner & rec) { |
36 | // cpy ctor: |
37 | // requested by the Coding Convention |
9859bfc0 |
38 | Fatal("cpy ctor", "not implemented") ; |
6ddf6724 |
39 | } |
40 | |
41 | virtual ~AliEMCALReconstructioner() ; |
42 | |
43 | virtual void Exec(Option_t * option) ; |
44 | |
45 | AliEMCALDigitizer * GetDigitizer() const { return fDigitizer ; } |
46 | AliEMCALClusterizer * GetClusterizer()const { return fClusterizer ; } |
47 | //AliEMCALPID * GetPID() const { return fPID; } |
48 | //AliEMCALTrackSegmentMaker * GetTSMaker() const { return fTSMaker ; } |
49 | AliEMCALSDigitizer * GetSDigitizer() const { return fSDigitizer ; } |
50 | |
51 | void Print(Option_t * option)const ; |
52 | |
53 | AliEMCALReconstructioner & operator = (const AliEMCALReconstructioner & rvalue) { |
54 | // assignement operator requested by coding convention but not needed |
9859bfc0 |
55 | Fatal("operator =", "not implemented") ; |
6ddf6724 |
56 | return *this ; |
57 | } |
58 | |
59 | |
60 | private: |
61 | void Init() ; |
62 | |
63 | private: |
64 | |
65 | Bool_t fToSplit ; |
66 | TString fHeaderFileName ; // File with headers and gAlice |
67 | TString fDigitsBranch ; // Title of digits branch |
68 | TString fRecPointBranch ; // Title of RecPoints branch |
69 | TString fTSBranch ; // Title of TrackSegments branch |
70 | TString fRecPartBranch ; // Title of RecParticles branch |
71 | TString fSDigitsBranch ; // Title of SDigits branch |
72 | |
73 | |
74 | AliEMCALDigitizer * fDigitizer ; //! Pointer to AliEMCALDigitizer |
75 | AliEMCALClusterizer * fClusterizer ; //! Pointer to AliEMCALClusterizer |
76 | //AliEMCALPID * fPID ; //! Pointer to AliEMCALPID |
77 | //AliEMCALTrackSegmentMaker * fTSMaker ; //! Pointer to AliEMCALTrackSegmentMaker |
78 | AliEMCALSDigitizer * fSDigitizer ; //! Pointer to AliEMCALSDigitizer |
79 | |
80 | Bool_t fIsInitialized ; // kTRUE if reconstructioner is initialized |
81 | |
82 | ClassDef(AliEMCALReconstructioner,1) // Reconstruction algorithm class (Base Class) |
83 | |
84 | }; |
85 | |
86 | #endif // ALIEMCALRECONSTRUCTIONER_H |