#include "T49Histogram2D.h"

T49Histogram2D


class description - source file - inheritance tree (.pdf)

class T49Histogram2D : public T49Histogram

Inheritance Chart:
TObject
<-
TNamed
<-
T49Histogram
<-
T49Histogram2D

    protected:
Int_t GetIndexX(Float_t x) Int_t GetIndexY(Float_t y) virtual void Init() public:
T49Histogram2D() T49Histogram2D(const Text_t* name, const Text_t* title) T49Histogram2D(const Text_t* name, const Text_t* title, TH1* histo, Int_t nx, Float_t xmin, Float_t xmax, Int_t ny, Float_t ymin, Float_t ymax) T49Histogram2D(const Text_t* name, const Text_t* title, Int_t n, Float_t min, Float_t max, Int_t nx, Float_t xmin, Float_t xmax, Int_t ny, Float_t ymin, Float_t ymax) T49Histogram2D(const T49Histogram2D&) virtual ~T49Histogram2D() static TClass* Class() virtual void CreateHistograms() virtual void Draw(Option_t* option = "") virtual void Draw(Int_t iFirst, Int_t iLast, Int_t jFirst, Int_t jLast) virtual void Draw(Float_t xFirst, Float_t xLast, Float_t yFirst, Float_t yLast) void Fill(Float_t x, Float_t y, Float_t val, Float_t wgt = 1) TH1D* GetHistogram(Float_t x, Float_t y) Float_t GetMaxX() const Float_t GetMaxY() const Float_t GetMinX() const Float_t GetMinY() const Int_t GetNbinX() const Int_t GetNbinY() const Float_t GetWidthX() const Float_t GetWidthY() const virtual TClass* IsA() const T49Histogram2D& operator=(const T49Histogram2D&) virtual void Print(Option_t* option = "") const virtual void SetDimensions(Int_t nx, Float_t xmin, Float_t xmax, Int_t ny, Float_t ymin, Float_t ymax) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Int_t fXN Number of bins Float_t fXMin Lower border Float_t fXMax Upper border Int_t fYN Number of bins Float_t fYMin Lower border Float_t fYMax Upper border

Class Description

                                                                   
    2-dim histogram container class                                
                                                                   
    Author: Christoph Blume                                        
                                                                   


T49Histogram2D():T49Histogram()
 T49Histogram2D default constructor


T49Histogram2D(const Text_t *name, const Text_t *title) :T49Histogram(name,title)
 T49Histogram2D constructor with name and title


T49Histogram2D(const Text_t *name, const Text_t *title, TH1 *histo , Int_t nx, Float_t xmin, Float_t xmax , Int_t ny, Float_t ymin, Float_t ymax) :T49Histogram(name,title,histo)
 T49Histogram2D constructor with name, title, and input histogram


T49Histogram2D(const Text_t *name, const Text_t *title , Int_t n , Float_t min, Float_t max , Int_t nx, Float_t xmin, Float_t xmax , Int_t ny, Float_t ymin, Float_t ymax) :T49Histogram(name,title,n,min,max)
 T49Histogram2D constructor with name, title, and histogram definition


~T49Histogram2D()
 Destructor


void Draw(const Option_t *option)
 Draw all histograms on one canvas


void Draw(Float_t xFirst, Float_t xLast , Float_t yFirst, Float_t yLast)
 Draw all histograms between the values <x/yFirst> and <x/yLast>


void Draw(Int_t iFirst, Int_t iLast , Int_t jFirst, Int_t jLast)
 Draw all histograms between the bins <i/jFirst> and <i/jLast>


void Print(const Option_t *option) const
 Print the parameter


void SetDimensions(Int_t nx, Float_t xmin, Float_t xmax , Int_t ny, Float_t ymin, Float_t ymax)
 Defines the number of bins <nx/ny> and the borders <xmin/ymin>
 <xmax/ymax> of the histogram array


void Init()

void CreateHistograms()



Inline Functions


                   void Fill(Float_t x, Float_t y, Float_t val, Float_t wgt = 1)
                  Int_t GetNbinX() const
                Float_t GetMinX() const
                Float_t GetMaxX() const
                Float_t GetWidthX() const
                  Int_t GetNbinY() const
                Float_t GetMinY() const
                Float_t GetMaxY() const
                Float_t GetWidthY() const
                  TH1D* GetHistogram(Float_t x, Float_t y)
                  Int_t GetIndexX(Float_t x)
                  Int_t GetIndexY(Float_t y)
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
         T49Histogram2D T49Histogram2D(const T49Histogram2D&)
        T49Histogram2D& operator=(const T49Histogram2D&)


Last update: Thu Aug 17 15:31:44 2006


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.