#ifndef ROOTFNBINDING
#define ROOTFNBINDING
#include "RooAbsReal.h"
#include "RooListProxy.h"
#include "RooAbsReal.h"
class TF1 ;
class TF2 ;
class TF3 ;
class RooTFnBinding : public RooAbsReal {
public:
RooTFnBinding() {} ;
RooTFnBinding(const char *name, const char *title, TF1* _func, const RooArgList& _list);
RooTFnBinding(const RooTFnBinding& other, const char* name=0) ;
virtual TObject* clone(const char* newname) const { return new RooTFnBinding(*this,newname); }
inline virtual ~RooTFnBinding() { }
void printArgs(ostream& os) const ;
protected:
RooListProxy list ;
TF1* func ;
Double_t evaluate() const ;
private:
ClassDef(RooTFnBinding,1)
};
namespace RooFit {
RooAbsReal* bindFunction(TF1* func,RooAbsReal& x) ;
RooAbsReal* bindFunction(TF2* func,RooAbsReal& x, RooAbsReal& y) ;
RooAbsReal* bindFunction(TF3* func,RooAbsReal& x, RooAbsReal& y, RooAbsReal& z) ;
}
#endif
Last change: Mon Aug 25 11:36:59 2008
Last generated: 2008-08-25 11:36
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.