#ifndef ROO_NUM_INT_FACTORY
#define ROO_NUM_INT_FACTORY
#include <map>
#include <string>
#include "TObject.h"
#include "RooLinkedList.h"
#include "RooAbsIntegrator.h"
class RooNumIntConfig ;
class RooAbsFunc ;
class RooNumIntFactory ;
typedef void (*RooNumIntInitializerFunc)(RooNumIntFactory&) ;
class RooNumIntFactory : public TObject {
public:
static RooNumIntFactory& instance() ;
virtual ~RooNumIntFactory();
Bool_t storeProtoIntegrator(RooAbsIntegrator* proto, const RooArgSet& defConfig, const char* depName="") ;
const RooAbsIntegrator* getProtoIntegrator(const char* name) ;
const char* getDepIntegratorName(const char* name) ;
RooAbsIntegrator* createIntegrator(RooAbsFunc& func, const RooNumIntConfig& config, Int_t ndim=0) ;
static void cleanup() ;
protected:
friend class RooNumIntConfig ;
std::map<std::string,std::pair<RooAbsIntegrator*,std::string> > _map ;
RooNumIntFactory();
RooNumIntFactory(const RooNumIntFactory& other) ;
static RooNumIntFactory* _instance ;
ClassDef(RooNumIntFactory,1)
};
#endif
Last change: Wed Jun 25 08:33:41 2008
Last generated: 2008-06-25 08:33
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.