16 #ifndef ROO_NUM_INT_FACTORY
17 #define ROO_NUM_INT_FACTORY
49 std::map<std::string,std::pair<RooAbsIntegrator*,std::string> >
_map ;
static RooNumIntFactory * _instance
RooAbsIntegrator is the abstract interface for integrators of real-valued functions that implement th...
RooNumIntConfig holds the configuration parameters of the various numeric integrators used by RooReal...
static RooNumIntFactory & instance()
Static method returning reference to singleton instance of factory.
std::map< std::string, std::pair< RooAbsIntegrator *, std::string > > _map
RooNumIntFactory is a factory to instantiate numeric integrators from a given function binding and a ...
const RooAbsIntegrator * getProtoIntegrator(const char *name)
Return prototype integrator with given (class) name.
RooAbsIntegrator * createIntegrator(RooAbsFunc &func, const RooNumIntConfig &config, Int_t ndim=0, Bool_t isBinned=kFALSE)
Construct a numeric integrator instance that operates on function 'func' and is configured with 'conf...
#define ClassDef(name, id)
RooNumIntFactory()
Constructor.
virtual ~RooNumIntFactory()
Destructor.
static void cleanup()
Cleanup routine called by atexit() handler installed by RooSentinel.
const char * getDepIntegratorName(const char *name)
Get list of class names of integrators needed by integrator named 'name'.
double func(double *x, double *p)
Mother of all ROOT objects.
typedef void((*Func_t)())
void(* RooNumIntInitializerFunc)(RooNumIntFactory &)
Abstract interface for evaluating a real-valued function of one real variable and performing numerica...
Bool_t storeProtoIntegrator(RooAbsIntegrator *proto, const RooArgSet &defConfig, const char *depName="")
Method accepting registration of a prototype numeric integrator along with a RooArgSet of its default...