52 :
RooAbsBinning(
name), _xlo(other._xlo), _xhi(other._xhi), _nbins(other._nbins), _binw(other._binw)
65 coutE(InputArguments) <<
"RooUniformBinning::setRange: ERROR low bound > high bound" << endl ;
84 const double oneOverW = 1./
_binw;
86 for(std::size_t i = 0; i <
n; ++i) {
87 bins[i] += coef * (
x[i] >=
_xhi ?
_nbins - 1 : std::max(0,
int((
x[i] -
_xlo)*oneOverW)));
99 coutE(InputArguments) <<
"RooUniformBinning::binCenter ERROR: bin index " << i
100 <<
" is out of range (0," <<
_nbins-1 <<
")" << endl ;
126 coutE(InputArguments) <<
"RooUniformBinning::binLow ERROR: bin index " << i
127 <<
" is out of range (0," <<
_nbins-1 <<
")" << endl ;
142 coutE(InputArguments) <<
"RooUniformBinning::fitBinHigh ERROR: bin index " << i
143 <<
" is out of range (0," <<
_nbins-1 <<
")" << endl ;
160 for (i=0 ; i<=
_nbins ; i++) {
Abstract base class for RooRealVar binning definitions.