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 () |
RooAbsFunc & | binding () |
RooAbsFunc const & | binding () const |
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 = nullptr |
Function binding. | |
Int_t | _nobs |
! Number of observables ; | |
Int_t | _npar = 0 |
! Number of parameters ; | |
RooArgSet | _nset |
Normalization observables. | |
std::unique_ptr< RooAbsFunc > | _ownedBinding |
Do we own the binding function. | |
std::vector< double > | _x |
! Transfer array ; | |
#include <RooFunctor.h>
RooFunctor::RooFunctor | ( | const RooAbsFunc & | func | ) |
Definition at line 41 of file RooFunctor.cxx.
RooFunctor::RooFunctor | ( | const RooAbsReal & | func, |
const RooArgList & | observables, | ||
const RooArgList & | parameters ) |
Store list of observables.
Definition at line 49 of file RooFunctor.cxx.
RooFunctor::RooFunctor | ( | const RooAbsReal & | func, |
const RooArgList & | observables, | ||
const RooArgList & | parameters, | ||
const RooArgSet & | nset ) |
Store normalization set.
Definition at line 57 of file RooFunctor.cxx.
RooFunctor::RooFunctor | ( | const RooFunctor & | other | ) |
Definition at line 76 of file RooFunctor.cxx.
|
virtualdefault |
|
inline |
Definition at line 51 of file RooFunctor.h.
|
inline |
Definition at line 52 of file RooFunctor.h.
Definition at line 63 of file RooFunctor.h.
Definition at line 63 of file RooFunctor.h.
Definition at line 92 of file RooFunctor.cxx.
Definition at line 106 of file RooFunctor.cxx.
Definition at line 99 of file RooFunctor.cxx.
Definition at line 63 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.
|
inline |
Definition at line 63 of file RooFunctor.h.
|
protected |
Function binding.
Definition at line 58 of file RooFunctor.h.
|
protected |
! Number of observables ;
Definition at line 61 of file RooFunctor.h.
|
protected |
! Number of parameters ;
Definition at line 60 of file RooFunctor.h.
|
protected |
Normalization observables.
Definition at line 57 of file RooFunctor.h.
|
protected |
Do we own the binding function.
Definition at line 56 of file RooFunctor.h.
|
mutableprotected |
! Transfer array ;
Definition at line 59 of file RooFunctor.h.