]>
Commit | Line | Data |
---|---|---|
aa7c9120 | 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 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //_________________________________________________________________________ | |
9 | // Supervising class for reconstruction | |
10 | //*-- | |
11 | //*-- Author: Gines Martinez & Yves Schutz (SUBATECH) | |
12 | //*-- Dmitri Peressounko (SUBATECH & Kurchatov Institute) | |
13 | ||
14 | // --- ROOT system --- | |
15 | ||
16 | #include "TTask.h" | |
17 | class AliPHOSDigitizer ; | |
18 | class AliPHOSClusterizer ; | |
19 | class AliPHOSTrackSegmentMaker ; | |
20 | class AliPHOSPID ; | |
21 | class AliPHOSSDigitizer ; | |
22 | ||
23 | // --- Standard library --- | |
24 | ||
25 | // --- AliRoot header files --- | |
26 | ||
27 | class AliPHOSReconstructioner : public TTask { | |
28 | ||
29 | public: | |
30 | ||
31 | AliPHOSReconstructioner() ; //ctor | |
32 | AliPHOSReconstructioner(const char * headreFile) ; | |
33 | AliPHOSReconstructioner(const AliPHOSReconstructioner & rec) { | |
34 | // cpy ctor: | |
35 | // requested by the Coding Convention | |
36 | abort() ; | |
37 | } | |
38 | ||
39 | virtual ~AliPHOSReconstructioner() ; | |
40 | ||
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 ; } | |
46 | ||
47 | void Print(Option_t * option)const ; | |
48 | ||
49 | void SetBranchFileName(const char* branch,const char * fileName) ; | |
50 | // Sets files, to which branch will be written | |
51 | ||
52 | void StartFrom(Option_t * option = "AliPHOSSDigitizer") ; | |
53 | // From wich step reconstruction begins | |
54 | ||
55 | AliPHOSReconstructioner & operator = (const AliPHOSReconstructioner & rvalue) { | |
56 | // assignement operator requested by coding convention but not needed | |
57 | abort() ; | |
58 | return *this ; | |
59 | } | |
60 | ||
61 | ||
62 | private: | |
63 | void Init() ; | |
64 | ||
65 | private: | |
66 | ||
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 -"- | |
73 | ||
74 | ||
75 | AliPHOSDigitizer * fDigitizer ; | |
76 | AliPHOSClusterizer * fClusterizer ; | |
77 | AliPHOSPID * fPID ; | |
78 | AliPHOSTrackSegmentMaker * fTSMaker ; | |
79 | AliPHOSSDigitizer * fSDigitizer ; | |
80 | ||
81 | Bool_t fIsInitialized ; | |
82 | ||
83 | ClassDef(AliPHOSReconstructioner,1) // Reconstruction algorithm class (Base Class) | |
84 | ||
85 | }; | |
86 | ||
87 | #endif // ALIPHOSRECONSTRUCTIONER_H |