29 : fNx(0), fNy(0), fNz(0),
30 fXmin(0), fXmax(0), fYmin(0), fYmax(0), fZmin(0), fZmax(0)
33 if (
h->IsA() == TH2Poly::Class() ||
h->IsA() == TProfile2Poly::Class()) {
59 fNx =
h->GetNbinsX() + 2;
60 fNy =
h->GetNbinsY() + 2;
61 fNz =
h->GetNbinsZ() + 2;
62 fDim =
h->GetDimension();
65 fXmin =
h->GetXaxis()->GetFirst();
66 fXmax =
h->GetXaxis()->GetLast();
67 fYmin =
h->GetYaxis()->GetFirst();
68 fYmax =
h->GetYaxis()->GetLast();
69 fZmin =
h->GetZaxis()->GetFirst();
70 fZmax =
h->GetZaxis()->GetLast();
80 fXmax =
h->GetNbinsX() + 1;
82 fYmax =
h->GetNbinsY() + 1;
84 fZmax =
h->GetNbinsZ() + 1;
static TBinIterator End()
TH1 is the base class of all histogram classes in ROOT.
2D Histogram with Polygonal Bins
Int_t GetNumberOfBins() const
THistRange(const TH1 *h1, TBinIterator::ERangeType type=TBinIterator::kHistRange)