TH2D


class description - source file - inheritance tree

class TH2D : public TH1D, public TH2

    private:
virtual Int_t Fill(Axis_t) virtual Int_t Fill(Axis_t, Stat_t) virtual Int_t Fill(Axis_t, Axis_t, Axis_t, Stat_t) public:
TH2D TH2D(const Text_t* name, const Text_t* title, Int_t nbinsx, Axis_t xlow, Axis_t xup, Int_t nbinsy, Axis_t ylow, Axis_t yup) TH2D TH2D(const Text_t* name, const Text_t* title, Int_t nbinsx, Axis_t* xbins, Int_t nbinsy, Axis_t ylow, Axis_t yup) TH2D TH2D(const Text_t* name, const Text_t* title, Int_t nbinsx, Axis_t xlow, Axis_t xup, Int_t nbinsy, Axis_t* ybins) TH2D TH2D() TH2D TH2D(const Text_t* name, const Text_t* title, Int_t nbinsx, Axis_t* xbins, Int_t nbinsy, Axis_t* ybins) TH2D TH2D(const TH2D& h2d) virtual void ~TH2D() TClass* Class() virtual void Copy(TObject& hnew) virtual TH1* DrawCopy(Option_t* option) virtual Int_t Fill(Axis_t x, Axis_t y) virtual Int_t Fill(Axis_t x, Axis_t y, Stat_t w) virtual Stat_t GetCorrelationFactor(Int_t axis1 = 1, Int_t axis2 = 2) virtual Stat_t GetCovariance(Int_t axis1 = 1, Int_t axis2 = 2) virtual void GetStats(Stat_t* stats) virtual TClass* IsA() const TH2D& operator=(const TH2D& h1) virtual void Reset(Option_t* option) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members


Class Description

 Service class for 2-Dim histogram classes

  TH2C a 2-D histogram with one byte per cell (char)
  TH2S a 2-D histogram with two bytes per cell (short integer)
  TH2F a 2-D histogram with four bytes per cell (float)
  TH2D a 2-D histogram with eight bytes per cell (double)


TH2D(): TH1D(),TH2()

~TH2D()

TH2D(const Text_t *name,const Text_t *title,Int_t nbinsx,Axis_t xlow,Axis_t xup ,Int_t nbinsy,Axis_t ylow,Axis_t yup) :TH1D(2,name,title,nbinsx,xlow,xup), TH2()

TH2D(const Text_t *name,const Text_t *title,Int_t nbinsx,Axis_t *xbins ,Int_t nbinsy,Axis_t ylow,Axis_t yup) :TH1D(2,name,title,nbinsx,xbins), TH2()

TH2D(const Text_t *name,const Text_t *title,Int_t nbinsx,Axis_t xlow,Axis_t xup ,Int_t nbinsy,Axis_t *ybins) :TH1D(2,name,title,nbinsx,xlow,xup), TH2()

TH2D(const Text_t *name,const Text_t *title,Int_t nbinsx,Axis_t *xbins ,Int_t nbinsy,Axis_t *ybins) :TH1D(2,name,title,nbinsx,xbins), TH2()

TH2D(const TH2D &h2d)

void Copy(TObject &newth2)

TH1* DrawCopy(Option_t *option)

Int_t Fill(Axis_t x, Axis_t y)

Int_t Fill(Axis_t x, Axis_t y, Stat_t w)

Stat_t GetCorrelationFactor(Int_t axis1, Int_t axis2)
*-*-*-*-*-*-*-*Return correlation factor between axis1 and axis2*-*-*-*-*
*-*            ====================================================

Stat_t GetCovariance(Int_t axis1, Int_t axis2)
*-*-*-*-*-*-*-*Return covariance between axis1 and axis2*-*-*-*-*
*-*            ====================================================

void GetStats(Stat_t *stats)
 fill the array stats from the contents of this histogram
 The array stats must be correctly dimensionned in the calling program.
 stats[0] = sumw
 stats[1] = sumw2
 stats[2] = sumwx
 stats[3] = sumwx2
 stats[4] = sumwy
 stats[5] = sumwy2

void Reset(Option_t *option)
*-*-*-*-*-*-*-*Reset this histogram: contents, errors, etc*-*-*-*-*-*-*-*
*-*            ===========================================



Inline Functions


              Int_t Fill(Axis_t, Axis_t, Axis_t, Stat_t)
              Int_t Fill(Axis_t x, Axis_t y)
              Int_t Fill(Axis_t x, Axis_t y, Stat_t w)
              TH2D& operator=(const TH2D& h1)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)


Author: Rene Brun 26/12/94
Last update: 2.22/06 16/06/99 12.09.13 by Rene Brun
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


ROOT page - Class index - 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.