Added AliEMCALReconstructioner
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALReconstructioner.h
CommitLineData
6ddf6724 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//*--
d018ba66 11//*-- Author: Yves Schutz (SUBATECH)
6ddf6724 12//*-- Dmitri Peressounko (SUBATECH & Kurchatov Institute)
13
d018ba66 14 //#include <stdlib.h>
6ddf6724 15
16// --- ROOT system ---
17
18#include "TTask.h"
19class AliEMCALDigitizer ;
d018ba66 20class AliEMCALClusterizer ;
6ddf6724 21class AliEMCALPID ;
22class AliEMCALSDigitizer ;
d018ba66 23class AliESD ;
6ddf6724 24
25// --- Standard library ---
26
27// --- AliRoot header files ---
28
29class AliEMCALReconstructioner : public TTask {
30
31public:
32
33 AliEMCALReconstructioner() ; //ctor
d018ba66 34 AliEMCALReconstructioner(const char * headreFile, const char * branchName = "Default");
35 AliEMCALReconstructioner(const AliEMCALReconstructioner & rec) : TTask(rec) {
6ddf6724 36 // cpy ctor:
37 // requested by the Coding Convention
d018ba66 38 Fatal("cpy ctor", "not implemented") ;
6ddf6724 39 }
40
41 virtual ~AliEMCALReconstructioner() ;
42
d018ba66 43 virtual void Exec(Option_t *) ;
44 void Clusters2Tracks(Int_t ievent, AliESD *event);
6ddf6724 45
46 AliEMCALDigitizer * GetDigitizer() const { return fDigitizer ; }
d018ba66 47 AliEMCALClusterizer * GetClusterizer()const { return fClusterizer ; }
48 AliEMCALPID * GetPID() const { return fPID; }
6ddf6724 49 AliEMCALSDigitizer * GetSDigitizer() const { return fSDigitizer ; }
50
d018ba66 51 void Print()const ;
6ddf6724 52
d018ba66 53 // void SetBranchTitle(const char* branch,const char * title) ;
54 // // Sets the branch titles to separate different reconstruction flows
55 //
56 // void StartFrom(char * module = "SDigitizer",char * title = "Default") ;
57 // // From wich step reconstruction begins,
58 // // title to be set to all reconstructed branches
59
60 AliEMCALReconstructioner & operator = (const AliEMCALReconstructioner & /*rvalue*/) {
6ddf6724 61 // assignement operator requested by coding convention but not needed
d018ba66 62 Fatal("operator =", "not implemented") ;
6ddf6724 63 return *this ;
64 }
65
66
67private:
68 void Init() ;
69
70private:
71
6ddf6724 72 TString fDigitsBranch ; // Title of digits branch
73 TString fRecPointBranch ; // Title of RecPoints branch
6ddf6724 74 TString fRecPartBranch ; // Title of RecParticles branch
75 TString fSDigitsBranch ; // Title of SDigits branch
76
77
78 AliEMCALDigitizer * fDigitizer ; //! Pointer to AliEMCALDigitizer
d018ba66 79 AliEMCALClusterizer * fClusterizer ; //! Pointer to AliEMCALClusterizer
80 AliEMCALPID * fPID ; //! Pointer to AliEMCALPID
6ddf6724 81 AliEMCALSDigitizer * fSDigitizer ; //! Pointer to AliEMCALSDigitizer
82
83 Bool_t fIsInitialized ; // kTRUE if reconstructioner is initialized
84
d018ba66 85 ClassDef(AliEMCALReconstructioner,1) // Reconstruction algorithm class (Base Class)
6ddf6724 86
87};
88
89#endif // ALIEMCALRECONSTRUCTIONER_H