97 std::map<std::string,pair<RooAbsIntegrator*,std::string> >::iterator
iter =
_map.begin() ;
98 while (iter !=
_map.end()) {
99 delete iter->second.first ;
155 _map[name.
Data()] = std::pair<RooAbsIntegrator*,std::string>(proto,depName) ;
170 if (
_map.count(name)==0) {
184 if (
_map.count(name)==0) {
209 for (i=0 ; i<ndim ; i++) {
233 if (isBinned & !openEnded) {
234 method =
"RooBinIntegrator" ;
240 << (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
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
static void registerIntegrator(RooNumIntFactory &fact)
Register RooIntegrator1D, is parameters and capabilities with RooNumIntFactory.
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.
UInt_t getDimension() const
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...
const char * Data() const
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...
std::map< std::string, std::string >::const_iterator iter
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.
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
ClassImp(RooNumIntFactory)
static void cleanup()
Cleanup routine called by atexit() handler installed by RooSentinel.
std::map< Int_t, const RooCatType * > _map
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
virtual const char * GetName() const
Returns name of object.
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)
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...
Bool_t addConfigSection(const RooAbsIntegrator *proto, const RooArgSet &defaultConfig)
Add a configuration section for a particular integrator.
Bool_t printEvalCounter() const
int CompareTo(const char *cs, ECaseCompare cmp=kExact) const
Compare a string to char *cs2.
virtual const char * getLabel() const
Return label string of current state.
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...