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