16#ifndef ROO_NUM_INT_FACTORY
17#define ROO_NUM_INT_FACTORY
41 bool canIntegrate2D,
bool canIntegrateND,
bool canIntegrateOpenEnded,
const char *depName =
"");
62 return item ==
_map.end() ? nullptr : &item->second;
65 std::map<std::string,PluginInfo>
_map;
void(* RooNumIntInitializerFunc)(RooNumIntFactory &)
#define ClassDefOverride(name, id)
Abstract interface for evaluating a real-valued function of one real variable and performing numerica...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooNumIntConfig holds the configuration parameters of the various numeric integrators used by RooReal...
RooNumIntFactory is a factory to instantiate numeric integrators from a given function binding and a ...
void init()
Register all known integrators by calling their static registration functions.
PluginInfo const * getPluginInfo(const char *name) const
std::function< std::unique_ptr< RooAbsIntegrator >(RooAbsFunc const &function, const RooNumIntConfig &config)> Creator
std::unique_ptr< RooAbsIntegrator > createIntegrator(RooAbsFunc &func, const RooNumIntConfig &config, Int_t ndim=0, bool isBinned=false) const
Construct a numeric integrator instance that operates on function 'func' and is configured with 'conf...
std::map< std::string, PluginInfo > _map
RooNumIntFactory(const RooNumIntFactory &other)=delete
static RooNumIntFactory & instance()
Static method returning reference to singleton instance of factory.
bool registerPlugin(std::string const &name, Creator const &creator, const RooArgSet &defConfig, bool canIntegrate1D, bool canIntegrate2D, bool canIntegrateND, bool canIntegrateOpenEnded, const char *depName="")
Method accepting registration of a prototype numeric integrator along with a RooArgSet of its default...
Mother of all ROOT objects.
bool canIntegrateOpenEnded