50 RooAbsBinning(name), _xlo(0), _xhi(0), _nbins(100), _binw(0), _lp(0), _owner(0)
173 coutE(
InputArguments) <<
"RooParamBinning::setRange: ERROR low bound > high bound" << endl ;
181 coutW(
InputArguments) <<
"RooParamBinning::setRange: WARNING lower bound not represented by lvalue, cannot set lower bound value through setRange()" << endl ;
188 coutW(
InputArguments) <<
"RooParamBinning::setRange: WARNING upper bound not represented by lvalue, cannot set upper bound value through setRange()" << endl ;
200 if (x >=
xhi()->getVal())
return _nbins-1 ;
201 if (x <
xlo()->getVal())
return 0 ;
215 <<
" is out of range (0," <<
_nbins-1 <<
")" << endl ;
242 <<
" is out of range (0," <<
_nbins-1 <<
")" << endl ;
258 <<
" is out of range (0," <<
_nbins-1 <<
")" << endl ;
276 for (i=0 ; i<=
_nbins ; i++) {
289 os << indent <<
"_xlo = " <<
_xlo << endl ;
290 os << indent <<
"_xhi = " <<
_xhi << endl ;
292 os << indent <<
"xlo() = " <<
xlo() << endl ;
293 os << indent <<
"xhi() = " <<
xhi() << endl ;
virtual const char * GetName() const
Returns name of object.
Double_t getVal(const RooArgSet *set=0) const
virtual Double_t averageBinWidth() const
virtual void insertHook(RooAbsRealLValue &) const
Hook function called by RooAbsRealLValue when this binning is inserted as binning for into given owne...
virtual void removeHook(RooAbsRealLValue &) const
Hook function called by RooAbsRealLValue when this binning is removed as binning for into given owner...
RooParamBinning(const char *name=0)
Default constructor cout << "RooParamBinning(" << this << ") default ctor" << endl ;...
virtual void setRange(Double_t xlo, Double_t xhi)
Adjust range by adjusting values of external RooAbsReal values Only functional when external represen...
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Reimplementation of standard RooArgList::add()
void printMultiline(std::ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const
Print details of binning.
RooAbsArg * at(Int_t idx) const
char * Form(const char *fmt,...)
virtual Double_t binHigh(Int_t bin) const
Return the high edge of the 'i'-th fit bin.
static void indent(ostringstream &buf, int indent_level)
Class RooParamBinning is an implementation of RooAbsBinning that constructs a binning with a range de...
virtual void setVal(Double_t value)=0
RooListProxy is the concrete proxy for RooArgList objects.
virtual ~RooParamBinning()
Destructor.
RooAbsBinning is the abstract base class for RooRealVar binning definitions This class defines the in...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual Int_t binNumber(Double_t x) const
Return the fit bin index for the current value.
virtual Double_t binWidth(Int_t bin) const
Return average bin width.
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
virtual Double_t * array() const
Return array of bin boundaries.
RooAbsReal * _xlo
do not persist
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.