RooBrentRootFinder Class Reference

#include <RooBrentRootFinder.h>

Inheritance diagram for RooBrentRootFinder:

RooAbsRootFinder RooAbsRootFinder List of all members.

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

Detailed Description

Definition at line 21 of file RooBrentRootFinder.h.


Member Enumeration Documentation

anonymous enum [protected]

Definition at line 33 of file RooBrentRootFinder.h.

anonymous enum [protected]

Definition at line 33 of file RooBrentRootFinder.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Definition at line 27 of file RooBrentRootFinder.h.

References _tol.


Member Data Documentation

Double_t RooBrentRootFinder::_tol [protected]

Definition at line 35 of file RooBrentRootFinder.h.

Referenced by findRoot(), and setTol().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:33:03 2011 for ROOT_528-00b_version by  doxygen 1.5.1