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 ;
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void input
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
Abstract base class for RooRealVar binning definitions.
virtual double binCenter(Int_t bin) const =0
Int_t numBins() const
Return number of bins.
virtual double averageBinWidth() const =0
virtual double binLow(Int_t bin) const =0
virtual double highBound() const =0
virtual double lowBound() const =0
virtual double binHigh(Int_t bin) const =0
virtual Int_t numBoundaries() const =0
virtual double binWidth(Int_t bin) const =0
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.