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.14 2007/09/26 14:22:18 cvetan
12 * Important changes to the reconstructor classes. Complete elimination of the run-loaders, which are now steered only from AliReconstruction. Removal of the corresponding Reconstruct() and FillESD() methods.
14 * Revision 1.13 2007/08/30 10:40:27 cvetan
17 * Revision 1.12 2007/08/28 12:55:08 policheh
18 * Loaders removed from the reconstruction code (C.Cheshkov)
20 * Revision 1.11 2007/07/24 17:20:35 policheh
21 * Usage of RecoParam objects instead of hardcoded parameters in reconstruction.
22 * (See $ALICE_ROOT/PHOS/macros/BeamTest2006/RawReconstruction.C).
24 * Revision 1.10 2007/07/11 13:43:30 hristov
25 * New class AliESDEvent, backward compatibility with the old AliESD (Christian)
27 * Revision 1.9 2006/11/15 16:05:03 kharlov
28 * New FillESD() for raw data is added
30 * Revision 1.8 2005/05/28 14:19:04 schutz
31 * Compilation warnings fixed by T.P.
35 //_________________________________________________________________________
36 // Wrapping class for reconstruction
38 //-- Author: Yves Schutz (SUBATECH)
39 // Reconstruction class. Redesigned from the old AliReconstructionner class and
40 // derived from STEER/AliReconstructor.
41 //_________________________________________________________________________
43 // --- ROOT system ---
45 #include "AliReconstructor.h"
46 class AliPHOSDigitizer ;
47 class AliPHOSClusterizer ;
48 class AliPHOSTrackSegmentMaker ;
50 class AliPHOSSDigitizer ;
53 class AliPHOSRecoParam;
54 class AliPHOSGeometry;
56 // --- Standard library ---
58 // --- AliRoot header files ---
60 class AliPHOSReconstructor : public AliReconstructor {
64 AliPHOSReconstructor() ; //ctor
65 AliPHOSReconstructor(const AliPHOSReconstructor & rec) :
66 AliReconstructor(rec),
70 // requested by the Coding Convention
71 Fatal("cpy ctor", "not implemented") ;
73 virtual ~AliPHOSReconstructor() ; //dtor
75 static void SetDebug() { fgDebug = kTRUE ; }
76 static void ResetDebug() { fgDebug = kFALSE ; }
77 static Bool_t Debug() { return fgDebug ; }
78 AliTracker *CreateTracker() const;
79 using AliReconstructor::FillESD;
80 virtual void FillESD(TTree* digitsTree, TTree* clustersTree,
81 AliESDEvent* esd) const;
82 using AliReconstructor::Reconstruct;
83 virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const;
85 virtual Bool_t HasDigitConversion() const {return kTRUE;};
86 virtual void ConvertDigits(AliRawReader* rawReader, TTree* digitsTree) const;
88 AliPHOSReconstructor & operator = (const AliPHOSReconstructor & /*rvalue*/) {
89 // assignement operator requested by coding convention but not needed
90 Fatal("operator =", "not implemented") ;
94 void SetRecoParamEmc(AliPHOSRecoParam * param){ fgkRecoParamEmc = param;}
95 void SetRecoParamCpv(AliPHOSRecoParam * param){ fgkRecoParamCpv = param;}
97 static const AliPHOSRecoParam* GetRecoParamEmc(){ return fgkRecoParamEmc;}
98 static const AliPHOSRecoParam* GetRecoParamCpv(){ return fgkRecoParamCpv;}
102 static Bool_t fgDebug ; //! verbosity controller
103 static AliPHOSRecoParam *fgkRecoParamEmc; // reconstruction parameters for EMC
104 static AliPHOSRecoParam *fgkRecoParamCpv; // reconstruction parameters for EMC
105 AliPHOSGeometry *fGeom; // pointer to the PHOS geometry
107 ClassDef(AliPHOSReconstructor,4) // PHOS Reconstruction class
111 #endif // ALIPHOSRECONSTRUCTOR_H