coding convention
[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
e957fea8 14 //#include <stdlib.h>
fdeead01 15
d15a28e7 16// --- ROOT system ---
17
7acf6008 18#include "TTask.h"
19class AliPHOSDigitizer ;
20class AliPHOSClusterizer ;
21class AliPHOSTrackSegmentMaker ;
22class AliPHOSPID ;
23class AliPHOSSDigitizer ;
d15a28e7 24
25// --- Standard library ---
26
27// --- AliRoot header files ---
28
7acf6008 29class AliPHOSReconstructioner : public TTask {
d15a28e7 30
31public:
32
7acf6008 33 AliPHOSReconstructioner() ; //ctor
88cb7938 34 AliPHOSReconstructioner(const char * headreFile, const char * branchName = "Default");
a8c47ab6 35 AliPHOSReconstructioner(const AliPHOSReconstructioner & rec) : TTask(rec) {
7acf6008 36 // cpy ctor:
839ffcb3 37 // requested by the Coding Convention
f1611b7c 38 Fatal("cpy ctor", "not implemented") ;
839ffcb3 39 }
40
7acf6008 41 virtual ~AliPHOSReconstructioner() ;
d15a28e7 42
90cceaf6 43 virtual void Exec(Option_t) ;
d15a28e7 44
baef0810 45 AliPHOSDigitizer * GetDigitizer() const { return fDigitizer ; }
46 AliPHOSClusterizer * GetClusterizer()const { return fClusterizer ; }
47 AliPHOSPID * GetPID() const { return fPID; }
48 AliPHOSTrackSegmentMaker * GetTSMaker() const { return fTSMaker ; }
49 AliPHOSSDigitizer * GetSDigitizer() const { return fSDigitizer ; }
7acf6008 50
90cceaf6 51 void Print()const ;
7acf6008 52
fbf811ec 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
364de5c6 59
8c140292 60 AliPHOSReconstructioner & operator = (const AliPHOSReconstructioner & /*rvalue*/) {
a3dfe79c 61 // assignement operator requested by coding convention but not needed
11f9c5ff 62 Fatal("operator =", "not implementeyd") ;
839ffcb3 63 return *this ;
64 }
65
d15a28e7 66
67private:
7acf6008 68 void Init() ;
69
70private:
d15a28e7 71
7acf6008 72 TString fDigitsBranch ; // Title of digits branch
81b0fcd1 73 TString fRecPointBranch ; // Title of RecPoints branch
74 TString fTSBranch ; // Title of TrackSegments branch
75 TString fRecPartBranch ; // Title of RecParticles branch
76 TString fSDigitsBranch ; // Title of SDigits branch
7acf6008 77
78
81b0fcd1 79 AliPHOSDigitizer * fDigitizer ; //! Pointer to AliPHOSDigitizer
80 AliPHOSClusterizer * fClusterizer ; //! Pointer to AliPHOSClusterizer
81 AliPHOSPID * fPID ; //! Pointer to AliPHOSPID
82 AliPHOSTrackSegmentMaker * fTSMaker ; //! Pointer to AliPHOSTrackSegmentMaker
83 AliPHOSSDigitizer * fSDigitizer ; //! Pointer to AliPHOSSDigitizer
7acf6008 84
baef0810 85 Bool_t fIsInitialized ; // kTRUE if reconstructioner is initialized
92862013 86
b2a60966 87 ClassDef(AliPHOSReconstructioner,1) // Reconstruction algorithm class (Base Class)
d15a28e7 88
89};
90
91#endif // ALIPHOSRECONSTRUCTIONER_H