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.  More... | |
| RooFunctor (const RooAbsReal &func, const RooArgList &observables, const RooArgList ¶meters, const RooArgSet &nset) | |
| Store normalization set.  More... | |
| RooFunctor (const RooFunctor &) | |
| virtual | ~RooFunctor () | 
| Destructor.  More... | |
| RooAbsFunc & | binding () | 
| Double_t | eval (const Double_t *) const | 
| Double_t | eval (const Double_t *, const Double_t *) const | 
| Double_t | eval (Double_t) const | 
| Int_t | nObs () const | 
| Int_t | nPar () const | 
| Double_t | operator() (const Double_t *x) const | 
| Double_t | operator() (const Double_t *x, const Double_t *p) const | 
| Double_t | operator() (Double_t x) const | 
Protected Attributes | |
| RooAbsFunc * | _binding | 
| Int_t | _nobs | 
| Number of parameters ;.  More... | |
| Int_t | _npar | 
| Transfer array ;.  More... | |
| RooArgSet | _nset | 
| Bool_t | _ownBinding | 
| Double_t * | _x | 
#include <RooFunctor.h>
| RooFunctor::RooFunctor | ( | const RooAbsFunc & | func | ) | 
Definition at line 48 of file RooFunctor.cxx.
| RooFunctor::RooFunctor | ( | const RooAbsReal & | func, | 
| const RooArgList & | observables, | ||
| const RooArgList & | parameters | ||
| ) | 
Store list of observables.
Definition at line 64 of file RooFunctor.cxx.
| RooFunctor::RooFunctor | ( | const RooAbsReal & | func, | 
| const RooArgList & | observables, | ||
| const RooArgList & | parameters, | ||
| const RooArgSet & | nset | ||
| ) | 
Store normalization set.
Definition at line 86 of file RooFunctor.cxx.
| RooFunctor::RooFunctor | ( | const RooFunctor & | other | ) | 
Definition at line 108 of file RooFunctor.cxx.
      
  | 
  virtual | 
Destructor.
Definition at line 129 of file RooFunctor.cxx.
      
  | 
  inline | 
Definition at line 55 of file RooFunctor.h.
Definition at line 139 of file RooFunctor.cxx.
Definition at line 153 of file RooFunctor.cxx.
Definition at line 146 of file RooFunctor.cxx.
      
  | 
  inline | 
Definition at line 34 of file RooFunctor.h.
      
  | 
  inline | 
Definition at line 38 of file RooFunctor.h.
Definition at line 49 of file RooFunctor.h.
Definition at line 48 of file RooFunctor.h.
Definition at line 47 of file RooFunctor.h.
      
  | 
  protected | 
Definition at line 61 of file RooFunctor.h.
      
  | 
  protected | 
Number of parameters ;.
Definition at line 64 of file RooFunctor.h.
      
  | 
  protected | 
Transfer array ;.
Definition at line 63 of file RooFunctor.h.
      
  | 
  protected | 
Definition at line 60 of file RooFunctor.h.
      
  | 
  protected | 
Definition at line 59 of file RooFunctor.h.
      
  | 
  protected | 
Definition at line 62 of file RooFunctor.h.