]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSReconstructioner.h
Preliminary version of optics 6.2 - Insertion of TDI
[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 ;
d15a28e7 22
23// --- Standard library ---
24
25// --- AliRoot header files ---
26
7acf6008 27class AliPHOSReconstructioner : public TTask {
d15a28e7 28
29public:
30
7acf6008 31 AliPHOSReconstructioner() ; //ctor
32 AliPHOSReconstructioner(const char * headreFile) ;
33 AliPHOSReconstructioner(const AliPHOSReconstructioner & rec) {
34 // cpy ctor:
839ffcb3 35 // requested by the Coding Convention
7acf6008 36 abort() ;
839ffcb3 37 }
38
7acf6008 39 virtual ~AliPHOSReconstructioner() ;
d15a28e7 40
7acf6008 41 virtual void Exec(Option_t * option) ;
d15a28e7 42
7acf6008 43 AliPHOSDigitizer * GetDigitizer() { return fDigitizer ; }
44 AliPHOSClusterizer * GetClusterizer(){ return fClusterizer ; }
45 AliPHOSPID * GetPID() { return fPID; }
46 AliPHOSTrackSegmentMaker * GetTSMaker() { return fTSMaker ; }
47 AliPHOSSDigitizer * GetSDigitizer() { return fSDigitizer ; }
48
49 void Print(Option_t * option)const ;
50
51 void SetBranchTitle(const char* branch,const char * title) ;
9a6ec61a 52 // Sets the branch titles to separate different reconstruction flows
7acf6008 53
9a6ec61a 54 void StartFrom(char * module = "SDigitizer",char * title = 0) ;
55 // From wich step reconstruction begins,
56 // title to be set to all reconstructed branches
364de5c6 57
839ffcb3 58 AliPHOSReconstructioner & operator = (const AliPHOSReconstructioner & rvalue) {
a3dfe79c 59 // assignement operator requested by coding convention but not needed
7acf6008 60 abort() ;
839ffcb3 61 return *this ;
62 }
63
d15a28e7 64
7acf6008 65private:
66 void Init() ;
67
d15a28e7 68private:
69
7acf6008 70 TString fHeaderFileName ; // File with headers and gAlice
71 TString fDigitsBranch ; // Title of digits branch
72 TString fRecPointBranch ; // -"- RecPoints -"-
73 TString fTSBranch ; // -"- TrackSegments -"-
74 TString fRecPartBranch ; // -"- RecParticles -"-
75 TString fSDigitsBranch ; // -"- SDigits -"-
76
77
78 AliPHOSDigitizer * fDigitizer ;
79 AliPHOSClusterizer * fClusterizer ;
80 AliPHOSPID * fPID ;
81 AliPHOSTrackSegmentMaker * fTSMaker ;
82 AliPHOSSDigitizer * fSDigitizer ;
83
84 Bool_t fIsInitialized ;
92862013 85
b2a60966 86 ClassDef(AliPHOSReconstructioner,1) // Reconstruction algorithm class (Base Class)
d15a28e7 87
88};
89
90#endif // ALIPHOSRECONSTRUCTIONER_H