#include "T49Histogram.h"

T49Histogram


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

class T49Histogram : public TNamed

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

    protected:
virtual void Init() public:
T49Histogram() T49Histogram(const Text_t* name, const Text_t* title) T49Histogram(const Text_t* name, const Text_t* title, TH1* histo) T49Histogram(const Text_t* name, const Text_t* title, Int_t n, Float_t min, Float_t max) T49Histogram(const T49Histogram&) virtual ~T49Histogram() static TClass* Class() TH1D* GetHistogram(Int_t index) TObjArray* GetHistogramArray() Float_t GetHistogramMax() Float_t GetHistogramMin() Char_t* GetHistogramName() Int_t GetHistogramNbin() Char_t* GetHistogramTitle() Float_t GetHistogramWidth() virtual TClass* IsA() const T49Histogram& operator=(const T49Histogram&) virtual void Print(Option_t* option = "") const virtual void Reset() virtual Int_t Save(Char_t* filename) virtual void SetHistogram(Char_t* name, Char_t* title, Int_t n, Float_t min, Float_t max) virtual void SetHistogram(TH1* histo) virtual void SetHistogramName(Char_t* name) virtual void SetHistogramTitle(Char_t* title) virtual void SetLogy(Int_t i = 1) virtual void SetVerbose(Int_t v = 1) virtual void SetXTitle(Text_t* xtitle) virtual void SetXYTitle(Text_t* xtitle, Text_t* ytitle) virtual void SetYTitle(Text_t* ytitle) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual Int_t WriteHistograms()

Data Members


    protected:
Int_t fVerbose Switch for verbose mode TObjArray* fHisto Array of histograms Int_t fHN Number of bins in the histograms Float_t fHMin Lower border of the histograms Float_t fHMax Upper border of the histograms Char_t* fHName ! Name of the histograms Char_t* fHTitle ! Title of the histograms Text_t* fXTitle ! Title of the x-axis Text_t* fYTitle ! Title of the y-axis Int_t fLogy ! Switch for logarythmic drawing

Class Description

                                                                   
    Histogram container base class                                 
                                                                   
    Author: Christoph Blume                                        
                                                                   


T49Histogram():TNamed()
 T49Histogram default constructor


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


T49Histogram(const Text_t *name, const Text_t *title, TH1 *histo) :TNamed(name,title)
 T49Histogram constructor with name, title and input histogram


T49Histogram(const Text_t *name, const Text_t *title , Int_t n, Float_t min, Float_t max) :TNamed(name,title)
 T49Histogram constructor with name, title and input histogram


~T49Histogram()
 Destructor


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


void SetHistogram(Char_t *name, Char_t *title , Int_t n, Float_t min, Float_t max)
 Defines the histogram parameter


void SetHistogram(TH1 *histo)
 Defines the histogram in the array as a copy of
 an input histogram


void SetXTitle(Text_t *xtitle)
 Set the title of the x-axis of the histograms


void SetYTitle(Text_t *ytitle)
 Set the title of the y-axis of the histograms


void SetXYTitle(Text_t *xtitle, Text_t *ytitle)
 Set the axis titles of the histograms


void Init()

void Reset()
 Resets all histograms


Int_t Save(Char_t *filename)
 Saves all histograms in the ROOT-file <filename>


Int_t WriteHistograms()
 Writes out all histograms




Inline Functions


                 void SetVerbose(Int_t v = 1)
                 void SetHistogramName(Char_t* name)
                 void SetHistogramTitle(Char_t* title)
                 void SetLogy(Int_t i = 1)
           TObjArray* GetHistogramArray()
                Int_t GetHistogramNbin()
              Float_t GetHistogramMin()
              Float_t GetHistogramMax()
              Char_t* GetHistogramName()
              Char_t* GetHistogramTitle()
              Float_t GetHistogramWidth()
                TH1D* GetHistogram(Int_t index)
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)
         T49Histogram T49Histogram(const T49Histogram&)
        T49Histogram& operator=(const T49Histogram&)


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