Double_t Integral(Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, const Option_t *) const
Bool_t fBinContentChanged
For the 3D Painter.
Int_t FindBin(Double_t x, Double_t y, Double_t z=0)
Returns the bin number of the bin at the given coordinate.
Double_t GetBinContent(Int_t bin) const
Returns the content of the input bin For the overflow/underflow/sea bins: -1 | -2 | -3 ---+----+---- ...
Bool_t * fCompletelyInside
Double_t GetBinError(Int_t bin) const
Returns the value of error associated to bin number bin.
void ChangePartition(Int_t n, Int_t m)
Changes the number of partition cells in the histogram.
virtual void Scale(Double_t c1=1, Option_t *option="")
Multiply this histogram by a constant c1.
Long64_t Merge(TCollection *)
TH2Poly cannot be merged.
void SetChanged(Bool_t flag)
Int_t GetNumberOfBins() const
A TMultiGraph is a collection of TGraph (or derived) objects.
void Initialize(Double_t xlow, Double_t xup, Double_t ylow, Double_t yup, Int_t n, Int_t m)
Initializes the TH2Poly object. This method is called by the constructor.
Double_t GetBinError(Int_t, Int_t, Int_t) const
virtual Bool_t Add(const TH1 *h1, Double_t c1)
Performs the operation: this = this + c1*h1.
const char * GetBinName(Int_t bin) const
Returns the bin name.
void SetBinContentChanged(Bool_t flag)
TObject * Clone(const char *newname="") const
Make a complete copy of the underlying object.
Helper class to represent a bin in the TH2Poly histogram.
Bool_t GetNewBinAdded() const
void AddBinToPartition(TH2PolyBin *bin)
For the 3D Painter.
Bool_t GetChanged() const
Double_t GetBinError(Int_t, Int_t) const
Double_t GetMaximum() const
Returns the maximum value of the histogram.
static const double x2[5]
#define ClassDef(name, id)
Int_t Fill(Double_t, const char *, Double_t)
Increment cell defined by x,namey by a weight w.
Int_t AddBin(TObject *poly)
Adds a new bin to the histogram.
Bool_t IsIntersecting(TH2PolyBin *bin, Double_t xclipl, Double_t xclipr, Double_t yclipb, Double_t yclipt)
Returns kTRUE if the input bin is intersecting with the input rectangle (xclipl, xclipr, yclipb, yclipt)
virtual ~TH2Poly()
Destructor.
Double_t GetXMax()
Returns the maximum value for the x coordinates of the bin.
Double_t GetYMin()
Returns the minimum value for the y coordinates of the bin.
void SetBinContent(Int_t, Int_t, Int_t, Double_t)
Double_t GetYMax()
Returns the maximum value for the y coordinates of the bin.
void SetContent(Double_t content)
void SetBinContent(Int_t, Int_t, Double_t)
Bool_t GetBinContentChanged() const
virtual Double_t RetrieveBinContent(Int_t bin) const
Service class for 2-Dim histogram classes.
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
void SetBinContent(Int_t bin, Double_t content)
Sets the contents of the input bin to the input content Negative values between -1 and -9 are for the...
virtual ~TH2PolyBin()
Destructor.
Collection abstract base class.
The most important graphics class in the ROOT system.
const char * GetBinTitle(Int_t bin) const
Returns the bin title.
Double_t Integral(Int_t, Int_t, const Option_t *) const
void SetFloat(Bool_t flag=true)
When set to kTRUE, allows the histogram to expand if a bin outside the limits is added.
TObject * GetPolygon() const
Double_t GetContent() const
virtual void UpdateBinContent(Int_t bin, Double_t content)
raw update of bin content on internal data structure see convention for numbering bins in TH1::GetBin...
Double_t GetBinContent(Int_t, Int_t, Int_t) const
Int_t Fill(const char *, Double_t, Double_t)
Increment cell defined by namex,y by a weight w.
static const double x1[5]
Double_t GetBinContent(Int_t, Int_t) const
Double_t Integral(Option_t *option="") const
Returns the integral of bin contents.
void Honeycomb(Double_t xstart, Double_t ystart, Double_t a, Int_t k, Int_t s)
Bins the histogram using a honeycomb structure.
void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
void ClearBinContents()
Clears the contents of all bins in the histogram.
Mother of all ROOT objects.
void FillN(Int_t, const Double_t *, const Double_t *, Int_t)
Fill this histogram with an array x and weights w.
Double_t Integral(Int_t, Int_t, Int_t, Int_t, const Option_t *) const
void Reset(Option_t *option)
Reset this histogram: contents, errors, etc.
A Graph is a graphics object made of two arrays X and Y with npoints each.
Double_t GetArea()
Returns the area of the bin.
Int_t GetBinNumber() const
Int_t Fill(const char *, const char *, Double_t)
Increment cell defined by namex,namey by a weight w.
Bool_t IsInside(Double_t x, Double_t y) const
Return "true" if the point (x,y) is inside the bin.
Double_t GetMinimum() const
Returns the minimum value of the histogram.
Int_t Fill(Double_t)
Invalid Fill method.
Double_t GetXMin()
Returns the minimum value for the x coordinates of the bin.
Bool_t IsIntersectingPolygon(Int_t bn, Double_t *x, Double_t *y, Double_t xclipl, Double_t xclipr, Double_t yclipb, Double_t yclipt)
Returns kTRUE if the input polygon (bn, x, y) is intersecting with the input rectangle (xclipl...
void FillN(Int_t ntimes, const Double_t *x, const Double_t *y, const Double_t *w, Int_t stride=1)
Fills a 2-D histogram with an array of values and weights.
Int_t Fill(Double_t x, Double_t y)
Increment the bin containing (x,y) by 1.
2D Histogram with Polygonal Bins
void SetNewBinAdded(Bool_t flag)
TH2PolyBin()
Default constructor.