12#ifndef ROOT_TProfile2Poly
13#define ROOT_TProfile2Poly
#define ClassDef(name, id)
#define ClassDefOverride(name, id)
Collection abstract base class.
Helper class to represent a bin in the TH2Poly histogram.
2D Histogram with Polygonal Bins
virtual Int_t Fill(Double_t x, Double_t y)
Increment the bin containing (x,y) by 1.
virtual Double_t GetBinContent(Int_t bin) const
Returns the content of the input bin For the overflow/underflow/sea bins:
virtual Double_t GetBinError(Int_t bin) const
Returns the value of error associated to bin number bin.
Mother of all ROOT objects.
Helper class to represent a bin in the TProfile2Poly histogram.
Double_t GetEntriesW2() const
Double_t GetEntries() const
void Fill(Double_t value, Double_t weight)
Fill.
Double_t GetError() const
void SetErrorOption(EErrorType type)
Double_t GetEffectiveEntries() const
virtual ~TProfile2PolyBin()
TProfile2PolyBin()
TProfile2PolyBin constructor.
void UpdateAverage()
Update average.
Double_t GetEntriesVW() const
void UpdateError()
Update error.
Double_t GetEntriesWV2() const
void Merge(const TProfile2PolyBin *toMerge)
Merge.
void ClearStats()
Clear statistics.
2D Profile Histogram with Polygonal Bins.
void PrintOverflowRegions()
Print overflow regions.
Double_t GetOverflowContent(Int_t idx)
virtual Int_t Fill(Double_t xcoord, Double_t ycoord, Double_t value) override
Fill.
Long64_t Merge(const std::vector< TProfile2Poly * > &list)
Merge.
Double_t GetBinEffectiveEntries(Int_t bin) const
Get bin effective entries.
virtual Double_t GetBinError(Int_t bin) const override
Get bin error.
Double_t GetBinEntriesVW(Int_t bin) const
Get bin entries VW.
Double_t GetBinEntriesW2(Int_t bin) const
Get bin entries W2.
void SetContentToError()
Set content to error.
virtual Double_t GetBinContent(Int_t bin) const override
Get bin content.
Int_t GetOverflowRegionFromCoordinates(Double_t x, Double_t y)
The overflow regions are calculated by considering x, y coordinates.
virtual void GetStats(Double_t *stats) const override
Fill the array stats from the contents of this profile.
virtual void Reset(Option_t *option="") override
Reset.
void SetContentToAverage()
Set content to average.
Double_t GetBinEntriesWV2(Int_t bin) const
Get bin entries WV2.
Double_t GetBinEntries(Int_t bin) const
Get bin entries.
void SetErrorOption(EErrorType type)
Set error option.
Int_t OverflowIdxToArrayIdx(Int_t val)
TProfile2PolyBin fOverflowBins[kNOverflow]
virtual TProfile2PolyBin * CreateBin(TObject *poly) override
Create bin.