98 std::map<std::string,pair<RooAbsIntegrator*,std::string> >::iterator iter = _map.begin() ;
99 while (iter != _map.end()) {
100 delete iter->second.first ;
156 _map[name.Data()] = std::pair<RooAbsIntegrator*,std::string>(
proto,depName) ;
171 if (
_map.count(name)==0) {
185 if (
_map.count(name)==0) {
210 for (i=0 ; i<ndim ; i++) {
234 if (isBinned & !openEnded) {
235 method =
"RooBinIntegrator" ;
239 if (!method.CompareTo(
"N/A")) {
241 << (openEnded?
"an open ended ":
"a ") << ndim <<
"-dimensional integral" << endl ;
static RooNumIntConfig & defaultConfig()
Return reference to instance of default numeric integrator configuration object.
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.
virtual RooAbsIntegrator * clone(const RooAbsFunc &function, const RooNumIntConfig &config) const =0
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 ...
static void registerIntegrator(RooNumIntFactory &fact)
Register RooIntegrator1D, is parameters and capabilities with RooNumIntFactory.
Bool_t printEvalCounter() const
void setPrintEvalCounter(Bool_t value)
RooCategory & method2DOpen()
static Int_t isInfinite(Double_t x)
Return true if x is infinite by RooNumBer internal specification.
static void registerIntegrator(RooNumIntFactory &fact)
Register RooImproperIntegrator1D, its parameters and capabilities with RooNumIntFactory.
const RooAbsIntegrator * getProtoIntegrator(const char *name)
Return prototype integrator with given (class) name.
virtual Bool_t setLabel(const char *label, Bool_t printError=kTRUE)
Set value by specifying the name of the desired state If printError is set, a message will be printed...
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...
static void registerIntegrator(RooNumIntFactory &fact)
Register RooSegmentedIntegrator1D, its parameters, dependencies and capabilities with RooNumIntFactor...
RooCategory & methodNDOpen()
RooNumIntFactory()
Constructor.
static void registerIntegrator(RooNumIntFactory &fact)
Register RooIntegrator2D, is parameters and capabilities with RooNumIntFactory.
static void registerIntegrator(RooNumIntFactory &fact)
Register RooGaussKronrodIntegrator1D, its parameters and capabilities with RooNumIntConfig.
virtual ~RooNumIntFactory()
Destructor.
UInt_t getDimension() const
static void registerIntegrator(RooNumIntFactory &fact)
This function registers class RooMCIntegrator, its configuration options and its capabilities with Ro...
virtual Double_t getMinLimit(UInt_t dimension) const =0
static void cleanup()
Cleanup routine called by atexit() handler installed by RooSentinel.
static void registerIntegrator(RooNumIntFactory &fact)
Register RooBinIntegrator, is parameters and capabilities with RooNumIntFactory.
static void activate()
Install atexit handler that calls CleanupRooFitAtExit() on program termination.
virtual Double_t getMaxLimit(UInt_t dimension) const =0
RooCategory & method1DOpen()
const char * getDepIntegratorName(const char *name)
Get list of class names of integrators needed by integrator named 'name'.
static void registerIntegrator(RooNumIntFactory &fact)
Register RooAdaptiveIntegratorND, its parameters, dependencies and capabilities with RooNumIntFactory...
double func(double *x, double *p)
virtual const char * getLabel() const
Return label string of current state.
static void registerIntegrator(RooNumIntFactory &fact)
Register RooSegmentedIntegrator2D, its parameters, dependencies and capabilities with RooNumIntFactor...
Mother of all ROOT objects.
static void registerIntegrator(RooNumIntFactory &fact)
Register this class with RooNumIntConfig as a possible choice of numeric integrator for one-dimension...
virtual const char * GetName() const
Returns name of object.
Bool_t addConfigSection(const RooAbsIntegrator *proto, const RooArgSet &defaultConfig)
Add a configuration section for a particular integrator.
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...