#include <TH2Poly.h>
Inheritance diagram for TH2Poly:
Definition at line 70 of file TH2Poly.h.
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] |
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().
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.
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().
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().
Reimplemented from TH2.
Definition at line 476 of file TH2Poly.cxx.
Referenced by FillN(), and th2polyHoneycomb().
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().
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.
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().
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().
Bool_t TH2Poly::GetBinContentChanged | ( | ) | const [inline] |
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().
const char * TH2Poly::GetBinName | ( | Int_t | bin | ) | const |
const char * TH2Poly::GetBinTitle | ( | Int_t | bin | ) | const |
Double_t TH2Poly::GetMaximum | ( | ) | const |
Reimplemented from TH1.
Definition at line 709 of file TH2Poly.cxx.
References b, c, fBins, TH1::fNcells, and max.
Double_t TH2Poly::GetMinimum | ( | ) | const |
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] |
Int_t TH2Poly::GetNumberOfBins | ( | ) | const [inline] |
Definition at line 781 of file TH2Poly.cxx.
References AddBin(), kCounter, TMath::Sqrt(), x, and y.
Referenced by th2polyHoneycomb().
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.
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().
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::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().
void TH2Poly::ClearBinContents | ( | ) |
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.
Bool_t TH2Poly::GetBinContentChanged | ( | ) | const [inline] |
const char* TH2Poly::GetBinName | ( | Int_t | bin | ) | const |
const char* TH2Poly::GetBinTitle | ( | Int_t | bin | ) | const |
Double_t TH2Poly::GetMaximum | ( | ) | const |
Double_t TH2Poly::GetMinimum | ( | ) | const |
Bool_t TH2Poly::GetNewBinAdded | ( | ) | const [inline] |
Int_t TH2Poly::GetNumberOfBins | ( | ) | const [inline] |
void TH2Poly::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TH1.
void TH2Poly::SetBinContentChanged | ( | Bool_t | flag | ) | [inline] |
void TH2Poly::SetFloat | ( | Bool_t | flag = true |
) |
void TH2Poly::SetNewBinAdded | ( | Bool_t | flag | ) | [inline] |
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] |
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] |
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] |
Bool_t TH2Poly::fNewBinAdded [protected] |
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] |
TList* TH2Poly::fCells [protected] |
Bool_t* TH2Poly::fIsEmpty [protected] |
Bool_t* TH2Poly::fCompletelyInside [protected] |