X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSReconstructor.h;h=62e6c6db623ebc91431a6bf52b264bcca3fdcbe4;hb=f29cf84c1d85d96ec0c7623c593abd69b2398601;hp=28cec7dd9452ce78cb62b41352d89cb6faa6244e;hpb=ea3d6a78978876af0d3e9b2a3ee801563722e517;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSReconstructor.h b/PHOS/AliPHOSReconstructor.h index 28cec7dd945..62e6c6db623 100644 --- a/PHOS/AliPHOSReconstructor.h +++ b/PHOS/AliPHOSReconstructor.h @@ -47,10 +47,10 @@ #include #include "AliReconstructor.h" -#include "AliPHOSRecoParamEmc.h" -#include "AliPHOSRecoParamCpv.h" +#include "AliPHOSRecoParam.h" class AliPHOSDigitizer ; class AliPHOSClusterizer ; +class AliPHOSClusterizerv1 ; class AliPHOSTrackSegmentMaker ; class AliPHOSPID ; class AliPHOSSDigitizer ; @@ -58,6 +58,7 @@ class AliESDEvent ; class AliRawReader; class AliPHOSRecoParam; class AliPHOSGeometry; +class AliPHOSCalibData ; // --- Standard library --- @@ -68,14 +69,6 @@ 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") ; - } virtual ~AliPHOSReconstructor() ; //dtor static void SetDebug() { fgDebug = kTRUE ; } @@ -90,39 +83,30 @@ public: virtual Bool_t HasDigitConversion() const {return kTRUE;}; virtual void ConvertDigits(AliRawReader* rawReader, TTree* digitsTree) const; + virtual Float_t Calibrate(Float_t amp, Int_t absId) const ; + virtual Float_t CalibrateT(Float_t time, Int_t absId) const ; - AliPHOSReconstructor & operator = (const AliPHOSReconstructor & /*rvalue*/) { - // assignement operator requested by coding convention but not needed - Fatal("operator =", "not implemented") ; - return *this ; - } + void FillMisalMatrixes(AliESDEvent* esd)const ; - void SetRecoParamEmc(AliPHOSRecoParam * param){ fgkRecoParamEmc = param;} - void SetRecoParamCpv(AliPHOSRecoParam * param){ fgkRecoParamCpv = param;} - - static const AliPHOSRecoParam* GetRecoParamEmc(){ - if (!fgkRecoParamEmc) { - cerr<<"The Reconstruction parameters for EMC nonitialized - Used default one"<(AliReconstructor::GetRecoParam(4)); } + static Float_t CorrectNonlinearity(Float_t oldEnergy) ; private: + AliPHOSReconstructor(const AliPHOSReconstructor & rec); // Not implemented + AliPHOSReconstructor & operator = (const AliPHOSReconstructor &); // Not implemented 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,4) // PHOS Reconstruction class + AliPHOSGeometry *fGeom; // pointer to the PHOS geometry + AliPHOSClusterizerv1 *fClusterizer; //! PHOS clusterizer + AliPHOSTrackSegmentMaker *fTSM; //! PHOS TrackSegmentMaker + AliPHOSPID *fPID; //! PHOS PID maker + TClonesArray *fTmpDigLG; //! Temporary array of LG digits + static TClonesArray *fgDigitsArray; //! Array of PHOS digits + static TObjArray *fgEMCRecPoints; //! Array of EMC rec.points + static AliPHOSCalibData * fgCalibData ; //! Calibration database if aval. + + ClassDef(AliPHOSReconstructor,9) // PHOS Reconstruction class };