]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/hough/AliL3HistogramAdaptive.h
Changed definition of TOPDIR
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HistogramAdaptive.h
CommitLineData
6b88e8ee 1#ifndef ALIL3_HISTOGRAMADAPTIVE
2#define ALIL3_HISTOGRAMADAPTIVE
3
6b88e8ee 4#include "AliL3RootTypes.h"
5#include "AliL3Histogram.h"
6
7class AliL3HistogramAdaptive : public AliL3Histogram {
8
9 private:
6b9816d6 10 Double_t fPtres;
6b88e8ee 11 Double_t fMinPt;
12 Double_t fMaxPt;
6b88e8ee 13
6b9816d6 14 Int_t InitPtBins();
6b88e8ee 15
16 public:
17 AliL3HistogramAdaptive();
6b9816d6 18 AliL3HistogramAdaptive(Char_t *name,Double_t minpt,Double_t maxpt,Double_t ptres,
6b88e8ee 19 Int_t nybins,Double_t ymin,Double_t ymax);
20 ~AliL3HistogramAdaptive();
21
22 void Fill(Double_t x,Double_t y,Int_t weight=1);
23 Int_t FindBin(Double_t x,Double_t y);
24 Int_t FindXbin(Double_t x);
25 Int_t FindYbin(Double_t y);
26 void Draw(Char_t *option = "hist");
27 void Print();
28
29 Double_t GetBinCenterX(Int_t xbin);
30 Double_t GetBinCenterY(Int_t ybin);
31
32 ClassDef(AliL3HistogramAdaptive,1) //2D histogram class
33
34};
35
36#endif