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