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 | //_________________________________________________________________________ |
7acf6008 |
9 | // Supervising class for reconstruction |
a3dfe79c |
10 | //*-- |
7acf6008 |
11 | //*-- Author: Gines Martinez & Yves Schutz (SUBATECH) |
12 | //*-- Dmitri Peressounko (SUBATECH & Kurchatov Institute) |
d15a28e7 |
13 | |
14 | // --- ROOT system --- |
15 | |
7acf6008 |
16 | #include "TTask.h" |
17 | class AliPHOSDigitizer ; |
18 | class AliPHOSClusterizer ; |
19 | class AliPHOSTrackSegmentMaker ; |
20 | class AliPHOSPID ; |
21 | class AliPHOSSDigitizer ; |
d15a28e7 |
22 | |
23 | // --- Standard library --- |
24 | |
25 | // --- AliRoot header files --- |
26 | |
7acf6008 |
27 | class AliPHOSReconstructioner : public TTask { |
d15a28e7 |
28 | |
29 | public: |
30 | |
7acf6008 |
31 | AliPHOSReconstructioner() ; //ctor |
32 | AliPHOSReconstructioner(const char * headreFile) ; |
33 | AliPHOSReconstructioner(const AliPHOSReconstructioner & rec) { |
34 | // cpy ctor: |
839ffcb3 |
35 | // requested by the Coding Convention |
7acf6008 |
36 | abort() ; |
839ffcb3 |
37 | } |
38 | |
7acf6008 |
39 | virtual ~AliPHOSReconstructioner() ; |
d15a28e7 |
40 | |
7acf6008 |
41 | virtual void Exec(Option_t * option) ; |
d15a28e7 |
42 | |
7acf6008 |
43 | AliPHOSDigitizer * GetDigitizer() { return fDigitizer ; } |
44 | AliPHOSClusterizer * GetClusterizer(){ return fClusterizer ; } |
45 | AliPHOSPID * GetPID() { return fPID; } |
46 | AliPHOSTrackSegmentMaker * GetTSMaker() { return fTSMaker ; } |
47 | AliPHOSSDigitizer * GetSDigitizer() { return fSDigitizer ; } |
48 | |
49 | void Print(Option_t * option)const ; |
50 | |
51 | void SetBranchTitle(const char* branch,const char * title) ; |
52 | // Sets files, to which branch will be written |
53 | |
54 | void StartFrom(Option_t * option = "AliPHOSSDigitizer") ; |
55 | // From wich step reconstruction begins |
364de5c6 |
56 | |
839ffcb3 |
57 | AliPHOSReconstructioner & operator = (const AliPHOSReconstructioner & rvalue) { |
a3dfe79c |
58 | // assignement operator requested by coding convention but not needed |
7acf6008 |
59 | abort() ; |
839ffcb3 |
60 | return *this ; |
61 | } |
62 | |
d15a28e7 |
63 | |
7acf6008 |
64 | private: |
65 | void Init() ; |
66 | |
d15a28e7 |
67 | private: |
68 | |
7acf6008 |
69 | TString fHeaderFileName ; // File with headers and gAlice |
70 | TString fDigitsBranch ; // Title of digits branch |
71 | TString fRecPointBranch ; // -"- RecPoints -"- |
72 | TString fTSBranch ; // -"- TrackSegments -"- |
73 | TString fRecPartBranch ; // -"- RecParticles -"- |
74 | TString fSDigitsBranch ; // -"- SDigits -"- |
75 | |
76 | |
77 | AliPHOSDigitizer * fDigitizer ; |
78 | AliPHOSClusterizer * fClusterizer ; |
79 | AliPHOSPID * fPID ; |
80 | AliPHOSTrackSegmentMaker * fTSMaker ; |
81 | AliPHOSSDigitizer * fSDigitizer ; |
82 | |
83 | Bool_t fIsInitialized ; |
92862013 |
84 | |
b2a60966 |
85 | ClassDef(AliPHOSReconstructioner,1) // Reconstruction algorithm class (Base Class) |
d15a28e7 |
86 | |
87 | }; |
88 | |
89 | #endif // ALIPHOSRECONSTRUCTIONER_H |