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