1 #ifndef ALIPHOSRECONSTRUCTOR_H
2 #define ALIPHOSRECONSTRUCTOR_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 /* History of cvs commits:
11 * Revision 1.10 2007/07/11 13:43:30 hristov
12 * New class AliESDEvent, backward compatibility with the old AliESD (Christian)
14 * Revision 1.9 2006/11/15 16:05:03 kharlov
15 * New FillESD() for raw data is added
17 * Revision 1.8 2005/05/28 14:19:04 schutz
18 * Compilation warnings fixed by T.P.
22 //_________________________________________________________________________
23 // Wrapping class for reconstruction
25 //*-- Author: Yves Schutz (SUBATECH)
26 // Reconstruction class. Redesigned from the old AliReconstructionner class and
27 // derived from STEER/AliReconstructor.
28 //_________________________________________________________________________
30 // --- ROOT system ---
32 #include "AliReconstructor.h"
33 class AliPHOSDigitizer ;
34 class AliPHOSClusterizer ;
35 class AliPHOSTrackSegmentMaker ;
37 class AliPHOSSDigitizer ;
40 class AliPHOSRecoParam;
42 // --- Standard library ---
44 // --- AliRoot header files ---
46 class AliPHOSReconstructor : public AliReconstructor {
50 AliPHOSReconstructor() ; //ctor
51 AliPHOSReconstructor(const AliPHOSReconstructor & rec) : AliReconstructor(rec) {
53 // requested by the Coding Convention
54 Fatal("cpy ctor", "not implemented") ;
56 ~AliPHOSReconstructor() ; //dtor
57 static void SetDebug() { fgDebug = kTRUE ; }
58 static void ResetDebug() { fgDebug = kFALSE ; }
59 static Bool_t Debug() { return fgDebug ; }
60 AliTracker *CreateTracker(AliRunLoader* runLoader) const;
61 using AliReconstructor::FillESD;
62 virtual void FillESD(AliRunLoader* runLoader, AliESDEvent* esd) const ;
63 virtual void FillESD(AliRunLoader* runLoader,AliRawReader* rawReader,AliESDEvent* esd) const;
64 using AliReconstructor::Reconstruct;
65 virtual void Reconstruct(AliRunLoader* runLoader) const ;
66 virtual void Reconstruct(AliRunLoader* runLoader, AliRawReader * rawreader) const ;
68 AliPHOSReconstructor & operator = (const AliPHOSReconstructor & /*rvalue*/) {
69 // assignement operator requested by coding convention but not needed
70 Fatal("operator =", "not implemented") ;
74 void SetRecoParamEmc(AliPHOSRecoParam * param){ fgkRecoParamEmc = param;}
75 void SetRecoParamCpv(AliPHOSRecoParam * param){ fgkRecoParamCpv = param;}
77 static const AliPHOSRecoParam* GetRecoParamEmc(){ return fgkRecoParamEmc;}
78 static const AliPHOSRecoParam* GetRecoParamCpv(){ return fgkRecoParamCpv;}
82 static Bool_t fgDebug ; //! verbosity controller
83 static AliPHOSRecoParam* fgkRecoParamEmc; // reconstruction parameters for EMC
84 static AliPHOSRecoParam* fgkRecoParamCpv; // reconstruction parameters for EMC
86 ClassDef(AliPHOSReconstructor,2) // Reconstruction algorithm class (Base Class)
90 #endif // ALIPHOSRECONSTRUCTOR_H