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.11 2007/07/24 17:20:35 policheh
12 * Usage of RecoParam objects instead of hardcoded parameters in reconstruction.
13 * (See $ALICE_ROOT/PHOS/macros/BeamTest2006/RawReconstruction.C).
15 * Revision 1.10 2007/07/11 13:43:30 hristov
16 * New class AliESDEvent, backward compatibility with the old AliESD (Christian)
18 * Revision 1.9 2006/11/15 16:05:03 kharlov
19 * New FillESD() for raw data is added
21 * Revision 1.8 2005/05/28 14:19:04 schutz
22 * Compilation warnings fixed by T.P.
26 //_________________________________________________________________________
27 // Wrapping class for reconstruction
29 //*-- Author: Yves Schutz (SUBATECH)
30 // Reconstruction class. Redesigned from the old AliReconstructionner class and
31 // derived from STEER/AliReconstructor.
32 //_________________________________________________________________________
34 // --- ROOT system ---
36 #include "AliReconstructor.h"
37 class AliPHOSDigitizer ;
38 class AliPHOSClusterizer ;
39 class AliPHOSTrackSegmentMaker ;
41 class AliPHOSSDigitizer ;
44 class AliPHOSRecoParam;
45 class AliPHOSGeometry;
47 // --- Standard library ---
49 // --- AliRoot header files ---
51 class AliPHOSReconstructor : public AliReconstructor {
55 AliPHOSReconstructor() ; //ctor
56 AliPHOSReconstructor(const AliPHOSReconstructor & rec) :
57 AliReconstructor(rec),
61 // requested by the Coding Convention
62 Fatal("cpy ctor", "not implemented") ;
64 ~AliPHOSReconstructor() ; //dtor
65 static void SetDebug() { fgDebug = kTRUE ; }
66 static void ResetDebug() { fgDebug = kFALSE ; }
67 static Bool_t Debug() { return fgDebug ; }
68 AliTracker *CreateTracker(AliRunLoader* runLoader) const;
69 using AliReconstructor::FillESD;
70 virtual void FillESD(TTree* digitsTree, TTree* clustersTree,
71 AliESDEvent* esd) const;
72 using AliReconstructor::Reconstruct;
73 virtual Bool_t HasLocalReconstruction() const {return kTRUE;};
74 virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const;
75 // virtual void Reconstruct(AliRunLoader* runLoader) const ;
76 // virtual void Reconstruct(AliRunLoader* runLoader, AliRawReader * rawreader) const ;
78 virtual Bool_t HasDigitConversion() const {return kTRUE;};
79 virtual void ConvertDigits(AliRawReader* /*rawReader*/, TTree* /*digitsTree*/) const;
81 AliPHOSReconstructor & operator = (const AliPHOSReconstructor & /*rvalue*/) {
82 // assignement operator requested by coding convention but not needed
83 Fatal("operator =", "not implemented") ;
87 void SetRecoParamEmc(AliPHOSRecoParam * param){ fgkRecoParamEmc = param;}
88 void SetRecoParamCpv(AliPHOSRecoParam * param){ fgkRecoParamCpv = param;}
90 static const AliPHOSRecoParam* GetRecoParamEmc(){ return fgkRecoParamEmc;}
91 static const AliPHOSRecoParam* GetRecoParamCpv(){ return fgkRecoParamCpv;}
95 static Bool_t fgDebug ; //! verbosity controller
96 static AliPHOSRecoParam* fgkRecoParamEmc; // reconstruction parameters for EMC
97 static AliPHOSRecoParam* fgkRecoParamCpv; // reconstruction parameters for EMC
98 AliPHOSGeometry* fGeom; // pointer to the PHOS geometry
100 ClassDef(AliPHOSReconstructor,3) // PHOS Reconstruction class
104 #endif // ALIPHOSRECONSTRUCTOR_H