#include <RooBinning.h>
Inheritance diagram for RooBinning:
Public Member Functions | |
RooBinning (Double_t xlo=-RooNumber::infinity(), Double_t xhi=RooNumber::infinity(), const char *name=0) | |
RooBinning (Int_t nBins, Double_t xlo, Double_t xhi, const char *name=0) | |
RooBinning (Int_t nBins, const Double_t *boundaries, const char *name=0) | |
RooBinning (const RooBinning &other, const char *name=0) | |
RooAbsBinning * | clone (const char *name=0) const |
~RooBinning () | |
virtual Int_t | numBoundaries () const |
virtual Int_t | binNumber (Double_t x) const |
virtual Int_t | rawBinNumber (Double_t x) const |
virtual Double_t | nearestBoundary (Double_t x) const |
virtual void | setRange (Double_t xlo, Double_t xhi) |
virtual Double_t | lowBound () const |
virtual Double_t | highBound () const |
virtual Double_t | averageBinWidth () const |
virtual Double_t * | array () const |
virtual Double_t | binCenter (Int_t bin) const |
virtual Double_t | binWidth (Int_t bin) const |
virtual Double_t | binLow (Int_t bin) const |
virtual Double_t | binHigh (Int_t bin) const |
Bool_t | addBoundary (Double_t boundary) |
void | addBoundaryPair (Double_t boundary, Double_t mirrorPoint=0) |
void | addUniform (Int_t nBins, Double_t xlo, Double_t xhi) |
Bool_t | removeBoundary (Double_t boundary) |
Bool_t | hasBoundary (Double_t boundary) |
RooBinning (Double_t xlo=-RooNumber::infinity(), Double_t xhi=RooNumber::infinity(), const char *name=0) | |
RooBinning (Int_t nBins, Double_t xlo, Double_t xhi, const char *name=0) | |
RooBinning (Int_t nBins, const Double_t *boundaries, const char *name=0) | |
RooBinning (const RooBinning &other, const char *name=0) | |
RooAbsBinning * | clone (const char *name=0) const |
~RooBinning () | |
virtual Int_t | numBoundaries () const |
virtual Int_t | binNumber (Double_t x) const |
virtual Int_t | rawBinNumber (Double_t x) const |
virtual Double_t | nearestBoundary (Double_t x) const |
virtual void | setRange (Double_t xlo, Double_t xhi) |
virtual Double_t | lowBound () const |
virtual Double_t | highBound () const |
virtual Double_t | averageBinWidth () const |
virtual Double_t * | array () const |
virtual Double_t | binCenter (Int_t bin) const |
virtual Double_t | binWidth (Int_t bin) const |
virtual Double_t | binLow (Int_t bin) const |
virtual Double_t | binHigh (Int_t bin) const |
Bool_t | addBoundary (Double_t boundary) |
void | addBoundaryPair (Double_t boundary, Double_t mirrorPoint=0) |
void | addUniform (Int_t nBins, Double_t xlo, Double_t xhi) |
Bool_t | removeBoundary (Double_t boundary) |
Bool_t | hasBoundary (Double_t boundary) |
Protected Member Functions | |
Bool_t | binEdges (Int_t bin, Double_t &xlo, Double_t &xhi) const |
void | updateBinCount () |
Bool_t | binEdges (Int_t bin, Double_t &xlo, Double_t &xhi) const |
void | updateBinCount () |
Protected Attributes | |
Double_t | _xlo |
Double_t | _xhi |
Bool_t | _ownBoundLo |
Bool_t | _ownBoundHi |
Int_t | _nbins |
std::set< Double_t > | _boundaries |
Double_t * | _array |
std::set< Double_t > | _boundaries |
Double_t * | _array |
Definition at line 29 of file RooBinning.h.
RooBinning::RooBinning | ( | const RooBinning & | other, | |
const char * | name = 0 | |||
) |
Definition at line 99 of file RooBinning.cxx.
References _nbins, _ownBoundHi, _ownBoundLo, _xhi, and _xlo.
RooBinning::~RooBinning | ( | ) |
RooBinning::RooBinning | ( | Double_t | xlo = -RooNumber::infinity() , |
|
Double_t | xhi = RooNumber::infinity() , |
|||
const char * | name = 0 | |||
) |
RooBinning::RooBinning | ( | const RooBinning & | other, | |
const char * | name = 0 | |||
) |
RooBinning::~RooBinning | ( | ) |
RooAbsBinning* RooBinning::clone | ( | const char * | name = 0 |
) | const [inline, virtual] |
Implements RooAbsBinning.
Definition at line 36 of file RooBinning.h.
References TNamed::GetName(), name, and RooBinning().
virtual Int_t RooBinning::numBoundaries | ( | ) | const [inline, virtual] |
Implements RooAbsBinning.
Definition at line 39 of file RooBinning.h.
References _nbins.
Referenced by array().
Implements RooAbsBinning.
Definition at line 196 of file RooBinning.cxx.
References _boundaries, _nbins, _xlo, and n.
Referenced by nearestBoundary().
Reimplemented from RooAbsBinning.
Definition at line 217 of file RooBinning.cxx.
References _boundaries, and n.
Definition at line 237 of file RooBinning.cxx.
References binHigh(), binLow(), binNumber(), and ROOT::Math::fabs().
Implements RooAbsBinning.
Definition at line 271 of file RooBinning.cxx.
References _boundaries, _ownBoundHi, _ownBoundLo, _xhi, _xlo, addBoundary(), coutE, hasBoundary(), RooFit::InputArguments, kFALSE, kTRUE, and updateBinCount().
Referenced by RooBinning().
virtual Double_t RooBinning::lowBound | ( | ) | const [inline, virtual] |
Implements RooAbsBinning.
Definition at line 49 of file RooBinning.h.
References _xlo.
Referenced by averageBinWidth().
virtual Double_t RooBinning::highBound | ( | ) | const [inline, virtual] |
Implements RooAbsBinning.
Definition at line 53 of file RooBinning.h.
References _xhi.
Referenced by averageBinWidth().
virtual Double_t RooBinning::averageBinWidth | ( | ) | const [inline, virtual] |
Implements RooAbsBinning.
Definition at line 57 of file RooBinning.h.
References highBound(), lowBound(), and RooAbsBinning::numBins().
Double_t * RooBinning::array | ( | ) | const [virtual] |
Implements RooAbsBinning.
Definition at line 252 of file RooBinning.cxx.
References _array, _boundaries, _xhi, _xlo, i, and numBoundaries().
Implements RooAbsBinning.
Definition at line 387 of file RooBinning.cxx.
References binEdges().
Referenced by nearestBoundary().
Implements RooAbsBinning.
Definition at line 399 of file RooBinning.cxx.
References binEdges().
Referenced by nearestBoundary().
Definition at line 125 of file RooBinning.cxx.
References _boundaries, _ownBoundHi, _ownBoundLo, _xhi, _xlo, kFALSE, kTRUE, and updateBinCount().
Referenced by addBoundaryPair(), addUniform(), rf108_plotbinning(), RooBinning(), setRange(), and TestBasic108::testCode().
Definition at line 146 of file RooBinning.cxx.
References addBoundary().
Referenced by rf108_plotbinning(), and TestBasic108::testCode().
Definition at line 183 of file RooBinning.cxx.
References addBoundary(), and i.
Referenced by rf108_plotbinning(), RooBinning(), and TestBasic108::testCode().
Definition at line 332 of file RooBinning.cxx.
References _boundaries, _nbins, _xlo, coutE, RooFit::InputArguments, kFALSE, kTRUE, and n.
Referenced by binCenter(), binHigh(), binLow(), and binWidth().
void RooBinning::updateBinCount | ( | ) | [protected] |
Definition at line 316 of file RooBinning.cxx.
References _boundaries, _nbins, _xhi, _xlo, and i.
Referenced by addBoundary(), and setRange().
RooAbsBinning* RooBinning::clone | ( | const char * | name = 0 |
) | const [inline, virtual] |
Implements RooAbsBinning.
Definition at line 36 of file RooBinning.h.
References TNamed::GetName(), name, and RooBinning().
virtual Int_t RooBinning::numBoundaries | ( | ) | const [inline, virtual] |
Implements RooAbsBinning.
Reimplemented from RooAbsBinning.
Implements RooAbsBinning.
virtual Double_t RooBinning::lowBound | ( | ) | const [inline, virtual] |
virtual Double_t RooBinning::highBound | ( | ) | const [inline, virtual] |
virtual Double_t RooBinning::averageBinWidth | ( | ) | const [inline, virtual] |
Implements RooAbsBinning.
Definition at line 57 of file RooBinning.h.
References highBound(), lowBound(), and RooAbsBinning::numBins().
virtual Double_t* RooBinning::array | ( | ) | const [virtual] |
Implements RooAbsBinning.
Implements RooAbsBinning.
Implements RooAbsBinning.
Implements RooAbsBinning.
Implements RooAbsBinning.
void RooBinning::updateBinCount | ( | ) | [protected] |
Double_t RooBinning::_xlo [protected] |
Definition at line 80 of file RooBinning.h.
Referenced by addBoundary(), array(), binEdges(), binNumber(), lowBound(), RooBinning(), setRange(), and updateBinCount().
Double_t RooBinning::_xhi [protected] |
Definition at line 81 of file RooBinning.h.
Referenced by addBoundary(), array(), highBound(), RooBinning(), setRange(), and updateBinCount().
Bool_t RooBinning::_ownBoundLo [protected] |
Definition at line 82 of file RooBinning.h.
Referenced by addBoundary(), RooBinning(), and setRange().
Bool_t RooBinning::_ownBoundHi [protected] |
Definition at line 83 of file RooBinning.h.
Referenced by addBoundary(), RooBinning(), and setRange().
Int_t RooBinning::_nbins [protected] |
Definition at line 84 of file RooBinning.h.
Referenced by binEdges(), binNumber(), numBoundaries(), RooBinning(), and updateBinCount().
std::set<Double_t> RooBinning::_boundaries [protected] |
Definition at line 86 of file RooBinning.h.
Referenced by addBoundary(), array(), binEdges(), binNumber(), hasBoundary(), rawBinNumber(), removeBoundary(), setRange(), and updateBinCount().
Double_t* RooBinning::_array [mutable, protected] |
std::set<Double_t> RooBinning::_boundaries [protected] |
Definition at line 86 of file RooBinning.h.
Double_t* RooBinning::_array [mutable, protected] |
Definition at line 87 of file RooBinning.h.