#include "T49Histogram1D.h"

T49Histogram1D


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

class T49Histogram1D : public T49Histogram

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

    protected:
Int_t GetIndex(Float_t x) virtual void Init() public:
T49Histogram1D() T49Histogram1D(const Text_t* name, const Text_t* title) T49Histogram1D(const Text_t* name, const Text_t* title, TH1* histo, Int_t nx, Float_t xmin, Float_t xmax) T49Histogram1D(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) T49Histogram1D(const T49Histogram1D&) virtual ~T49Histogram1D() static TClass* Class() virtual void CreateHistograms() virtual void Draw(Option_t* option = "") virtual void Draw(Int_t iFirst, Int_t iLast) virtual void Draw(Float_t xFirst, Float_t xLast) void Fill(Float_t x, Float_t val, Float_t wgt = 1) TH1D* GetHistogram(Float_t x) Float_t GetMax() const Float_t GetMin() const Int_t GetNbin() const Float_t GetWidth() const virtual TClass* IsA() const T49Histogram1D& operator=(const T49Histogram1D&) virtual void Print(Option_t* option = "") const virtual void SetDimensions(Int_t n, Float_t min, Float_t max) 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

Class Description

                                                                   
    1-dim histogram container class                                
                                                                   
    Author: Christoph Blume                                        
                                                                   


T49Histogram1D():T49Histogram()
 T49Histogram1D default constructor


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


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


T49Histogram1D(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) :T49Histogram(name,title,n,min,max)
 T49Histogram1D constructor with name, title, and histogram definition


~T49Histogram1D()
 Destructor


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


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


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


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


void SetDimensions(Int_t n, Float_t min, Float_t max)
 Defines the number of bins <n> and the borders <min> <max> of
 the histogram array


void Init()

void CreateHistograms()



Inline Functions


                   void Fill(Float_t x, Float_t val, Float_t wgt = 1)
                  Int_t GetNbin() const
                Float_t GetMin() const
                Float_t GetMax() const
                Float_t GetWidth() const
                  TH1D* GetHistogram(Float_t x)
                  Int_t GetIndex(Float_t x)
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
         T49Histogram1D T49Histogram1D(const T49Histogram1D&)
        T49Histogram1D& operator=(const T49Histogram1D&)


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