4 #ifndef ROOT_TProfile2Poly
5 #define ROOT_TProfile2Poly
void Fill(Double_t value, Double_t weight)
virtual TProfile2PolyBin * CreateBin(TObject *poly) override
Create appropriate histogram bin.
void SetContentToAverage()
void printOverflowRegions()
virtual Double_t GetBinContent(Int_t bin) const
Returns the content of the input bin For the overflow/underflow/sea bins: ~~~ {.cpp}.
virtual Double_t GetBinError(Int_t bin) const
Returns the value of error associated to bin number bin.
virtual Double_t GetBinError(Int_t bin) const override
Returns the value of error associated to bin number bin.
void Merge(const TProfile2PolyBin *toMerge)
Long64_t Merge(const std::vector< TProfile2Poly * > &list)
Helper class to represent a bin in the TH2Poly histogram.
Double_t GetError() const
Double_t GetEntriesWV2() const
#define ClassDef(name, id)
TProfile2PolyBin fOverflowBins[kNOverflow]
Double_t GetBinEntries(Int_t bin) const
Double_t GetOverflowContent(Int_t idx)
Double_t GetEntries() const
Double_t GetEffectiveEntries() const
virtual Int_t Fill(Double_t xcoord, Double_t ycoord, Double_t value) override
Increment the bin containing (x,y) by w.
Double_t GetBinEntriesWV2(Int_t bin) const
Int_t GetOverflowRegionFromCoordinates(Double_t x, Double_t y)
Collection abstract base class.
Double_t GetEntriesW2() const
virtual void GetStats(Double_t *stats) const override
Fill the array stats from the contents of this profile.
void SetErrorOption(EErrorType type)
Double_t GetBinEffectiveEntries(Int_t bin) const
Double_t GetBinEntriesW2(Int_t bin) const
virtual Double_t GetBinContent(Int_t bin) const override
Returns the content of the input bin For the overflow/underflow/sea bins: ~~~ {.cpp}.
Int_t OverflowIdxToArrayIdx(Int_t val)
virtual ~TProfile2PolyBin()
Mother of all ROOT objects.
virtual void Reset(Option_t *option="") override
Reset this histogram: contents, errors, etc.
void SetErrorOption(EErrorType type)
Double_t GetEntriesVW() const
#define ClassDefOverride(name, id)
Double_t GetBinEntriesVW(Int_t bin) const
virtual Int_t Fill(Double_t x, Double_t y)
Increment the bin containing (x,y) by 1.
2D Histogram with Polygonal Bins