16#ifndef ROO_LIN_TRANS_BINNING
17#define ROO_LIN_TRANS_BINNING
31 void binNumbers(
double const *
x,
int * bins, std::size_t
n,
int coef)
const override;
37 void setRange(
double xlo,
double xhi)
override ;
45 double*
array()
const override ;
int Int_t
Signed integer 4 bytes (int).
#define ClassDefOverride(name, id)
Abstract base class for RooRealVar binning definitions.
Int_t numBins() const
Return number of bins.
RooAbsBinning(const char *name=nullptr)
Special binning implementation for RooLinearVar that transforms the binning of the RooLinearVar input...
RooAbsBinning * _input
Input binning.
void setMin(double xlo) override
Change lower bound to xlo.
void updateInput(const RooAbsBinning &input, double slope=1.0, double offset=0.0)
Update the slope and offset parameters and the pointer to the input binning.
double highBound() const override
double lowBound() const override
Int_t numBoundaries() const override
double binWidth(Int_t bin) const override
void setMax(double xhi) override
Change upper bound to xhi.
std::vector< double > _array
! Array of transformed bin boundaries
double binLow(Int_t bin) const override
RooAbsBinning * clone(const char *name=nullptr) const override
double trans(double x) const
double averageBinWidth() const override
void binNumbers(double const *x, int *bins, std::size_t n, int coef) const override
Compute the bin indices for multiple values of x.
double * array() const override
Return array of bin boundaries.
double binCenter(Int_t bin) const override
double binHigh(Int_t bin) const override
void setRange(double xlo, double xhi) override
double _offset
Offset of transformation.
RooLinTransBinning(const char *name=nullptr)
Int_t binTrans(Int_t bin) const
double invTrans(double x) const
double _slope
Slope of transformation.