TH2C
class description - source file - inheritance tree
class TH2C : public TH1C, 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:
TH2C TH2C()
TH2C TH2C(Text_t* name, Text_t* title, Int_t nbinsx, Axis_t xlow, Axis_t xup, Int_t nbinsy, Axis_t ylow, Axis_t yup)
TH2C TH2C(Text_t* name, Text_t* title, Int_t nbinsx, Axis_t* xbins, Int_t nbinsy, Axis_t ylow, Axis_t yup)
TH2C TH2C(Text_t* name, Text_t* title, Int_t nbinsx, Axis_t xlow, Axis_t xup, Int_t nbinsy, Axis_t* ybins)
TH2C TH2C(Text_t* name, Text_t* title, Int_t nbinsx, Axis_t* xbins, Int_t nbinsy, Axis_t* ybins)
TH2C TH2C(TH2C& h2c)
virtual void ~TH2C()
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()
TH2C& operator=(TH2C& h1)
virtual void Reset(Option_t* option)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
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)
TH2C(): TH1C(),TH2()
~TH2C()
TH2C(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)
:TH1C(2,name,title,nbinsx,xlow,xup),
TH2()
TH2C(const Text_t *name,const Text_t *title,Int_t nbinsx,Axis_t *xbins
,Int_t nbinsy,Axis_t ylow,Axis_t yup)
:TH1C(2,name,title,nbinsx,xbins),
TH2()
TH2C(const Text_t *name,const Text_t *title,Int_t nbinsx,Axis_t xlow,Axis_t xup
,Int_t nbinsy,Axis_t *ybins)
:TH1C(2,name,title,nbinsx,xlow,xup),
TH2()
TH2C(const Text_t *name,const Text_t *title,Int_t nbinsx,Axis_t *xbins
,Int_t nbinsy,Axis_t *ybins)
:TH1C(2,name,title,nbinsx,xbins),
TH2()
TH2C(const TH2C &h2c)
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)
TH2C& operator=(TH2C& h1)
TClass* Class()
TClass* IsA()
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.