#include "T49Histogram3D.h"

T49Histogram3D


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

class T49Histogram3D : public T49Histogram

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

    protected:
Int_t GetIndexX(Float_t x) Int_t GetIndexY(Float_t y) Int_t GetIndexZ(Float_t z) virtual void Init() public:
T49Histogram3D() T49Histogram3D(const Text_t* name, const Text_t* title) T49Histogram3D(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, Int_t nz, Float_t zmin, Float_t zmax) T49Histogram3D(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, Int_t nz, Float_t zmin, Float_t zmax) T49Histogram3D(const T49Histogram3D&) virtual ~T49Histogram3D() static TClass* Class() virtual void CreateHistograms() virtual void Draw(Option_t* option = "") void Fill(Float_t x, Float_t y, Float_t z, Float_t val, Float_t wgt = 1) TH1D* GetHistogram(Float_t x, Float_t y, Float_t z) Float_t GetMaxX() const Float_t GetMaxY() const Float_t GetMaxZ() const Float_t GetMinX() const Float_t GetMinY() const Float_t GetMinZ() const Int_t GetNbinX() const Int_t GetNbinY() const Int_t GetNbinZ() const Float_t GetWidthX() const Float_t GetWidthY() const Float_t GetWidthZ() const virtual TClass* IsA() const T49Histogram3D& operator=(const T49Histogram3D&) 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, Int_t nz, Float_t zmin, Float_t zmax) 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 Int_t fZN Number of bins Float_t fZMin Lower border Float_t fZMax Upper border

Class Description

                                                                   
    3-dim histogram container class                                
                                                                   
    Author: Christoph Blume                                        
                                                                   


T49Histogram3D():T49Histogram()
 T49Histogram3D default constructor


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


T49Histogram3D(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 , Int_t nz, Float_t zmin, Float_t zmax) :T49Histogram(name,title,histo)
 T49Histogram3D constructor with name, title and input histogram


T49Histogram3D(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 , Int_t nz, Float_t zmin, Float_t zmax) :T49Histogram(name,title,n,min,max)
 T49Histogram3D constructor with name, title, and histogram definition


~T49Histogram3D()
 Destructor


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


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 , Int_t nz, Float_t zmin, Float_t zmax)
 Defines the number of bins <nx/ny/nz> and the borders <xmin/ymin/zmin>
 <xmax/ymax/zmax> of the histogram array


void Init()

void CreateHistograms()



Inline Functions


                   void Fill(Float_t x, Float_t y, Float_t z, 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
                  Int_t GetNbinZ() const
                Float_t GetMinZ() const
                Float_t GetMaxZ() const
                Float_t GetWidthZ() const
                  TH1D* GetHistogram(Float_t x, Float_t y, Float_t z)
                  Int_t GetIndexX(Float_t x)
                  Int_t GetIndexY(Float_t y)
                  Int_t GetIndexZ(Float_t z)
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
         T49Histogram3D T49Histogram3D(const T49Histogram3D&)
        T49Histogram3D& operator=(const T49Histogram3D&)


Last update: Thu Aug 17 15:31:47 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.