16#ifndef ROO_PARAM_BINNING
17#define ROO_PARAM_BINNING
36 void binNumbers(
double const *
x,
int * bins, std::size_t
n,
int coef)
const override;
47 double*
array()
const override ;
#define ClassDefOverride(name, id)
static void indent(ostringstream &buf, int indent_level)
Common abstract base class for objects that represent a value and a "shape" in RooFit.
RooAbsBinning is the abstract base class for RooRealVar binning definitions.
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
Abstract base class for objects that represent a real value and implements functionality common to al...
double getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooAbsArg * at(Int_t idx) const
Return object at given index, or nullptr if index is out of range.
Class RooParamBinning is an implementation of RooAbsBinning that constructs a binning with a range de...
Int_t numBoundaries() const override
double lowBound() const override
~RooParamBinning() override
Destructor.
void insertHook(RooAbsRealLValue &) const override
Hook function called by RooAbsRealLValue when this binning is inserted as binning for into given owne...
double * array() const override
Return array of bin boundaries.
double binCenter(Int_t bin) const override
Return the central value of the 'i'-th fit bin.
double binHigh(Int_t bin) const override
Return the high edge of the 'i'-th fit bin.
double binLow(Int_t bin) const override
Return the low edge of the 'i'-th fit bin.
void binNumbers(double const *x, int *bins, std::size_t n, int coef) const override
Return the fit bin index for the current value.
double binWidth(Int_t bin) const override
Return average bin width.
bool isShareable() const override
If true (default), the range definition can be shared across clones of a RooRealVar.
double highBound() const override
bool isParameterized() const override
Interface function.
double averageBinWidth() const override
RooAbsReal * _xlo
do not persist
void printMultiline(std::ostream &os, Int_t content, bool verbose=false, TString indent="") const override
Print details of binning.
void removeHook(RooAbsRealLValue &) const override
Hook function called by RooAbsRealLValue when this binning is removed as binning for into given owner...
void setRange(double xlo, double xhi) override
Adjust range by adjusting values of external RooAbsReal values Only functional when external represen...
RooAbsBinning * clone(const char *name=nullptr) const override
RooAbsReal * lowBoundFunc() const override
Return pointer to RooAbsReal parameterized lower bound, if any.
RooAbsReal * highBoundFunc() const override
Return pointer to RooAbsReal parameterized upper bound, if any.
const char * GetName() const override
Returns name of object.