172 coutE(InputArguments) <<
"RooParamBinning::setRange: ERROR low bound > high bound" << endl ;
180 coutW(InputArguments) <<
"RooParamBinning::setRange: WARNING lower bound not represented by lvalue, cannot set lower bound value through setRange()" << endl ;
187 coutW(InputArguments) <<
"RooParamBinning::setRange: WARNING upper bound not represented by lvalue, cannot set upper bound value through setRange()" << endl ;
200 if (
x <
xlo()->getVal())
return 0 ;
213 coutE(InputArguments) <<
"RooParamBinning::binCenter ERROR: bin index " << i
214 <<
" is out of range (0," <<
_nbins-1 <<
")" << endl ;
240 coutE(InputArguments) <<
"RooParamBinning::binLow ERROR: bin index " << i
241 <<
" is out of range (0," <<
_nbins-1 <<
")" << endl ;
256 coutE(InputArguments) <<
"RooParamBinning::fitBinHigh ERROR: bin index " << i
257 <<
" is out of range (0," <<
_nbins-1 <<
")" << endl ;
275 for (i=0 ; i<=
_nbins ; i++) {
291 os <<
indent <<
"xlo() = " <<
xlo() << endl ;
292 os <<
indent <<
"xhi() = " <<
xhi() << endl ;
static void indent(ostringstream &buf, int indent_level)
char * Form(const char *fmt,...)
virtual void Print(Option_t *options=0) const
Print the object to the defaultPrintStream().
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...
virtual void setVal(Double_t value)=0
Set the current value of the object. Needs to be overridden by implementations.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Double_t 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.
RooListProxy is the concrete proxy for RooArgList objects.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE) override
Reimplementation of standard RooArgList::add()
Class RooParamBinning is an implementation of RooAbsBinning that constructs a binning with a range de...
virtual Double_t binWidth(Int_t bin) const
Return average bin width.
virtual ~RooParamBinning()
Destructor.
virtual Int_t binNumber(Double_t x) const
Return the fit bin index for the current value.
RooParamBinning(const char *name=0)
Default constructor cout << "RooParamBinning(" << this << ") default ctor" << endl ;.
void printMultiline(std::ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const
Print details of binning.
virtual Double_t binCenter(Int_t bin) const
Return the central value of the 'i'-th fit bin.
virtual Double_t binLow(Int_t bin) const
Return the low edge of the 'i'-th fit bin.
virtual void removeHook(RooAbsRealLValue &) const
Hook function called by RooAbsRealLValue when this binning is removed as binning for into given owner...
RooAbsReal * _xlo
do not persist
virtual void setRange(Double_t xlo, Double_t xhi)
Adjust range by adjusting values of external RooAbsReal values Only functional when external represen...
virtual Double_t averageBinWidth() const
virtual Double_t * array() const
Return array of bin boundaries.
virtual Double_t binHigh(Int_t bin) const
Return the high edge of the 'i'-th fit bin.
virtual void insertHook(RooAbsRealLValue &) const
Hook function called by RooAbsRealLValue when this binning is inserted as binning for into given owne...
virtual const char * GetName() const
Returns name of object.