]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALReconstructor.h
Update to new method names in AliESDv0, load them in visscan_init.C.
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALReconstructor.h
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" 
18 #include "AliEMCALTracker.h" 
19 class AliEMCALDigitizer ;
20 class AliEMCALClusterizer ;
21 class AliEMCALSDigitizer ;
22 class AliEMCALRecParam;
23 class AliESDEvent ;
24 class AliRawReader ;
25 class AliEMCALRawUtils;
26 class AliEMCALGeometry;
27
28 // --- Standard library ---
29
30 // --- AliRoot header files ---
31
32 class AliEMCALReconstructor : public AliReconstructor {
33
34 public:
35
36   AliEMCALReconstructor() ; //ctor            
37   AliEMCALReconstructor(const AliEMCALReconstructor & rec);
38    
39   virtual ~AliEMCALReconstructor() ; //dtor
40
41   Bool_t       Debug() const { return fDebug ; }
42
43   using AliReconstructor::FillESD;
44   virtual void FillESD(TTree* digitsTree, TTree* clustersTree, 
45                        AliESDEvent* esd) const;
46   AliTracker*  CreateTracker () const 
47   {return new AliEMCALTracker;} 
48   using AliReconstructor::Reconstruct;
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;
53   
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   
61   void SetRecParam(AliEMCALRecParam * recParam){ fgkRecParam = recParam;}
62
63   void InitRecParam() const;
64   static const AliEMCALRecParam* GetRecParam(){ return fgkRecParam;}
65
66 private:
67   
68   Bool_t fDebug; //! verbosity controller
69   static AliEMCALRecParam*   fgkRecParam; // reconstruction parameters for EMCAL
70   static AliEMCALRawUtils*   fgRawUtils;  // raw utilities class -
71                                           // only need one per reco
72   AliEMCALGeometry         *fGeom;           // pointer to the EMCAL geometry
73
74   ClassDef(AliEMCALReconstructor,3)  // Reconstruction algorithm class (Base Class)
75
76 }; 
77
78 #endif // ALIEMCALRECONSTRUCTOR_H