62    throw std::runtime_error(
Form(
"RooDerivative::ctor(%s) ERROR, derivation order must be 1,2 or 3",
name)) ;
 
 
   97    _rd = std::make_unique<ROOT::Math::RichardsonDerivator>(
wf,
_eps,
true);
 
  101  case 1: 
return _rd->Derivative1(
_x);
 
  102  case 2: 
return _rd->Derivative2(
_x);
 
  103  case 3: 
return _rd->Derivative3(
_x);
 
 
RooAbsReal * _func
Pointer to original input function.
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
 
Template class to wrap any C++ callable object which takes one argument i.e.
 
Abstract container object that can hold multiple RooAbsArg objects.
 
Abstract base class for objects that represent a real value and implements functionality common to al...
 
bool redirectServersHook(const RooAbsCollection &newServerList, bool mustReplaceAll, bool nameChange, bool isRecursiveStep) override
Function that is called at the end of redirectServers().
 
RooArgSet is a container object that can hold multiple RooAbsArg objects.
 
bool add(const RooAbsArg &var, bool valueServer, bool shapeServer, bool silent)
Overloaded RooCollection_t::add() method insert object into set and registers object as server to own...
 
Represents the first, second, or third order derivative of any RooAbsReal as calculated (numerically)...
 
std::unique_ptr< ROOT::Math::RichardsonDerivator > _rd
! Derivator
 
~RooDerivative() override
 
RooDerivative()
Default constructor.
 
std::unique_ptr< RooFunctor > _ftor
! Functor binding of RooAbsReal
 
RooSetProxy _nset
Normalization set (optional)
 
bool redirectServersHook(const RooAbsCollection &, bool, bool, bool) override
Zap functor and derivator ;.
 
Int_t _order
Derivation order.
 
double evaluate() const override
Calculate value.
 
RooRealProxy _func
Input function.
 
RooRealProxy _x
Observable.
 
Variable that can be changed from the outside.
 
const T & arg() const
Return reference to object held in proxy.