]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSReconstructioner.h
When calling the getter, the name of the file that holds gAlice is specified.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSReconstructioner.h
CommitLineData
d15a28e7 1#ifndef ALIPHOSRECONSTRUCTIONER_H
2#define ALIPHOSRECONSTRUCTIONER_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6ad0bfa0 6/* $Id$ */
7
b2a60966 8//_________________________________________________________________________
9a6ec61a 9// Wrapping class for reconstruction
a3dfe79c 10//*--
7acf6008 11//*-- Author: Gines Martinez & Yves Schutz (SUBATECH)
12//*-- Dmitri Peressounko (SUBATECH & Kurchatov Institute)
d15a28e7 13
14// --- ROOT system ---
15
7acf6008 16#include "TTask.h"
17class AliPHOSDigitizer ;
18class AliPHOSClusterizer ;
19class AliPHOSTrackSegmentMaker ;
20class AliPHOSPID ;
21class AliPHOSSDigitizer ;
35293055 22class AliESD ;
d15a28e7 23
24// --- Standard library ---
25
26// --- AliRoot header files ---
27
7acf6008 28class AliPHOSReconstructioner : public TTask {
d15a28e7 29
30public:
31
7acf6008 32 AliPHOSReconstructioner() ; //ctor
85ef0957 33 AliPHOSReconstructioner(const char * headerFile, const char * branchName = "Default");
a8c47ab6 34 AliPHOSReconstructioner(const AliPHOSReconstructioner & rec) : TTask(rec) {
7acf6008 35 // cpy ctor:
839ffcb3 36 // requested by the Coding Convention
f1611b7c 37 Fatal("cpy ctor", "not implemented") ;
839ffcb3 38 }
39
7acf6008 40 virtual ~AliPHOSReconstructioner() ;
d15a28e7 41
35293055 42 virtual void Exec(Option_t *) ;
43 void Clusters2Tracks(Int_t ievent, AliESD *event);
d15a28e7 44
baef0810 45 AliPHOSClusterizer * GetClusterizer()const { return fClusterizer ; }
46 AliPHOSPID * GetPID() const { return fPID; }
47 AliPHOSTrackSegmentMaker * GetTSMaker() const { return fTSMaker ; }
d7d3b67b 48 void SetEventRange(Int_t first=0, Int_t last=-1) ;
7acf6008 49
90cceaf6 50 void Print()const ;
364de5c6 51
8c140292 52 AliPHOSReconstructioner & operator = (const AliPHOSReconstructioner & /*rvalue*/) {
a3dfe79c 53 // assignement operator requested by coding convention but not needed
35293055 54 Fatal("operator =", "not implemented") ;
839ffcb3 55 return *this ;
56 }
57
d15a28e7 58
7acf6008 59private:
60 void Init() ;
61
d15a28e7 62private:
63
81b0fcd1 64 TString fRecPointBranch ; // Title of RecPoints branch
65 TString fTSBranch ; // Title of TrackSegments branch
66 TString fRecPartBranch ; // Title of RecParticles branch
7acf6008 67
68
81b0fcd1 69 AliPHOSClusterizer * fClusterizer ; //! Pointer to AliPHOSClusterizer
70 AliPHOSPID * fPID ; //! Pointer to AliPHOSPID
71 AliPHOSTrackSegmentMaker * fTSMaker ; //! Pointer to AliPHOSTrackSegmentMaker
d7d3b67b 72 Bool_t fIsInitialized ; // kTRUE if reconstructioner is initialized
73 Int_t fFirstEvent; // first event to process
74 Int_t fLastEvent; // last event to process
92862013 75
b2a60966 76 ClassDef(AliPHOSReconstructioner,1) // Reconstruction algorithm class (Base Class)
d15a28e7 77
78};
79
80#endif // ALIPHOSRECONSTRUCTIONER_H