]>
Commit | Line | Data |
---|---|---|
f6019cda | 1 | #ifndef ALIEMCALRECONSTRUCTOR_H |
2 | #define ALIEMCALRECONSTRUCTOR_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: Yves Schutz (SUBATECH) | |
12 | //*-- Dmitri Peressounko (SUBATECH & Kurchatov Institute) | |
13 | ||
14 | ||
15 | // --- ROOT system --- | |
16 | ||
17 | #include "AliReconstructor.h" | |
ba62dca0 | 18 | #include "AliEMCALTracker.h" |
f6019cda | 19 | class AliEMCALDigitizer ; |
20 | class AliEMCALClusterizer ; | |
f6019cda | 21 | class AliEMCALSDigitizer ; |
c47157cd | 22 | class AliEMCALRecParam; |
af885e0f | 23 | class AliESDEvent ; |
1d59832c | 24 | class AliRawReader ; |
f6019cda | 25 | |
26 | // --- Standard library --- | |
27 | ||
28 | // --- AliRoot header files --- | |
29 | ||
30 | class AliEMCALReconstructor : public AliReconstructor { | |
31 | ||
32 | public: | |
33 | ||
34 | AliEMCALReconstructor() ; //ctor | |
0a4cb131 | 35 | AliEMCALReconstructor(const AliEMCALReconstructor & rec); |
f6019cda | 36 | |
37 | virtual ~AliEMCALReconstructor() ; //dtor | |
38 | ||
4800667c | 39 | Bool_t Debug() const { return fDebug ; } |
40 | ||
41 | using AliReconstructor::FillESD; | |
c47157cd | 42 | virtual void FillESD(TTree* digitsTree, TTree* clustersTree, |
43 | AliESDEvent* esd) const; | |
ba62dca0 | 44 | AliTracker* CreateTracker (AliRunLoader* )const{return new AliEMCALTracker;} |
4800667c | 45 | using AliReconstructor::Reconstruct; |
c47157cd | 46 | virtual Bool_t HasLocalReconstruction() const {return kTRUE;}; |
47 | virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const; | |
48 | ||
49 | virtual Bool_t HasDigitConversion() const {return kTRUE;}; | |
50 | virtual void ConvertDigits(AliRawReader* rawReader, TTree* digitsTree) const; | |
a68156e6 | 51 | |
f6019cda | 52 | |
53 | AliEMCALReconstructor & operator = (const AliEMCALReconstructor & /*rvalue*/) { | |
54 | // assignement operator requested by coding convention but not needed | |
55 | Fatal("operator =", "not implemented") ; | |
56 | return *this ; | |
57 | } | |
58 | ||
c47157cd | 59 | void SetRecParam(AliEMCALRecParam * recParam){ fgkRecParam = recParam;} |
60 | ||
61 | static const AliEMCALRecParam* GetRecParam(){ return fgkRecParam;} | |
f6019cda | 62 | |
63 | private: | |
64 | ||
65 | Bool_t fDebug; //! verbosity controller | |
c47157cd | 66 | static AliEMCALRecParam* fgkRecParam; // reconstruction parameters for EMCAL |
67 | ||
68 | ClassDef(AliEMCALReconstructor,2) // Reconstruction algorithm class (Base Class) | |
f6019cda | 69 | |
70 | }; | |
71 | ||
72 | #endif // ALIEMCALRECONSTRUCTOR_H |