#include <RooBrentRootFinder.h>
Inheritance diagram for RooBrentRootFinder:
Public Member Functions | |
RooBrentRootFinder (const RooAbsFunc &function) | |
virtual | ~RooBrentRootFinder () |
virtual Bool_t | findRoot (Double_t &result, Double_t xlo, Double_t xhi, Double_t value=0) const |
void | setTol (Double_t tol) |
RooBrentRootFinder (const RooAbsFunc &function) | |
virtual | ~RooBrentRootFinder () |
virtual Bool_t | findRoot (Double_t &result, Double_t xlo, Double_t xhi, Double_t value=0) const |
void | setTol (Double_t tol) |
Protected Types | |
enum | |
enum | |
Protected Attributes | |
Double_t | _tol |
Definition at line 21 of file RooBrentRootFinder.h.
anonymous enum [protected] |
Definition at line 33 of file RooBrentRootFinder.h.
anonymous enum [protected] |
Definition at line 33 of file RooBrentRootFinder.h.
RooBrentRootFinder::RooBrentRootFinder | ( | const RooAbsFunc & | function | ) |
Definition at line 40 of file RooBrentRootFinder.cxx.
virtual RooBrentRootFinder::~RooBrentRootFinder | ( | ) | [inline, virtual] |
Definition at line 24 of file RooBrentRootFinder.h.
RooBrentRootFinder::RooBrentRootFinder | ( | const RooAbsFunc & | function | ) |
virtual RooBrentRootFinder::~RooBrentRootFinder | ( | ) | [inline, virtual] |
Definition at line 24 of file RooBrentRootFinder.h.
Bool_t RooBrentRootFinder::findRoot | ( | Double_t & | result, | |
Double_t | xlo, | |||
Double_t | xhi, | |||
Double_t | value = 0 | |||
) | const [virtual] |
Implements RooAbsRootFinder.
Definition at line 50 of file RooBrentRootFinder.cxx.
References RooAbsRootFinder::_function, _tol, a, b, c, d, RooFit::Eval, ROOT::Math::fabs(), fb, fc, RooAbsFunc::getName(), kFALSE, kTRUE, m, MaxIterations, oocoutE, oocxcoutD, p, RooAbsFunc::restoreXVec(), s, RooAbsFunc::saveXVec(), and tol.
Referenced by RooIntegralMorph::MorphCacheElem::calculate(), RooIntegralMorph::MorphCacheElem::calcX(), ClassImp(), RooIntegralMorph::MorphCacheElem::findRange(), and RooHistError::getInterval().
void RooBrentRootFinder::setTol | ( | Double_t | tol | ) | [inline] |
Definition at line 27 of file RooBrentRootFinder.h.
References _tol.
Referenced by ClassImp(), and RooIntegralMorph::MorphCacheElem::MorphCacheElem().
virtual Bool_t RooBrentRootFinder::findRoot | ( | Double_t & | result, | |
Double_t | xlo, | |||
Double_t | xhi, | |||
Double_t | value = 0 | |||
) | const [virtual] |
Implements RooAbsRootFinder.
void RooBrentRootFinder::setTol | ( | Double_t | tol | ) | [inline] |
Double_t RooBrentRootFinder::_tol [protected] |