66 coutE(InputArguments) <<
"RooUniformBinning::setRange: ERROR low bound > high bound" << std::endl ;
85 const double oneOverW = 1./
_binw;
87 for(std::size_t i = 0; i <
n; ++i) {
88 bins[i] += coef * (
x[i] >=
_xhi ?
_nbins - 1 : std::max(0,
int((
x[i] -
_xlo)*oneOverW)));
100 coutE(InputArguments) <<
"RooUniformBinning::binCenter ERROR: bin index " << i
101 <<
" is out of range (0," <<
_nbins-1 <<
")" << std::endl ;
127 coutE(InputArguments) <<
"RooUniformBinning::binLow ERROR: bin index " << i
128 <<
" is out of range (0," <<
_nbins-1 <<
")" << std::endl ;
143 coutE(InputArguments) <<
"RooUniformBinning::fitBinHigh ERROR: bin index " << i
144 <<
" is out of range (0," <<
_nbins-1 <<
")" << std::endl ;
161 for (i=0 ; i<=
_nbins ; i++) {
int Int_t
Signed integer 4 bytes (int)
return
Invalidate stored TCling state for declarations included in transaction âTâ.
Common abstract base class for objects that represent a value and a "shape" in RooFit.
Int_t numBins() const
Return number of bins.
RooAbsBinning(const char *name=nullptr)
A class to maintain the context for squashing of RooFit models into code.
std::string buildCall(std::string const &funcname, Args_t const &...args)
Build the code to call the function with name funcname, passing some arguments.