Lightweight interface adaptor that exports a RooAbsPdf as a functor.
Definition at line 25 of file RooFunctor.h.
Public Member Functions | |
| RooFunctor (const RooAbsFunc &func) | |
| RooFunctor (const RooAbsReal &func, const RooArgList &observables, const RooArgList ¶meters) | |
| Store list of observables. | |
| RooFunctor (const RooAbsReal &func, const RooArgList &observables, const RooArgList ¶meters, const RooArgSet &nset) | |
| Store normalization set. | |
| RooFunctor (const RooFunctor &) | |
| virtual | ~RooFunctor () |
| Destructor. | |
| RooAbsFunc & | binding () |
| double | eval (const double *) const |
| double | eval (const double *, const double *) const |
| double | eval (double) const |
| virtual TClass * | IsA () const |
| Int_t | nObs () const |
| Int_t | nPar () const |
| double | operator() (const double *x) const |
| double | operator() (const double *x, const double *p) const |
| double | operator() (double x) const |
| virtual void | Streamer (TBuffer &) |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
Protected Attributes | |
| RooAbsFunc * | _binding |
| Function binding. | |
| Int_t | _nobs |
| ! Number of observables ; | |
| Int_t | _npar |
| ! Number of parameters ; | |
| RooArgSet | _nset |
| Normalization observables. | |
| bool | _ownBinding |
| Do we own the binding function. | |
| double * | _x |
| ! Transfer array ; | |
#include <RooFunctor.h>
| RooFunctor::RooFunctor | ( | const RooAbsFunc & | func | ) |
Definition at line 46 of file RooFunctor.cxx.
| RooFunctor::RooFunctor | ( | const RooAbsReal & | func, |
| const RooArgList & | observables, | ||
| const RooArgList & | parameters | ||
| ) |
Store list of observables.
Definition at line 62 of file RooFunctor.cxx.
| RooFunctor::RooFunctor | ( | const RooAbsReal & | func, |
| const RooArgList & | observables, | ||
| const RooArgList & | parameters, | ||
| const RooArgSet & | nset | ||
| ) |
Store normalization set.
Definition at line 84 of file RooFunctor.cxx.
| RooFunctor::RooFunctor | ( | const RooFunctor & | other | ) |
Definition at line 106 of file RooFunctor.cxx.
|
virtual |
Destructor.
Definition at line 127 of file RooFunctor.cxx.
|
inline |
Definition at line 51 of file RooFunctor.h.
|
static |
|
inlinestaticconstexpr |
Definition at line 62 of file RooFunctor.h.
|
inlinestatic |
Definition at line 62 of file RooFunctor.h.
Definition at line 137 of file RooFunctor.cxx.
Definition at line 151 of file RooFunctor.cxx.
Definition at line 144 of file RooFunctor.cxx.
|
inlinevirtual |
Definition at line 62 of file RooFunctor.h.
|
inline |
Definition at line 34 of file RooFunctor.h.
|
inline |
Definition at line 38 of file RooFunctor.h.
Definition at line 45 of file RooFunctor.h.
Definition at line 44 of file RooFunctor.h.
Definition at line 43 of file RooFunctor.h.
|
virtual |
|
inline |
Definition at line 62 of file RooFunctor.h.
|
protected |
Function binding.
Definition at line 57 of file RooFunctor.h.
|
protected |
! Number of observables ;
Definition at line 60 of file RooFunctor.h.
|
protected |
! Number of parameters ;
Definition at line 59 of file RooFunctor.h.
|
protected |
Normalization observables.
Definition at line 56 of file RooFunctor.h.
|
protected |
Do we own the binding function.
Definition at line 55 of file RooFunctor.h.
|
protected |
! Transfer array ;
Definition at line 58 of file RooFunctor.h.