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 ; }
7acf6008 48
90cceaf6 49 void Print()const ;
364de5c6 50
8c140292 51 AliPHOSReconstructioner & operator = (const AliPHOSReconstructioner & /*rvalue*/) {
a3dfe79c 52 // assignement operator requested by coding convention but not needed
35293055 53 Fatal("operator =", "not implemented") ;
839ffcb3 54 return *this ;
55 }
56
d15a28e7 57
7acf6008 58private:
59 void Init() ;
60
d15a28e7 61private:
62
81b0fcd1 63 TString fRecPointBranch ; // Title of RecPoints branch
64 TString fTSBranch ; // Title of TrackSegments branch
65 TString fRecPartBranch ; // Title of RecParticles branch
7acf6008 66
67
81b0fcd1 68 AliPHOSClusterizer * fClusterizer ; //! Pointer to AliPHOSClusterizer
69 AliPHOSPID * fPID ; //! Pointer to AliPHOSPID
70 AliPHOSTrackSegmentMaker * fTSMaker ; //! Pointer to AliPHOSTrackSegmentMaker
7acf6008 71
baef0810 72 Bool_t fIsInitialized ; // kTRUE if reconstructioner is initialized
92862013 73
b2a60966 74 ClassDef(AliPHOSReconstructioner,1) // Reconstruction algorithm class (Base Class)
d15a28e7 75
76};
77
78#endif // ALIPHOSRECONSTRUCTIONER_H