virtual Double_t averageBinWidth() const
virtual void setRange(Double_t xlo, Double_t xhi)
Change the defined range associated with this binning.
virtual const char * GetName() const
Returns name of object.
virtual Double_t * array() const
Return array of boundary values.
Int_t _blo
Array of boundaries.
RooBinning(Double_t xlo=-RooNumber::infinity(), Double_t xhi=RooNumber::infinity(), const char *name=0)
Constructor for an initially empty binning defining the range [xlo,xhi].
virtual Double_t binHigh(Int_t bin) const
Return the upper bound of the requested bin.
void addUniform(Int_t nBins, Double_t xlo, Double_t xhi)
Add array of nbins uniformly sized bins in range [xlo,xhi].
virtual Int_t rawBinNumber(Double_t x) const
Return sequential bin number that contains value x where bin zero is the first bin that is defined...
Bool_t addBoundary(Double_t boundary)
Add bin boundary at given value.
RooAbsBinning * clone(const char *name=0) const
virtual Int_t numBoundaries() const
#define ClassDef(name, id)
virtual Double_t nearestBoundary(Double_t x) const
Return the value of the nearest boundary to x.
Class RooBinning is an implements RooAbsBinning in terms of an array of boundary values, posing no constraints on the choice of binning, thus allowing variable bin sizes.
virtual Double_t binWidth(Int_t bin) const
Return the width of the requested bin.
Bool_t binEdges(Int_t bin, Double_t &xlo, Double_t &xhi) const
Return upper and lower bound of bin 'bin'.
virtual Double_t lowBound() const
RooRealVar represents a fundamental (non-derived) real valued object.
Bool_t hasBoundary(Double_t boundary)
Check if boundary exists at given value.
void updateBinCount()
Update the internal bin counter.
static Double_t infinity()
Return internal infinity representation.
std::vector< Double_t > _boundaries
virtual Int_t binNumber(Double_t x) const
Return sequential bin number that contains value x where bin zero is the first bin with an upper boun...
RooAbsBinning is the abstract base class for RooRealVar binning definitions This class defines the in...
virtual Double_t binLow(Int_t bin) const
Return the lower bound of the requested bin.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Bool_t removeBoundary(Double_t boundary)
Remove boundary at given value.
void addBoundaryPair(Double_t boundary, Double_t mirrorPoint=0)
Add pair of boundaries: one at 'boundary' and one at 2*mirrorPoint-boundary.
virtual Double_t binCenter(Int_t bin) const
Return the position of the center of bin 'bin'.
virtual Double_t highBound() const