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