]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALReconstructor.h
Removing .cvsignore files
[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
26 // --- Standard library ---
27
28 // --- AliRoot header files ---
29
30 class AliEMCALReconstructor : public AliReconstructor {
31
32 public:
33
34   AliEMCALReconstructor() ; //ctor            
35   AliEMCALReconstructor(const AliEMCALReconstructor & rec);
36    
37   virtual ~AliEMCALReconstructor() ; //dtor
38
39   Bool_t       Debug() const { return fDebug ; }
40
41   using AliReconstructor::FillESD;
42   virtual void FillESD(TTree* digitsTree, TTree* clustersTree, 
43                        AliESDEvent* esd) const;
44   AliTracker*  CreateTracker () const 
45   {return new AliEMCALTracker;} 
46   using AliReconstructor::Reconstruct;
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;
51   
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   
59   void SetRecParam(AliEMCALRecParam * recParam){ fgkRecParam = recParam;}
60
61   void InitRecParam() const;
62   static const AliEMCALRecParam* GetRecParam(){ return fgkRecParam;}
63
64 private:
65   
66   Bool_t fDebug; //! verbosity controller
67   static AliEMCALRecParam*   fgkRecParam; // reconstruction parameters for EMCAL
68
69   ClassDef(AliEMCALReconstructor,2)  // Reconstruction algorithm class (Base Class)
70
71 }; 
72
73 #endif // ALIEMCALRECONSTRUCTOR_H