16 #ifndef ROO_NUM_INT_FACTORY
17 #define ROO_NUM_INT_FACTORY
49 std::map<std::string,std::pair<RooAbsIntegrator*,std::string> >
_map ;
void(* RooNumIntInitializerFunc)(RooNumIntFactory &)
static RooNumIntFactory * _instance
static RooNumIntFactory & instance()
Static method returning reference to singleton instance of factory.
std::map< std::string, std::pair< RooAbsIntegrator *, std::string > > _map
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)())
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...