TH2F Class Reference

#include <TH2.h>

Inheritance diagram for TH2F:

TH2 TArrayF TH2 TArrayF TArray TArray TH1 TH1 TArray TArray TH1 TH1 List of all members.

Public Member Functions

 TH2F ()
 TH2F (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, Double_t ylow, Double_t yup)
 TH2F (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, Double_t ylow, Double_t yup)
 TH2F (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, const Double_t *ybins)
 TH2F (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, const Double_t *ybins)
 TH2F (const char *name, const char *title, Int_t nbinsx, const Float_t *xbins, Int_t nbinsy, const Float_t *ybins)
 TH2F (const TMatrixFBase &m)
 TH2F (const TH2F &h2f)
virtual ~TH2F ()
virtual void AddBinContent (Int_t bin)
virtual void AddBinContent (Int_t bin, Double_t w)
virtual void Copy (TObject &hnew) const
virtual TH1DrawCopy (Option_t *option="") const
virtual Double_t GetBinContent (Int_t bin) const
virtual Double_t GetBinContent (Int_t binx, Int_t biny) const
virtual Double_t GetBinContent (Int_t binx, Int_t biny, Int_t) const
virtual void Reset (Option_t *option="")
virtual void SetBinContent (Int_t bin, Double_t content)
virtual void SetBinContent (Int_t binx, Int_t biny, Double_t content)
virtual void SetBinContent (Int_t binx, Int_t biny, Int_t, Double_t content)
virtual void SetBinsLength (Int_t n=-1)
TH2Foperator= (const TH2F &h1)
 TH2F ()
 TH2F (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, Double_t ylow, Double_t yup)
 TH2F (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, Double_t ylow, Double_t yup)
 TH2F (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, const Double_t *ybins)
 TH2F (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, const Double_t *ybins)
 TH2F (const char *name, const char *title, Int_t nbinsx, const Float_t *xbins, Int_t nbinsy, const Float_t *ybins)
 TH2F (const TMatrixFBase &m)
 TH2F (const TH2F &h2f)
virtual ~TH2F ()
virtual void AddBinContent (Int_t bin)
virtual void AddBinContent (Int_t bin, Double_t w)
virtual void Copy (TObject &hnew) const
virtual TH1DrawCopy (Option_t *option="") const
virtual Double_t GetBinContent (Int_t bin) const
virtual Double_t GetBinContent (Int_t binx, Int_t biny) const
virtual Double_t GetBinContent (Int_t binx, Int_t biny, Int_t) const
virtual void Reset (Option_t *option="")
virtual void SetBinContent (Int_t bin, Double_t content)
virtual void SetBinContent (Int_t binx, Int_t biny, Double_t content)
virtual void SetBinContent (Int_t binx, Int_t biny, Int_t, Double_t content)
virtual void SetBinsLength (Int_t n=-1)
TH2Foperator= (const TH2F &h1)

Friends

TH2F operator * (Float_t c1, TH2F &h1)
TH2F operator * (TH2F &h1, Float_t c1)
TH2F operator+ (TH2F &h1, TH2F &h2)
TH2F operator- (TH2F &h1, TH2F &h2)
TH2F operator * (TH2F &h1, TH2F &h2)
TH2F operator/ (TH2F &h1, TH2F &h2)
TH2F operator * (Float_t c1, TH2F &h1)
TH2F operator * (TH2F &h1, Float_t c1)
TH2F operator+ (TH2F &h1, TH2F &h2)
TH2F operator- (TH2F &h1, TH2F &h2)
TH2F operator * (TH2F &h1, TH2F &h2)
TH2F operator/ (TH2F &h1, TH2F &h2)

Detailed Description

Definition at line 246 of file TH2.h.


Constructor & Destructor Documentation

TH2F::TH2F (  ) 

TH2F::TH2F ( const char *  name,
const char *  title,
Int_t  nbinsx,
Double_t  xlow,
Double_t  xup,
Int_t  nbinsy,
Double_t  ylow,
Double_t  yup 
)

Definition at line 3471 of file TH2.cxx.

References TH1::fgBufferSize, TH1::fgDefaultSumw2, TH1::fNcells, TArrayF::Set(), TH1::SetBuffer(), and TH1::Sumw2().

TH2F::TH2F ( const char *  name,
const char *  title,
Int_t  nbinsx,
const Double_t xbins,
Int_t  nbinsy,
Double_t  ylow,
Double_t  yup 
)

Definition at line 3484 of file TH2.cxx.

References TH1::fgDefaultSumw2, TH1::fNcells, TArrayF::Set(), and TH1::Sumw2().

TH2F::TH2F ( const char *  name,
const char *  title,
Int_t  nbinsx,
Double_t  xlow,
Double_t  xup,
Int_t  nbinsy,
const Double_t ybins 
)

Definition at line 3495 of file TH2.cxx.

References TH1::fgDefaultSumw2, TH1::fNcells, TArrayF::Set(), and TH1::Sumw2().

TH2F::TH2F ( const char *  name,
const char *  title,
Int_t  nbinsx,
const Double_t xbins,
Int_t  nbinsy,
const Double_t ybins 
)

Definition at line 3506 of file TH2.cxx.

References TH1::fgDefaultSumw2, TH1::fNcells, TArrayF::Set(), and TH1::Sumw2().

TH2F::TH2F ( const char *  name,
const char *  title,
Int_t  nbinsx,
const Float_t xbins,
Int_t  nbinsy,
const Float_t ybins 
)

Definition at line 3517 of file TH2.cxx.

References TH1::fgDefaultSumw2, TH1::fNcells, TArrayF::Set(), and TH1::Sumw2().

TH2F::TH2F ( const TMatrixFBase m  ) 

Definition at line 3528 of file TH2.cxx.

References TH1::fNcells, j, m, TArrayF::Set(), and TH1::SetCellContent().

TH2F::TH2F ( const TH2F h2f  ) 

Definition at line 3546 of file TH2.cxx.

TH2F::~TH2F (  )  [virtual]

Definition at line 3465 of file TH2.cxx.

TH2F::TH2F (  ) 

TH2F::TH2F ( const char *  name,
const char *  title,
Int_t  nbinsx,
Double_t  xlow,
Double_t  xup,
Int_t  nbinsy,
Double_t  ylow,
Double_t  yup 
)

TH2F::TH2F ( const char *  name,
const char *  title,
Int_t  nbinsx,
const Double_t xbins,
Int_t  nbinsy,
Double_t  ylow,
Double_t  yup 
)

TH2F::TH2F ( const char *  name,
const char *  title,
Int_t  nbinsx,
Double_t  xlow,
Double_t  xup,
Int_t  nbinsy,
const Double_t ybins 
)

TH2F::TH2F ( const char *  name,
const char *  title,
Int_t  nbinsx,
const Double_t xbins,
Int_t  nbinsy,
const Double_t ybins 
)

TH2F::TH2F ( const char *  name,
const char *  title,
Int_t  nbinsx,
const Float_t xbins,
Int_t  nbinsy,
const Float_t ybins 
)

TH2F::TH2F ( const TMatrixFBase m  ) 

TH2F::TH2F ( const TH2F h2f  ) 

virtual TH2F::~TH2F (  )  [virtual]


Member Function Documentation

virtual void TH2F::AddBinContent ( Int_t  bin  )  [inline, virtual]

Reimplemented from TH1.

Definition at line 263 of file TH2.h.

References TArrayF::fArray.

virtual void TH2F::AddBinContent ( Int_t  bin,
Double_t  w 
) [inline, virtual]

Reimplemented from TH1.

Definition at line 264 of file TH2.h.

References TArrayF::fArray.

void TH2F::Copy ( TObject hnew  )  const [virtual]

Reimplemented from TH2.

Definition at line 3554 of file TH2.cxx.

References TH2::Copy().

Referenced by operator=().

TH1 * TH2F::DrawCopy ( Option_t option = ""  )  const [virtual]

Reimplemented from TH1.

Definition at line 3562 of file TH2.cxx.

References TObject::AppendPad(), TNamed::Clone(), TString::Contains(), gPad, TObject::kCanDelete, TObject::SetBit(), TH1::SetDirectory(), and TString::ToLower().

Referenced by ProofEventProc::Terminate().

Double_t TH2F::GetBinContent ( Int_t  bin  )  const [virtual]

Reimplemented from TH1.

Definition at line 3577 of file TH2.cxx.

References TArrayF::fArray, TH1::fBuffer, and TH1::fNcells.

Referenced by GetBinContent(), and mvaweights().

virtual Double_t TH2F::GetBinContent ( Int_t  binx,
Int_t  biny 
) const [inline, virtual]

Reimplemented from TH1.

Definition at line 269 of file TH2.h.

References TH1::GetBin(), and GetBinContent().

virtual Double_t TH2F::GetBinContent ( Int_t  binx,
Int_t  biny,
Int_t   
) const [inline, virtual]

Reimplemented from TH1.

Definition at line 270 of file TH2.h.

References TH1::GetBin(), and GetBinContent().

void TH2F::Reset ( Option_t option = ""  )  [virtual]

Reimplemented from TH2.

Definition at line 3589 of file TH2.cxx.

References TH2::Reset(), and TArrayF::Reset().

Referenced by mygenerate().

void TH2F::SetBinContent ( Int_t  bin,
Double_t  content 
) [virtual]

Reimplemented from TH1.

Definition at line 3599 of file TH2.cxx.

References TArrayF::fArray, TH1::fEntries, TH1::fNcells, and TH1::fTsumw.

Referenced by multicolor(), mvaweights(), PlotDecisionBoundary(), rs401d_FeldmanCousins(), SetBinContent(), and TMVA::Tools::TransposeHist().

virtual void TH2F::SetBinContent ( Int_t  binx,
Int_t  biny,
Double_t  content 
) [inline, virtual]

Reimplemented from TH1.

Definition at line 273 of file TH2.h.

References TH1::GetBin(), and SetBinContent().

virtual void TH2F::SetBinContent ( Int_t  binx,
Int_t  biny,
Int_t  ,
Double_t  content 
) [inline, virtual]

Reimplemented from TH1.

Definition at line 274 of file TH2.h.

References TH1::GetBin(), and SetBinContent().

void TH2F::SetBinsLength ( Int_t  n = -1  )  [virtual]

Reimplemented from TH1.

Definition at line 3610 of file TH2.cxx.

References TH1::fNcells, TH1::fXaxis, TH1::fYaxis, TAxis::GetNbins(), and TArrayF::Set().

TH2F & TH2F::operator= ( const TH2F h1  ) 

Definition at line 3655 of file TH2.cxx.

References Copy(), and h1.

virtual void TH2F::AddBinContent ( Int_t  bin  )  [inline, virtual]

Reimplemented from TH1.

Definition at line 263 of file TH2.h.

References TArrayF::fArray.

virtual void TH2F::AddBinContent ( Int_t  bin,
Double_t  w 
) [inline, virtual]

Reimplemented from TH1.

Definition at line 264 of file TH2.h.

References TArrayF::fArray.

virtual void TH2F::Copy ( TObject hnew  )  const [virtual]

Reimplemented from TH2.

virtual TH1* TH2F::DrawCopy ( Option_t option = ""  )  const [virtual]

Reimplemented from TH1.

virtual Double_t TH2F::GetBinContent ( Int_t  bin  )  const [virtual]

Reimplemented from TH1.

virtual Double_t TH2F::GetBinContent ( Int_t  binx,
Int_t  biny 
) const [inline, virtual]

Reimplemented from TH1.

Definition at line 269 of file TH2.h.

References TH1::GetBin(), and GetBinContent().

virtual Double_t TH2F::GetBinContent ( Int_t  binx,
Int_t  biny,
Int_t   
) const [inline, virtual]

Reimplemented from TH1.

Definition at line 270 of file TH2.h.

References TH1::GetBin(), and GetBinContent().

virtual void TH2F::Reset ( Option_t option = ""  )  [virtual]

Reimplemented from TH2.

virtual void TH2F::SetBinContent ( Int_t  bin,
Double_t  content 
) [virtual]

Reimplemented from TH1.

virtual void TH2F::SetBinContent ( Int_t  binx,
Int_t  biny,
Double_t  content 
) [inline, virtual]

Reimplemented from TH1.

Definition at line 273 of file TH2.h.

References TH1::GetBin(), and SetBinContent().

virtual void TH2F::SetBinContent ( Int_t  binx,
Int_t  biny,
Int_t  ,
Double_t  content 
) [inline, virtual]

Reimplemented from TH1.

Definition at line 274 of file TH2.h.

References TH1::GetBin(), and SetBinContent().

virtual void TH2F::SetBinsLength ( Int_t  n = -1  )  [virtual]

Reimplemented from TH1.

TH2F& TH2F::operator= ( const TH2F h1  ) 


Friends And Related Function Documentation

TH2F operator * ( Float_t  c1,
TH2F h1 
) [friend]

Definition at line 3665 of file TH2.cxx.

TH2F operator * ( TH2F h1,
Float_t  c1 
) [friend]

Definition at line 3677 of file TH2.cxx.

TH2F operator+ ( TH2F h1,
TH2F h2 
) [friend]

Definition at line 3688 of file TH2.cxx.

TH2F operator- ( TH2F h1,
TH2F h2 
) [friend]

Definition at line 3699 of file TH2.cxx.

TH2F operator * ( TH2F h1,
TH2F h2 
) [friend]

Definition at line 3710 of file TH2.cxx.

TH2F operator/ ( TH2F h1,
TH2F h2 
) [friend]

Definition at line 3721 of file TH2.cxx.

TH2F operator * ( Float_t  c1,
TH2F h1 
) [friend]

Definition at line 3665 of file TH2.cxx.

TH2F operator * ( TH2F h1,
Float_t  c1 
) [friend]

Definition at line 3677 of file TH2.cxx.

TH2F operator+ ( TH2F h1,
TH2F h2 
) [friend]

Definition at line 3688 of file TH2.cxx.

TH2F operator- ( TH2F h1,
TH2F h2 
) [friend]

Definition at line 3699 of file TH2.cxx.

TH2F operator * ( TH2F h1,
TH2F h2 
) [friend]

Definition at line 3710 of file TH2.cxx.

TH2F operator/ ( TH2F h1,
TH2F h2 
) [friend]

Definition at line 3721 of file TH2.cxx.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:41:24 2011 for ROOT_528-00b_version by  doxygen 1.5.1