TH2Poly Class Reference

#include <TH2Poly.h>

Inheritance diagram for TH2Poly:

TH2 TH2 TH1 TH1 TH1 TH1 TAttMarker TAttFill TAttLine TNamed TAttMarker TAttFill TAttLine TNamed TAttMarker TAttFill TAttLine TNamed TAttMarker TAttFill TAttLine TNamed TAttMarker TAttFill TAttLine TNamed TAttMarker TAttFill TAttLine TNamed TAttMarker TAttFill TAttLine TNamed TAttMarker TAttFill TAttLine TNamed List of all members.

Public Member Functions

 TH2Poly ()
 TH2Poly (const char *name, const char *title, Double_t xlow, Double_t xup, Double_t ylow, Double_t yup)
 TH2Poly (const char *name, const char *title, Int_t nX, Double_t xlow, Double_t xup, Int_t nY, Double_t ylow, Double_t yup)
virtual ~TH2Poly ()
Int_t AddBin (TObject *poly)
Int_t AddBin (Int_t n, const Double_t *x, const Double_t *y)
Int_t AddBin (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
void ClearBinContents ()
void ChangePartition (Int_t n, Int_t m)
virtual TH1DrawCopy (Option_t *option="") const
Int_t Fill (Double_t x, Double_t y)
Int_t Fill (Double_t x, Double_t y, Double_t w)
Int_t Fill (const char *name, Double_t w)
void FillN (Int_t ntimes, const Double_t *x, const Double_t *y, const Double_t *w, Int_t stride=1)
Int_t Fill (Double_t)
Int_t Fill (Double_t, const char *, Double_t)
Int_t Fill (const char *, Double_t, Double_t)
Int_t Fill (const char *, const char *, Double_t)
void FillN (Int_t, const Double_t *, const Double_t *, Int_t)
Int_t FindBin (Double_t x, Double_t y, Double_t z=0)
TListGetBins ()
Double_t GetBinContent (Int_t bin) const
Double_t GetBinContent (Int_t, Int_t) const
Double_t GetBinContent (Int_t, Int_t, Int_t) const
Bool_t GetBinContentChanged () const
Double_t GetBinError (Int_t bin) const
Double_t GetBinError (Int_t, Int_t) const
Double_t GetBinError (Int_t, Int_t, Int_t) const
const char * GetBinName (Int_t bin) const
const char * GetBinTitle (Int_t bin) const
Bool_t GetFloat ()
Double_t GetMaximum () const
Double_t GetMaximum (Double_t maxval) const
Double_t GetMinimum () const
Double_t GetMinimum (Double_t minval) const
Bool_t GetNewBinAdded () const
Int_t GetNumberOfBins () const
void Honeycomb (Double_t xstart, Double_t ystart, Double_t a, Int_t k, Int_t s)
Double_t Integral (Option_t *option="") const
Double_t Integral (Int_t, Int_t, const Option_t *) const
Double_t Integral (Int_t, Int_t, Int_t, Int_t, const Option_t *) const
Double_t Integral (Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, const Option_t *) const
void SavePrimitive (ostream &out, Option_t *option="")
void SetBinContent (Int_t bin, Double_t content)
void SetBinContent (Int_t, Int_t, Double_t)
void SetBinContent (Int_t, Int_t, Int_t, Double_t)
void SetBinContentChanged (Bool_t flag)
void SetFloat (Bool_t flag=true)
void SetNewBinAdded (Bool_t flag)
 TH2Poly ()
 TH2Poly (const char *name, const char *title, Double_t xlow, Double_t xup, Double_t ylow, Double_t yup)
 TH2Poly (const char *name, const char *title, Int_t nX, Double_t xlow, Double_t xup, Int_t nY, Double_t ylow, Double_t yup)
virtual ~TH2Poly ()
Int_t AddBin (TObject *poly)
Int_t AddBin (Int_t n, const Double_t *x, const Double_t *y)
Int_t AddBin (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
void ClearBinContents ()
void ChangePartition (Int_t n, Int_t m)
virtual TH1DrawCopy (Option_t *option="") const
Int_t Fill (Double_t x, Double_t y)
Int_t Fill (Double_t x, Double_t y, Double_t w)
Int_t Fill (const char *name, Double_t w)
void FillN (Int_t ntimes, const Double_t *x, const Double_t *y, const Double_t *w, Int_t stride=1)
Int_t Fill (Double_t)
Int_t Fill (Double_t, const char *, Double_t)
Int_t Fill (const char *, Double_t, Double_t)
Int_t Fill (const char *, const char *, Double_t)
void FillN (Int_t, const Double_t *, const Double_t *, Int_t)
Int_t FindBin (Double_t x, Double_t y, Double_t z=0)
TListGetBins ()
Double_t GetBinContent (Int_t bin) const
Double_t GetBinContent (Int_t, Int_t) const
Double_t GetBinContent (Int_t, Int_t, Int_t) const
Bool_t GetBinContentChanged () const
Double_t GetBinError (Int_t bin) const
Double_t GetBinError (Int_t, Int_t) const
Double_t GetBinError (Int_t, Int_t, Int_t) const
const char * GetBinName (Int_t bin) const
const char * GetBinTitle (Int_t bin) const
Bool_t GetFloat ()
Double_t GetMaximum () const
Double_t GetMaximum (Double_t maxval) const
Double_t GetMinimum () const
Double_t GetMinimum (Double_t minval) const
Bool_t GetNewBinAdded () const
Int_t GetNumberOfBins () const
void Honeycomb (Double_t xstart, Double_t ystart, Double_t a, Int_t k, Int_t s)
Double_t Integral (Option_t *option="") const
Double_t Integral (Int_t, Int_t, const Option_t *) const
Double_t Integral (Int_t, Int_t, Int_t, Int_t, const Option_t *) const
Double_t Integral (Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, const Option_t *) const
void SavePrimitive (ostream &out, Option_t *option="")
void SetBinContent (Int_t bin, Double_t content)
void SetBinContent (Int_t, Int_t, Double_t)
void SetBinContent (Int_t, Int_t, Int_t, Double_t)
void SetBinContentChanged (Bool_t flag)
void SetFloat (Bool_t flag=true)
void SetNewBinAdded (Bool_t flag)

Protected Member Functions

void AddBinToPartition (TH2PolyBin *bin)
 For the 3D Painter.
void Initialize (Double_t xlow, Double_t xup, Double_t ylow, Double_t yup, Int_t n, Int_t m)
Bool_t IsIntersecting (TH2PolyBin *bin, Double_t xclipl, Double_t xclipr, Double_t yclipb, Double_t yclipt)
Bool_t IsIntersectingPolygon (Int_t bn, Double_t *x, Double_t *y, Double_t xclipl, Double_t xclipr, Double_t yclipb, Double_t yclipt)
void AddBinToPartition (TH2PolyBin *bin)
 For the 3D Painter.
void Initialize (Double_t xlow, Double_t xup, Double_t ylow, Double_t yup, Int_t n, Int_t m)
Bool_t IsIntersecting (TH2PolyBin *bin, Double_t xclipl, Double_t xclipr, Double_t yclipb, Double_t yclipt)
Bool_t IsIntersectingPolygon (Int_t bn, Double_t *x, Double_t *y, Double_t xclipl, Double_t xclipr, Double_t yclipb, Double_t yclipt)

Protected Attributes

TListfBins
Double_t fOverflow [9]
Int_t fCellX
Int_t fCellY
Int_t fNCells
TListfCells
Double_t fStepX
Double_t fStepY
Bool_tfIsEmpty
Bool_tfCompletelyInside
Bool_t fFloat
Bool_t fNewBinAdded
Bool_t fBinContentChanged
 For the 3D Painter.
TListfBins
TListfCells
Bool_tfIsEmpty
Bool_tfCompletelyInside

Detailed Description

Definition at line 70 of file TH2Poly.h.


Constructor & Destructor Documentation

TH2Poly::TH2Poly (  ) 

TH2Poly::TH2Poly ( const char *  name,
const char *  title,
Double_t  xlow,
Double_t  xup,
Double_t  ylow,
Double_t  yup 
)

Definition at line 161 of file TH2Poly.cxx.

References Initialize(), kFALSE, SetFloat(), TH1::SetName(), and TH1::SetTitle().

TH2Poly::TH2Poly ( const char *  name,
const char *  title,
Int_t  nX,
Double_t  xlow,
Double_t  xup,
Int_t  nY,
Double_t  ylow,
Double_t  yup 
)

Definition at line 175 of file TH2Poly.cxx.

References Initialize(), kFALSE, SetFloat(), TH1::SetName(), and TH1::SetTitle().

TH2Poly::~TH2Poly (  )  [virtual]

Definition at line 189 of file TH2Poly.cxx.

TH2Poly::TH2Poly (  ) 

TH2Poly::TH2Poly ( const char *  name,
const char *  title,
Double_t  xlow,
Double_t  xup,
Double_t  ylow,
Double_t  yup 
)

TH2Poly::TH2Poly ( const char *  name,
const char *  title,
Int_t  nX,
Double_t  xlow,
Double_t  xup,
Int_t  nY,
Double_t  ylow,
Double_t  yup 
)

virtual TH2Poly::~TH2Poly (  )  [virtual]


Member Function Documentation

Int_t TH2Poly::AddBin ( TObject poly  ) 

Definition at line 196 of file TH2Poly.cxx.

References TList::Add(), AddBinToPartition(), ChangePartition(), fBins, fCellX, fCellY, fFloat, flag, TH1::fNcells, TH1::fXaxis, TH1::fYaxis, TH2PolyBin::GetXMax(), TAxis::GetXmax(), TH2PolyBin::GetXMin(), TAxis::GetXmin(), TH2PolyBin::GetYMax(), TH2PolyBin::GetYMin(), kFALSE, kTRUE, TAxis::Set(), and SetNewBinAdded().

Referenced by AddBin(), Honeycomb(), and kdTreeBinning().

Int_t TH2Poly::AddBin ( Int_t  n,
const Double_t x,
const Double_t y 
)

Definition at line 246 of file TH2Poly.cxx.

References AddBin(), and g.

Int_t TH2Poly::AddBin ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2 
)

Definition at line 259 of file TH2Poly.cxx.

References AddBin(), g, x, and y.

void TH2Poly::ClearBinContents (  ) 

Definition at line 380 of file TH2Poly.cxx.

References TH2PolyBin::ClearContent(), fBins, TH1::fEntries, TH1::fTsumw, TH1::fTsumwx, TH1::fTsumwx2, TH2::fTsumwy, and TH2::fTsumwy2.

void TH2Poly::ChangePartition ( Int_t  n,
Int_t  m 
)

Definition at line 342 of file TH2Poly.cxx.

References AddBinToPartition(), fBins, fCells, fCellX, fCellY, fCompletelyInside, fIsEmpty, fNCells, fStepX, fStepY, TH1::fXaxis, TH1::fYaxis, TAxis::GetXmax(), TAxis::GetXmin(), i, kFALSE, and kTRUE.

Referenced by AddBin().

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

Reimplemented from TH1.

Definition at line 405 of file TH2Poly.cxx.

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

Int_t TH2Poly::Fill ( Double_t  x,
Double_t  y 
) [virtual]

Reimplemented from TH2.

Definition at line 476 of file TH2Poly.cxx.

Referenced by FillN(), and th2polyHoneycomb().

Int_t TH2Poly::Fill ( Double_t  x,
Double_t  y,
Double_t  w 
) [virtual]

Reimplemented from TH2.

Definition at line 486 of file TH2Poly.cxx.

References TArrayD::fArray, fCells, fCellX, fCellY, TH1::fEntries, TH2PolyBin::Fill(), fIsEmpty, floor(), TArray::fN, TH1::fNcells, fOverflow, fStepX, fStepY, TH1::fSumw2, TH1::fTsumw, TH1::fTsumwx, TH1::fTsumwx2, TH2::fTsumwy, TH2::fTsumwy2, TH1::fXaxis, TH1::fYaxis, TH2PolyBin::GetBinNumber(), TAxis::GetXmax(), TAxis::GetXmin(), TH2PolyBin::IsInside(), kTRUE, m, n, and SetBinContentChanged().

Int_t TH2Poly::Fill ( const char *  name,
Double_t  w 
) [virtual]

Reimplemented from TH2.

Definition at line 548 of file TH2Poly.cxx.

References fBins, TH1::fEntries, TH2PolyBin::Fill(), TH2PolyBin::GetBinNumber(), TObject::GetName(), TH2PolyBin::GetPolygon(), kTRUE, SetBinContentChanged(), and sname.

void TH2Poly::FillN ( Int_t  ntimes,
const Double_t x,
const Double_t y,
const Double_t w,
Int_t  stride = 1 
) [virtual]

Reimplemented from TH2.

Definition at line 573 of file TH2Poly.cxx.

References Fill(), and i.

Int_t TH2Poly::Fill ( Double_t   )  [inline, virtual]

Reimplemented from TH2.

Definition at line 88 of file TH2Poly.h.

Int_t TH2Poly::Fill ( Double_t  ,
const char *  ,
Double_t   
) [inline, virtual]

Reimplemented from TH2.

Definition at line 89 of file TH2Poly.h.

Int_t TH2Poly::Fill ( const char *  ,
Double_t  ,
Double_t   
) [inline, virtual]

Reimplemented from TH2.

Definition at line 90 of file TH2Poly.h.

Int_t TH2Poly::Fill ( const char *  ,
const char *  ,
Double_t   
) [inline, virtual]

Reimplemented from TH2.

Definition at line 91 of file TH2Poly.h.

void TH2Poly::FillN ( Int_t  ,
const Double_t ,
const Double_t ,
Int_t   
) [inline, virtual]

Reimplemented from TH2.

Definition at line 92 of file TH2Poly.h.

Int_t TH2Poly::FindBin ( Double_t  x,
Double_t  y,
Double_t  z = 0 
) [virtual]

Reimplemented from TH1.

Definition at line 421 of file TH2Poly.cxx.

References fCells, fCellX, fCellY, fIsEmpty, floor(), fStepX, fStepY, TH1::fXaxis, TH1::fYaxis, TH2PolyBin::GetBinNumber(), TAxis::GetXmax(), TAxis::GetXmin(), TH2PolyBin::IsInside(), m, and n.

Referenced by kdTreeBinning().

TList* TH2Poly::GetBins (  )  [inline]

Definition at line 94 of file TH2Poly.h.

References fBins.

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

Reimplemented from TH1.

Definition at line 623 of file TH2Poly.cxx.

References TList::At(), fBins, TH1::fNcells, and fOverflow.

Referenced by GetBinError(), kdTreeBinning(), and SavePrimitive().

Double_t TH2Poly::GetBinContent ( Int_t  ,
Int_t   
) const [inline, virtual]

Reimplemented from TH1.

Definition at line 96 of file TH2Poly.h.

Double_t TH2Poly::GetBinContent ( Int_t  ,
Int_t  ,
Int_t   
) const [inline, virtual]

Reimplemented from TH1.

Definition at line 97 of file TH2Poly.h.

Bool_t TH2Poly::GetBinContentChanged (  )  const [inline]

Definition at line 98 of file TH2Poly.h.

References fBinContentChanged.

Double_t TH2Poly::GetBinError ( Int_t  bin  )  const [virtual]

Reimplemented from TH1.

Definition at line 643 of file TH2Poly.cxx.

References TMath::Abs(), TArrayD::fArray, TH1::fBuffer, TArray::fN, TH1::fNcells, TH1::fSumw2, GetBinContent(), and TMath::Sqrt().

Referenced by SavePrimitive().

Double_t TH2Poly::GetBinError ( Int_t  ,
Int_t   
) const [inline, virtual]

Reimplemented from TH1.

Definition at line 100 of file TH2Poly.h.

Double_t TH2Poly::GetBinError ( Int_t  ,
Int_t  ,
Int_t   
) const [inline, virtual]

Reimplemented from TH1.

Definition at line 101 of file TH2Poly.h.

const char * TH2Poly::GetBinName ( Int_t  bin  )  const

Definition at line 663 of file TH2Poly.cxx.

References TList::At(), fBins, and TH1::fNcells.

const char * TH2Poly::GetBinTitle ( Int_t  bin  )  const

Definition at line 674 of file TH2Poly.cxx.

References TList::At(), fBins, and TH1::fNcells.

Bool_t TH2Poly::GetFloat (  )  [inline]

Definition at line 104 of file TH2Poly.h.

References fFloat.

Double_t TH2Poly::GetMaximum (  )  const

Definition at line 685 of file TH2Poly.cxx.

References b, c, fBins, TH1::fNcells, and max.

Double_t TH2Poly::GetMaximum ( Double_t  maxval  )  const [virtual]

Reimplemented from TH1.

Definition at line 709 of file TH2Poly.cxx.

References b, c, fBins, TH1::fNcells, and max.

Double_t TH2Poly::GetMinimum (  )  const

Definition at line 733 of file TH2Poly.cxx.

References b, c, fBins, TH1::fNcells, and min.

Double_t TH2Poly::GetMinimum ( Double_t  minval  )  const [virtual]

Reimplemented from TH1.

Definition at line 757 of file TH2Poly.cxx.

References b, c, fBins, TH1::fNcells, and min.

Bool_t TH2Poly::GetNewBinAdded (  )  const [inline]

Definition at line 109 of file TH2Poly.h.

References fNewBinAdded.

Int_t TH2Poly::GetNumberOfBins (  )  const [inline]

Definition at line 110 of file TH2Poly.h.

References TH1::fNcells.

void TH2Poly::Honeycomb ( Double_t  xstart,
Double_t  ystart,
Double_t  a,
Int_t  k,
Int_t  s 
)

Definition at line 781 of file TH2Poly.cxx.

References AddBin(), kCounter, TMath::Sqrt(), x, and y.

Referenced by th2polyHoneycomb().

Double_t TH2Poly::Integral ( Option_t option = ""  )  const [virtual]

Reimplemented from TH2.

Definition at line 592 of file TH2Poly.cxx.

References TString::Contains(), fBins, TH1::fTsumw, TH2PolyBin::GetArea(), TH2PolyBin::GetContent(), TString::ToLower(), and w.

Double_t TH2Poly::Integral ( Int_t  ,
Int_t  ,
const Option_t  
) const [inline]

Definition at line 113 of file TH2Poly.h.

Double_t TH2Poly::Integral ( Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
const Option_t  
) const [inline]

Definition at line 114 of file TH2Poly.h.

Double_t TH2Poly::Integral ( Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
const Option_t  
) const [inline]

Definition at line 115 of file TH2Poly.h.

void TH2Poly::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TH1.

Definition at line 1032 of file TH2Poly.cxx.

References TObject::ClassName(), TString::Contains(), TString::Data(), fBins, fCellX, fCellY, TH1::fDirectory, TArray::fN, TH1::fNcells, Form(), TH1::fSumw2, TH1::fXaxis, TH1::fYaxis, GetBinContent(), GetBinError(), TNamed::GetName(), TH2PolyBin::GetPolygon(), TNamed::GetTitle(), TAxis::GetXmax(), TAxis::GetXmin(), TObject::SavePrimitive(), and TH1::SavePrimitiveHelp().

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

Reimplemented from TH1.

Definition at line 1089 of file TH2Poly.cxx.

References TList::At(), fBins, TH1::fNcells, kTRUE, SetBinContentChanged(), and TH1::SetContent().

Referenced by kdTreeBinning().

void TH2Poly::SetBinContent ( Int_t  ,
Int_t  ,
Double_t   
) [inline, virtual]

Reimplemented from TH1.

Definition at line 118 of file TH2Poly.h.

void TH2Poly::SetBinContent ( Int_t  ,
Int_t  ,
Int_t  ,
Double_t   
) [inline, virtual]

Reimplemented from TH1.

Definition at line 119 of file TH2Poly.h.

void TH2Poly::SetBinContentChanged ( Bool_t  flag  )  [inline]

Definition at line 120 of file TH2Poly.h.

References fBinContentChanged.

Referenced by Fill(), Initialize(), and SetBinContent().

void TH2Poly::SetFloat ( Bool_t  flag = true  ) 

Definition at line 1100 of file TH2Poly.cxx.

References fFloat.

Referenced by kdTreeBinning(), and TH2Poly().

void TH2Poly::SetNewBinAdded ( Bool_t  flag  )  [inline]

Definition at line 122 of file TH2Poly.h.

References fNewBinAdded.

Referenced by AddBin(), and Initialize().

void TH2Poly::AddBinToPartition ( TH2PolyBin bin  )  [protected]

For the 3D Painter.

Definition at line 273 of file TH2Poly.cxx.

References TList::Add(), fCells, fCellX, fCellY, fCompletelyInside, fIsEmpty, floor(), fNCells, fStepX, fStepY, TH1::fXaxis, TH1::fYaxis, TH2PolyBin::GetXMax(), TH2PolyBin::GetXMin(), TAxis::GetXmin(), TH2PolyBin::GetYMax(), TH2PolyBin::GetYMin(), i, TH2PolyBin::IsInside(), IsIntersecting(), j, kFALSE, and kTRUE.

Referenced by AddBin(), and ChangePartition().

void TH2Poly::Initialize ( Double_t  xlow,
Double_t  xup,
Double_t  ylow,
Double_t  yup,
Int_t  n,
Int_t  m 
) [protected]

Definition at line 830 of file TH2Poly.cxx.

References fBins, fCells, fCellX, fCellY, fCompletelyInside, TH1::fDimension, TH1::fEntries, fIsEmpty, fNCells, TH1::fNcells, fOverflow, fStepX, fStepY, TH1::fTsumw, TH1::fTsumwx, TH1::fTsumwx2, TH2::fTsumwy, TH2::fTsumwy2, TH1::fXaxis, TH1::fYaxis, TAxis::GetXmax(), TAxis::GetXmin(), i, kFALSE, kTRUE, TAxis::Set(), SetBinContentChanged(), and SetNewBinAdded().

Referenced by TH2Poly().

Bool_t TH2Poly::IsIntersecting ( TH2PolyBin bin,
Double_t  xclipl,
Double_t  xclipr,
Double_t  yclipb,
Double_t  yclipt 
) [protected]

Definition at line 878 of file TH2Poly.cxx.

References xmlio::Class, g, TH2PolyBin::GetPolygon(), IsIntersectingPolygon(), and kFALSE.

Referenced by AddBinToPartition().

Bool_t TH2Poly::IsIntersectingPolygon ( Int_t  bn,
Double_t x,
Double_t y,
Double_t  xclipl,
Double_t  xclipr,
Double_t  yclipb,
Double_t  yclipt 
) [protected]

Definition at line 918 of file TH2Poly.cxx.

References TMath::IsInside(), kFALSE, and kTRUE.

Referenced by IsIntersecting().

Int_t TH2Poly::AddBin ( TObject poly  ) 

Int_t TH2Poly::AddBin ( Int_t  n,
const Double_t x,
const Double_t y 
)

Int_t TH2Poly::AddBin ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2 
)

void TH2Poly::ClearBinContents (  ) 

void TH2Poly::ChangePartition ( Int_t  n,
Int_t  m 
)

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

Reimplemented from TH1.

Int_t TH2Poly::Fill ( Double_t  x,
Double_t  y 
) [virtual]

Reimplemented from TH2.

Int_t TH2Poly::Fill ( Double_t  x,
Double_t  y,
Double_t  w 
) [virtual]

Reimplemented from TH2.

Int_t TH2Poly::Fill ( const char *  name,
Double_t  w 
) [virtual]

Reimplemented from TH2.

void TH2Poly::FillN ( Int_t  ntimes,
const Double_t x,
const Double_t y,
const Double_t w,
Int_t  stride = 1 
) [virtual]

Reimplemented from TH2.

Int_t TH2Poly::Fill ( Double_t   )  [inline, virtual]

Reimplemented from TH2.

Definition at line 88 of file TH2Poly.h.

Int_t TH2Poly::Fill ( Double_t  ,
const char *  ,
Double_t   
) [inline, virtual]

Reimplemented from TH2.

Definition at line 89 of file TH2Poly.h.

Int_t TH2Poly::Fill ( const char *  ,
Double_t  ,
Double_t   
) [inline, virtual]

Reimplemented from TH2.

Definition at line 90 of file TH2Poly.h.

Int_t TH2Poly::Fill ( const char *  ,
const char *  ,
Double_t   
) [inline, virtual]

Reimplemented from TH2.

Definition at line 91 of file TH2Poly.h.

void TH2Poly::FillN ( Int_t  ,
const Double_t ,
const Double_t ,
Int_t   
) [inline, virtual]

Reimplemented from TH2.

Definition at line 92 of file TH2Poly.h.

Int_t TH2Poly::FindBin ( Double_t  x,
Double_t  y,
Double_t  z = 0 
) [virtual]

Reimplemented from TH1.

TList* TH2Poly::GetBins (  )  [inline]

Definition at line 94 of file TH2Poly.h.

References fBins.

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

Reimplemented from TH1.

Double_t TH2Poly::GetBinContent ( Int_t  ,
Int_t   
) const [inline, virtual]

Reimplemented from TH1.

Definition at line 96 of file TH2Poly.h.

Double_t TH2Poly::GetBinContent ( Int_t  ,
Int_t  ,
Int_t   
) const [inline, virtual]

Reimplemented from TH1.

Definition at line 97 of file TH2Poly.h.

Bool_t TH2Poly::GetBinContentChanged (  )  const [inline]

Definition at line 98 of file TH2Poly.h.

References fBinContentChanged.

Double_t TH2Poly::GetBinError ( Int_t  bin  )  const [virtual]

Reimplemented from TH1.

Double_t TH2Poly::GetBinError ( Int_t  ,
Int_t   
) const [inline, virtual]

Reimplemented from TH1.

Definition at line 100 of file TH2Poly.h.

Double_t TH2Poly::GetBinError ( Int_t  ,
Int_t  ,
Int_t   
) const [inline, virtual]

Reimplemented from TH1.

Definition at line 101 of file TH2Poly.h.

const char* TH2Poly::GetBinName ( Int_t  bin  )  const

const char* TH2Poly::GetBinTitle ( Int_t  bin  )  const

Bool_t TH2Poly::GetFloat (  )  [inline]

Definition at line 104 of file TH2Poly.h.

References fFloat.

Double_t TH2Poly::GetMaximum (  )  const

Double_t TH2Poly::GetMaximum ( Double_t  maxval  )  const [virtual]

Reimplemented from TH1.

Double_t TH2Poly::GetMinimum (  )  const

Double_t TH2Poly::GetMinimum ( Double_t  minval  )  const [virtual]

Reimplemented from TH1.

Bool_t TH2Poly::GetNewBinAdded (  )  const [inline]

Definition at line 109 of file TH2Poly.h.

References fNewBinAdded.

Int_t TH2Poly::GetNumberOfBins (  )  const [inline]

Definition at line 110 of file TH2Poly.h.

References TH1::fNcells.

void TH2Poly::Honeycomb ( Double_t  xstart,
Double_t  ystart,
Double_t  a,
Int_t  k,
Int_t  s 
)

Double_t TH2Poly::Integral ( Option_t option = ""  )  const [virtual]

Reimplemented from TH2.

Double_t TH2Poly::Integral ( Int_t  ,
Int_t  ,
const Option_t  
) const [inline]

Definition at line 113 of file TH2Poly.h.

Double_t TH2Poly::Integral ( Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
const Option_t  
) const [inline]

Definition at line 114 of file TH2Poly.h.

Double_t TH2Poly::Integral ( Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
const Option_t  
) const [inline]

Definition at line 115 of file TH2Poly.h.

void TH2Poly::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TH1.

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

Reimplemented from TH1.

void TH2Poly::SetBinContent ( Int_t  ,
Int_t  ,
Double_t   
) [inline, virtual]

Reimplemented from TH1.

Definition at line 118 of file TH2Poly.h.

void TH2Poly::SetBinContent ( Int_t  ,
Int_t  ,
Int_t  ,
Double_t   
) [inline, virtual]

Reimplemented from TH1.

Definition at line 119 of file TH2Poly.h.

void TH2Poly::SetBinContentChanged ( Bool_t  flag  )  [inline]

Definition at line 120 of file TH2Poly.h.

References fBinContentChanged.

void TH2Poly::SetFloat ( Bool_t  flag = true  ) 

void TH2Poly::SetNewBinAdded ( Bool_t  flag  )  [inline]

Definition at line 122 of file TH2Poly.h.

References fNewBinAdded.

void TH2Poly::AddBinToPartition ( TH2PolyBin bin  )  [protected]

For the 3D Painter.

void TH2Poly::Initialize ( Double_t  xlow,
Double_t  xup,
Double_t  ylow,
Double_t  yup,
Int_t  n,
Int_t  m 
) [protected]

Bool_t TH2Poly::IsIntersecting ( TH2PolyBin bin,
Double_t  xclipl,
Double_t  xclipr,
Double_t  yclipb,
Double_t  yclipt 
) [protected]

Bool_t TH2Poly::IsIntersectingPolygon ( Int_t  bn,
Double_t x,
Double_t y,
Double_t  xclipl,
Double_t  xclipr,
Double_t  yclipb,
Double_t  yclipt 
) [protected]


Member Data Documentation

TList* TH2Poly::fBins [protected]

Definition at line 125 of file TH2Poly.h.

Referenced by AddBin(), ChangePartition(), ClearBinContents(), Fill(), GetBinContent(), GetBinName(), GetBins(), GetBinTitle(), GetMaximum(), GetMinimum(), Initialize(), Integral(), SavePrimitive(), and SetBinContent().

Double_t TH2Poly::fOverflow [protected]

Definition at line 126 of file TH2Poly.h.

Referenced by Fill(), GetBinContent(), and Initialize().

Int_t TH2Poly::fCellX [protected]

Definition at line 127 of file TH2Poly.h.

Referenced by AddBin(), AddBinToPartition(), ChangePartition(), Fill(), FindBin(), Initialize(), and SavePrimitive().

Int_t TH2Poly::fCellY [protected]

Definition at line 128 of file TH2Poly.h.

Referenced by AddBin(), AddBinToPartition(), ChangePartition(), Fill(), FindBin(), Initialize(), and SavePrimitive().

Int_t TH2Poly::fNCells [protected]

Definition at line 129 of file TH2Poly.h.

Referenced by AddBinToPartition(), ChangePartition(), and Initialize().

TList* TH2Poly::fCells [protected]

Definition at line 130 of file TH2Poly.h.

Referenced by AddBinToPartition(), ChangePartition(), Fill(), FindBin(), and Initialize().

Double_t TH2Poly::fStepX [protected]

Definition at line 131 of file TH2Poly.h.

Referenced by AddBinToPartition(), ChangePartition(), Fill(), FindBin(), and Initialize().

Double_t TH2Poly::fStepY [protected]

Definition at line 131 of file TH2Poly.h.

Referenced by AddBinToPartition(), ChangePartition(), Fill(), FindBin(), and Initialize().

Bool_t* TH2Poly::fIsEmpty [protected]

Definition at line 132 of file TH2Poly.h.

Referenced by AddBinToPartition(), ChangePartition(), Fill(), FindBin(), and Initialize().

Bool_t* TH2Poly::fCompletelyInside [protected]

Definition at line 133 of file TH2Poly.h.

Referenced by AddBinToPartition(), ChangePartition(), and Initialize().

Bool_t TH2Poly::fFloat [protected]

Definition at line 134 of file TH2Poly.h.

Referenced by AddBin(), GetFloat(), and SetFloat().

Bool_t TH2Poly::fNewBinAdded [protected]

Definition at line 135 of file TH2Poly.h.

Referenced by GetNewBinAdded(), and SetNewBinAdded().

Bool_t TH2Poly::fBinContentChanged [protected]

For the 3D Painter.

Definition at line 136 of file TH2Poly.h.

Referenced by GetBinContentChanged(), and SetBinContentChanged().

TList* TH2Poly::fBins [protected]

Definition at line 125 of file TH2Poly.h.

TList* TH2Poly::fCells [protected]

Definition at line 130 of file TH2Poly.h.

Bool_t* TH2Poly::fIsEmpty [protected]

Definition at line 132 of file TH2Poly.h.

Bool_t* TH2Poly::fCompletelyInside [protected]

Definition at line 133 of file TH2Poly.h.


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