#ifndef ALIPHOSRECONSTRUCTOR_H #define ALIPHOSRECONSTRUCTOR_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id$ */ /* History of cvs commits: * * $Log$ * Revision 1.12 2007/08/28 12:55:08 policheh * Loaders removed from the reconstruction code (C.Cheshkov) * * Revision 1.11 2007/07/24 17:20:35 policheh * Usage of RecoParam objects instead of hardcoded parameters in reconstruction. * (See $ALICE_ROOT/PHOS/macros/BeamTest2006/RawReconstruction.C). * * Revision 1.10 2007/07/11 13:43:30 hristov * New class AliESDEvent, backward compatibility with the old AliESD (Christian) * * Revision 1.9 2006/11/15 16:05:03 kharlov * New FillESD() for raw data is added * * Revision 1.8 2005/05/28 14:19:04 schutz * Compilation warnings fixed by T.P. * */ //_________________________________________________________________________ // Wrapping class for reconstruction //*-- //*-- Author: Yves Schutz (SUBATECH) // Reconstruction class. Redesigned from the old AliReconstructionner class and // derived from STEER/AliReconstructor. //_________________________________________________________________________ // --- ROOT system --- #include "AliReconstructor.h" class AliPHOSDigitizer ; class AliPHOSClusterizer ; class AliPHOSTrackSegmentMaker ; class AliPHOSPID ; class AliPHOSSDigitizer ; class AliESDEvent ; class AliRawReader; class AliPHOSRecoParam; class AliPHOSGeometry; // --- Standard library --- // --- AliRoot header files --- class AliPHOSReconstructor : public AliReconstructor { public: AliPHOSReconstructor() ; //ctor AliPHOSReconstructor(const AliPHOSReconstructor & rec) : AliReconstructor(rec), fGeom(rec.fGeom) { // cpy ctor: // requested by the Coding Convention Fatal("cpy ctor", "not implemented") ; } ~AliPHOSReconstructor() ; //dtor static void SetDebug() { fgDebug = kTRUE ; } static void ResetDebug() { fgDebug = kFALSE ; } static Bool_t Debug() { return fgDebug ; } AliTracker *CreateTracker(AliRunLoader* runLoader) const; using AliReconstructor::FillESD; virtual void FillESD(TTree* digitsTree, TTree* clustersTree, AliESDEvent* esd) const; using AliReconstructor::Reconstruct; virtual Bool_t HasLocalReconstruction() const {return kTRUE;}; virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const; // virtual void Reconstruct(AliRunLoader* runLoader) const ; // virtual void Reconstruct(AliRunLoader* runLoader, AliRawReader * rawreader) const ; virtual Bool_t HasDigitConversion() const {return kTRUE;}; virtual void ConvertDigits(AliRawReader* rawReader, TTree* digitsTree) const; AliPHOSReconstructor & operator = (const AliPHOSReconstructor & /*rvalue*/) { // assignement operator requested by coding convention but not needed Fatal("operator =", "not implemented") ; return *this ; } void SetRecoParamEmc(AliPHOSRecoParam * param){ fgkRecoParamEmc = param;} void SetRecoParamCpv(AliPHOSRecoParam * param){ fgkRecoParamCpv = param;} static const AliPHOSRecoParam* GetRecoParamEmc(){ return fgkRecoParamEmc;} static const AliPHOSRecoParam* GetRecoParamCpv(){ return fgkRecoParamCpv;} private: static Bool_t fgDebug ; //! verbosity controller static AliPHOSRecoParam* fgkRecoParamEmc; // reconstruction parameters for EMC static AliPHOSRecoParam* fgkRecoParamCpv; // reconstruction parameters for EMC AliPHOSGeometry* fGeom; // pointer to the PHOS geometry ClassDef(AliPHOSReconstructor,3) // PHOS Reconstruction class }; #endif // ALIPHOSRECONSTRUCTOR_H