X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TPC%2FAliH2F.h;h=552a01159c656890cd008d3ebd34ff555adf9c68;hb=3f94bb0f753b6952ba5d84c71780ce27637c341f;hp=6ea5ddb97fb7b2e9a31a30bc6abc75dac012eafe;hpb=cc80f89ead2e03e663aa5c2e2330945097ba3ffd;p=u%2Fmrichter%2FAliRoot.git diff --git a/TPC/AliH2F.h b/TPC/AliH2F.h index 6ea5ddb97fb..552a01159c6 100644 --- a/TPC/AliH2F.h +++ b/TPC/AliH2F.h @@ -1,5 +1,5 @@ -#ifndef TH2FSMOOTH_H -#define TH2FSMOOTH_H +#ifndef ALIH2F_H +#define ALIH2F_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ @@ -7,10 +7,8 @@ // include files and class forward declarations -#include "TH2.h" -#include "TMatrix.h" +#include "TH2.h" -class TMatrix; class TH1F; class TClonesArray; @@ -22,9 +20,9 @@ public: ~AliH2F(); public: - AliH2F(const AliH2F &); - AliH2F & operator = (const AliH2F &); - TClonesArray * FindPeaks(Float_t threshold, Float_t noise); + AliH2F(const AliH2F &his); + AliH2F & operator = (const AliH2F &his); +// TClonesArray * FindPeaks(Float_t threshold, Float_t noise); //find peaks and write it in form of AliTPCcluster to array void ClearSpectrum(); void AddGauss(Float_t x,Float_t y,Float_t sx, Float_t sy, Float_t max); @@ -32,7 +30,7 @@ public: void ClearUnderTh(Int_t threshold); void Round(); //round float values to integer values - // void Smooth(); + AliH2F * GetSubrange2d(Float_t xmin, Float_t xmax, Float_t ymin, Float_t ymax); //create new 2D histogram @@ -42,21 +40,13 @@ public: TH1F * GetAmplitudes(Float_t zmin, Float_t zmax, Float_t th=1. , Float_t xmin=0, Float_t xmax=0, Float_t ymin=0, Float_t ymax=0); //generate one dim histogram of amplitudes - void SetSmoothSigma(Float_t sigmaX, Float_t sigmaY); - void SetSmoothRange(Float_t dx,Float_t dy); - TMatrix * GetFitMatrix(Int_t irow, Int_t icolumn); public: -protected: +protected: private: - void SmoothCell(Int_t irow, Int_t icolumn) ; - Float_t fSigmaX2; //sigma x used for weight calculation in smooth proces - Float_t fSigmaY2; //sigma x used for weight calculation in smooth proces - Int_t fdx; //dx range on which we are smoothing around 1 point - Int_t fdy; //dy range on which we are smoothing around 1 point - TMatrix fFitMatrix; //matrix with fitted parameters + ClassDef(AliH2F,1) };