ROOT » ROOFIT » ROOFITCORE » RooFunctor

class RooFunctor



Lightweight interface adaptor that exports a RooAbsPdf as a functor

Function Members (Methods)

public:
virtual~RooFunctor()
RooAbsFunc&binding()
static TClass*Class()
Double_teval(const Double_t*) const
Double_teval(Double_t) const
Double_teval(const Double_t*, const Double_t*) const
virtual TClass*IsA() const
Int_tnObs() const
Int_tnPar() const
Double_toperator()(Double_t x) const
Double_toperator()(const Double_t* x) const
Double_toperator()(const Double_t* x, const Double_t* p) const
RooFunctor&operator=(const RooFunctor&)
RooFunctor(const RooAbsFunc& func)
RooFunctor(const RooFunctor&)
RooFunctor(const RooAbsReal& func, const RooArgList& observables, const RooArgList& parameters)
RooFunctor(const RooAbsReal& func, const RooArgList& observables, const RooArgList& parameters, const RooArgSet& nset)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)

Data Members

protected:
RooAbsFunc*_bindingFunction binding
Int_t_nobs! Number of observables ;
Int_t_npar! Number of parameters ;
RooArgSet_nsetNormalization observables
Bool_t_ownBindingDo we own the binding function
Double_t*_x! Transfer array ;

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

RooFunctor(const RooAbsFunc& func)
RooFunctor(const RooAbsReal& func, const RooArgList& observables, const RooArgList& parameters)
 Store list of observables
RooFunctor(const RooAbsReal& func, const RooArgList& observables, const RooArgList& parameters, const RooArgSet& nset)
 Store normalization set
RooFunctor(const RooFunctor& )
~RooFunctor()
 Destructor
Double_t eval(const Double_t* ) const
Double_t eval(Double_t ) const
Double_t eval(const Double_t* , const Double_t* ) const
Int_t nObs() const
 Number of observables
Int_t nPar() const
 Number of parameters;
Double_t operator()(Double_t x) const
Int_t numCall() const { return _binding->numCall() ; }
void resetNumCall() const { _binding->resetNumCall() ; }
{ return eval(x) ; }
Double_t operator()(const Double_t* x, const Double_t* p) const
{ return eval(x,p) ; }
Double_t operator()(const Double_t* x) const
{ return eval(x) ; }
RooAbsFunc& binding()
{ return *_binding ; }