]>
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 ; |
65bdc82f | 25 | class AliEMCALRawUtils; |
26 | class AliEMCALGeometry; | |
f6019cda | 27 | |
28 | // --- Standard library --- | |
29 | ||
30 | // --- AliRoot header files --- | |
31 | ||
32 | class AliEMCALReconstructor : public AliReconstructor { | |
33 | ||
34 | public: | |
35 | ||
36 | AliEMCALReconstructor() ; //ctor | |
0a4cb131 | 37 | AliEMCALReconstructor(const AliEMCALReconstructor & rec); |
f6019cda | 38 | |
39 | virtual ~AliEMCALReconstructor() ; //dtor | |
40 | ||
4800667c | 41 | Bool_t Debug() const { return fDebug ; } |
42 | ||
43 | using AliReconstructor::FillESD; | |
c47157cd | 44 | virtual void FillESD(TTree* digitsTree, TTree* clustersTree, |
45 | AliESDEvent* esd) const; | |
d76c31f4 | 46 | AliTracker* CreateTracker () const |
47 | {return new AliEMCALTracker;} | |
4800667c | 48 | using AliReconstructor::Reconstruct; |
c47157cd | 49 | virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const; |
50 | ||
51 | virtual Bool_t HasDigitConversion() const {return kTRUE;}; | |
52 | virtual void ConvertDigits(AliRawReader* rawReader, TTree* digitsTree) const; | |
a68156e6 | 53 | |
f6019cda | 54 | |
55 | AliEMCALReconstructor & operator = (const AliEMCALReconstructor & /*rvalue*/) { | |
56 | // assignement operator requested by coding convention but not needed | |
57 | Fatal("operator =", "not implemented") ; | |
58 | return *this ; | |
59 | } | |
60 | ||
c47157cd | 61 | void SetRecParam(AliEMCALRecParam * recParam){ fgkRecParam = recParam;} |
62 | ||
fa42b1f3 | 63 | void InitRecParam() const; |
c47157cd | 64 | static const AliEMCALRecParam* GetRecParam(){ return fgkRecParam;} |
f6019cda | 65 | |
66 | private: | |
67 | ||
68 | Bool_t fDebug; //! verbosity controller | |
c47157cd | 69 | static AliEMCALRecParam* fgkRecParam; // reconstruction parameters for EMCAL |
65bdc82f | 70 | static AliEMCALRawUtils* fgRawUtils; // raw utilities class - |
71 | // only need one per reco | |
72 | AliEMCALGeometry *fGeom; // pointer to the EMCAL geometry | |
c47157cd | 73 | |
65bdc82f | 74 | ClassDef(AliEMCALReconstructor,3) // Reconstruction algorithm class (Base Class) |
f6019cda | 75 | |
76 | }; | |
77 | ||
78 | #endif // ALIEMCALRECONSTRUCTOR_H |