]>
Commit | Line | Data |
---|---|---|
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 | //*-- | |
d018ba66 | 11 | //*-- Author: Yves Schutz (SUBATECH) |
6ddf6724 | 12 | //*-- Dmitri Peressounko (SUBATECH & Kurchatov Institute) |
13 | ||
6ddf6724 | 14 | |
15 | // --- ROOT system --- | |
16 | ||
17 | #include "TTask.h" | |
18 | class AliEMCALDigitizer ; | |
d018ba66 | 19 | class AliEMCALClusterizer ; |
6ddf6724 | 20 | class AliEMCALPID ; |
21 | class AliEMCALSDigitizer ; | |
d018ba66 | 22 | class AliESD ; |
6ddf6724 | 23 | |
24 | // --- Standard library --- | |
25 | ||
26 | // --- AliRoot header files --- | |
27 | ||
28 | class AliEMCALReconstructioner : public TTask { | |
29 | ||
30 | public: | |
31 | ||
32 | AliEMCALReconstructioner() ; //ctor | |
85ef0957 | 33 | AliEMCALReconstructioner(const char * headerFile, const char * branchName = "Default"); |
d018ba66 | 34 | AliEMCALReconstructioner(const AliEMCALReconstructioner & rec) : TTask(rec) { |
6ddf6724 | 35 | // cpy ctor: |
36 | // requested by the Coding Convention | |
d018ba66 | 37 | Fatal("cpy ctor", "not implemented") ; |
6ddf6724 | 38 | } |
39 | ||
40 | virtual ~AliEMCALReconstructioner() ; | |
41 | ||
d018ba66 | 42 | virtual void Exec(Option_t *) ; |
43 | void Clusters2Tracks(Int_t ievent, AliESD *event); | |
6ddf6724 | 44 | |
d018ba66 | 45 | AliEMCALClusterizer * GetClusterizer()const { return fClusterizer ; } |
46 | AliEMCALPID * GetPID() const { return fPID; } | |
5082063d | 47 | void SetEventRange(Int_t first=0, Int_t last=-1) ; |
6ddf6724 | 48 | |
d018ba66 | 49 | void Print()const ; |
d018ba66 | 50 | |
51 | AliEMCALReconstructioner & operator = (const AliEMCALReconstructioner & /*rvalue*/) { | |
6ddf6724 | 52 | // assignement operator requested by coding convention but not needed |
d018ba66 | 53 | Fatal("operator =", "not implemented") ; |
6ddf6724 | 54 | return *this ; |
55 | } | |
56 | ||
6ddf6724 | 57 | private: |
58 | void Init() ; | |
59 | ||
60 | private: | |
61 | ||
6ddf6724 | 62 | TString fRecPointBranch ; // Title of RecPoints branch |
6ddf6724 | 63 | TString fRecPartBranch ; // Title of RecParticles branch |
6ddf6724 | 64 | |
65 | ||
d018ba66 | 66 | AliEMCALClusterizer * fClusterizer ; //! Pointer to AliEMCALClusterizer |
67 | AliEMCALPID * fPID ; //! Pointer to AliEMCALPID | |
5082063d | 68 | Bool_t fIsInitialized ; // kTRUE if reconstructioner is initialized |
69 | Int_t fFirstEvent; // first event to process | |
70 | Int_t fLastEvent; // last event to process | |
6ddf6724 | 71 | |
d018ba66 | 72 | ClassDef(AliEMCALReconstructioner,1) // Reconstruction algorithm class (Base Class) |
6ddf6724 | 73 | |
74 | }; | |
75 | ||
76 | #endif // ALIEMCALRECONSTRUCTIONER_H |