RooDerivative Class Reference

#include <RooDerivative.h>

Inheritance diagram for RooDerivative:

RooAbsReal RooAbsReal RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed List of all members.

Public Member Functions

 RooDerivative ()
 RooDerivative (const char *name, const char *title, RooAbsReal &func, RooRealVar &x, Int_t order=1, Double_t eps=0.001)
 RooDerivative (const char *name, const char *title, RooAbsReal &func, RooRealVar &x, const RooArgSet &nset, Int_t order=1, Double_t eps=0.001)
virtual ~RooDerivative ()
 RooDerivative (const RooDerivative &other, const char *name=0)
virtual TObjectclone (const char *newname) const
Int_t order () const
Double_t eps () const
void setEps (Double_t e)
Bool_t redirectServersHook (const RooAbsCollection &, Bool_t, Bool_t, Bool_t)
 RooDerivative ()
 RooDerivative (const char *name, const char *title, RooAbsReal &func, RooRealVar &x, Int_t order=1, Double_t eps=0.001)
 RooDerivative (const char *name, const char *title, RooAbsReal &func, RooRealVar &x, const RooArgSet &nset, Int_t order=1, Double_t eps=0.001)
virtual ~RooDerivative ()
 RooDerivative (const RooDerivative &other, const char *name=0)
virtual TObjectclone (const char *newname) const
Int_t order () const
Double_t eps () const
void setEps (Double_t e)
Bool_t redirectServersHook (const RooAbsCollection &, Bool_t, Bool_t, Bool_t)

Protected Member Functions

Double_t evaluate () const
 Derivator.
Double_t evaluate () const
 Derivator.

Protected Attributes

Int_t _order
Double_t _eps
RooSetProxy _nset
RooRealProxy _func
RooRealProxy _x
RooFunctor_ftor
ROOT::Math::RichardsonDerivator_rd
 Functor binding of RooAbsReal.
RooFunctor_ftor
ROOT::Math::RichardsonDerivator_rd
 Functor binding of RooAbsReal.

Detailed Description

Definition at line 31 of file RooDerivative.h.


Constructor & Destructor Documentation

RooDerivative::RooDerivative (  ) 

Definition at line 51 of file RooDerivative.cxx.

Referenced by clone().

RooDerivative::RooDerivative ( const char *  name,
const char *  title,
RooAbsReal func,
RooRealVar x,
Int_t  order = 1,
Double_t  eps = 0.001 
)

Definition at line 59 of file RooDerivative.cxx.

References Form().

RooDerivative::RooDerivative ( const char *  name,
const char *  title,
RooAbsReal func,
RooRealVar x,
const RooArgSet nset,
Int_t  order = 1,
Double_t  eps = 0.001 
)

Definition at line 75 of file RooDerivative.cxx.

References _nset, RooSetProxy::add(), and Form().

RooDerivative::~RooDerivative (  )  [virtual]

Definition at line 109 of file RooDerivative.cxx.

References _ftor, and _rd.

RooDerivative::RooDerivative ( const RooDerivative other,
const char *  name = 0 
)

Definition at line 94 of file RooDerivative.cxx.

RooDerivative::RooDerivative (  ) 

RooDerivative::RooDerivative ( const char *  name,
const char *  title,
RooAbsReal func,
RooRealVar x,
Int_t  order = 1,
Double_t  eps = 0.001 
)

RooDerivative::RooDerivative ( const char *  name,
const char *  title,
RooAbsReal func,
RooRealVar x,
const RooArgSet nset,
Int_t  order = 1,
Double_t  eps = 0.001 
)

virtual RooDerivative::~RooDerivative (  )  [virtual]

RooDerivative::RooDerivative ( const RooDerivative other,
const char *  name = 0 
)


Member Function Documentation

virtual TObject* RooDerivative::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 40 of file RooDerivative.h.

References RooDerivative().

Int_t RooDerivative::order (  )  const [inline]

Definition at line 42 of file RooDerivative.h.

References _order.

Double_t RooDerivative::eps (  )  const [inline]

Definition at line 43 of file RooDerivative.h.

References _eps.

void RooDerivative::setEps ( Double_t  e  )  [inline]

Definition at line 44 of file RooDerivative.h.

References _eps.

Bool_t RooDerivative::redirectServersHook ( const RooAbsCollection ,
Bool_t  ,
Bool_t  ,
Bool_t   
) [virtual]

Reimplemented from RooAbsArg.

Definition at line 139 of file RooDerivative.cxx.

References _ftor, _rd, and kFALSE.

Double_t RooDerivative::evaluate (  )  const [protected, virtual]

Derivator.

Implements RooAbsReal.

Definition at line 119 of file RooDerivative.cxx.

References _eps, _ftor, _func, _nset, _order, _rd, _x, RooRealProxy::arg(), ROOT::Math::RichardsonDerivator::Derivative1(), ROOT::Math::RichardsonDerivator::Derivative2(), ROOT::Math::RichardsonDerivator::Derivative3(), RooAbsReal::functor(), kTRUE, RooRealProxy::max(), RooRealProxy::min(), and RooAbsArg::RooArgSet.

virtual TObject* RooDerivative::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 40 of file RooDerivative.h.

References RooDerivative().

Int_t RooDerivative::order (  )  const [inline]

Definition at line 42 of file RooDerivative.h.

References _order.

Double_t RooDerivative::eps (  )  const [inline]

Definition at line 43 of file RooDerivative.h.

References _eps.

void RooDerivative::setEps ( Double_t  e  )  [inline]

Definition at line 44 of file RooDerivative.h.

References _eps.

Bool_t RooDerivative::redirectServersHook ( const RooAbsCollection ,
Bool_t  ,
Bool_t  ,
Bool_t   
) [virtual]

Reimplemented from RooAbsArg.

Double_t RooDerivative::evaluate (  )  const [protected, virtual]

Derivator.

Implements RooAbsReal.


Member Data Documentation

Int_t RooDerivative::_order [protected]

Definition at line 50 of file RooDerivative.h.

Referenced by evaluate(), and order().

Double_t RooDerivative::_eps [protected]

Definition at line 51 of file RooDerivative.h.

Referenced by eps(), evaluate(), and setEps().

RooSetProxy RooDerivative::_nset [protected]

Definition at line 52 of file RooDerivative.h.

Referenced by evaluate(), and RooDerivative().

RooRealProxy RooDerivative::_func [protected]

Definition at line 53 of file RooDerivative.h.

Referenced by evaluate().

RooRealProxy RooDerivative::_x [protected]

Definition at line 54 of file RooDerivative.h.

Referenced by evaluate().

RooFunctor* RooDerivative::_ftor [mutable, protected]

Definition at line 55 of file RooDerivative.h.

Referenced by evaluate(), redirectServersHook(), and ~RooDerivative().

ROOT::Math::RichardsonDerivator* RooDerivative::_rd [mutable, protected]

Functor binding of RooAbsReal.

Definition at line 56 of file RooDerivative.h.

Referenced by evaluate(), redirectServersHook(), and ~RooDerivative().

RooFunctor* RooDerivative::_ftor [mutable, protected]

Definition at line 55 of file RooDerivative.h.

ROOT::Math::RichardsonDerivator* RooDerivative::_rd [mutable, protected]

Functor binding of RooAbsReal.

Definition at line 56 of file RooDerivative.h.


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