16#ifndef ROO_NUM_GEN_FACTORY
17#define ROO_NUM_GEN_FACTORY
49 std::map<std::string,RooAbsNumGenerator*>
_map ;
void(* RooNumGenInitializerFunc)(RooNumGenFactory &)
#define ClassDef(name, id)
typedef void((*Func_t)())
Class RooAbsNumGenerator is the abstract base class for MC event generator implementations like RooAc...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooNumGenConfig holds the configuration parameters of the various numeric integrators used by RooReal...
RooNumGenFactory is a factory to instantiate numeric integrators from a given function binding and a ...
static RooNumGenFactory & instance()
Static method returning reference to singleton instance of factory.
RooAbsNumGenerator * createSampler(RooAbsReal &func, const RooArgSet &genVars, const RooArgSet &condVars, const RooNumGenConfig &config, Bool_t verbose=kFALSE, RooAbsReal *maxFuncVal=0)
Construct a numeric integrator instance that operates on function 'func' and is configured with 'conf...
static void cleanup()
Cleanup routine called by atexit() handler installed by RooSentinel.
RooNumGenFactory()
Constructor.
virtual ~RooNumGenFactory()
Destructor.
std::map< std::string, RooAbsNumGenerator * > _map
static RooNumGenFactory * _instance
const RooAbsNumGenerator * getProtoSampler(const char *name)
Return prototype integrator with given (class) name.
Bool_t storeProtoSampler(RooAbsNumGenerator *proto, const RooArgSet &defConfig)
Method accepting registration of a prototype numeric integrator along with a RooArgSet of its default...
Mother of all ROOT objects.