94 std::map<std::string,RooAbsNumGenerator*>::iterator iter = _map.begin() ;
95 while (iter != _map.end()) {
167 if (
_map.count(name)==0) {
219 if (!method.CompareTo(
"N/A")) {
221 << (cond?
"a conditional ":
"a ") << ndim <<
"-dimensional p.d.f" << endl ;
virtual const char * GetName() const
Returns name of object.
TIterator * createIterator(Bool_t dir=kIterForward) const
RooCategory & methodND(Bool_t cond, Bool_t cat)
const RooAbsNumGenerator * getProtoSampler(const char *name)
Return prototype integrator with given (class) name.
virtual RooAbsNumGenerator * clone(const RooAbsReal &, const RooArgSet &genVars, const RooArgSet &condVars, const RooNumGenConfig &config, Bool_t verbose=kFALSE, const RooAbsReal *maxFuncVal=0) const =0
virtual ~RooNumGenFactory()
Destructor.
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.
Iterator abstract base class.
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...
RooNumGenFactory()
Constructor.
static RooNumGenConfig & defaultConfig()
Return reference to instance of default numeric integrator configuration object.
Class RooAbsNumGenerator is the abstract base class for MC event generator implementations like RooAc...
Bool_t storeProtoSampler(RooAbsNumGenerator *proto, const RooArgSet &defConfig)
Method accepting registration of a prototype numeric integrator along with a RooArgSet of its default...
static void registerSampler(RooNumGenFactory &fact)
Register RooIntegrator1D, is parameters and capabilities with RooNumIntFactory.
static void activate()
Install atexit handler that calls CleanupRooFitAtExit() on program termination.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Bool_t addConfigSection(const RooAbsNumGenerator *proto, const RooArgSet &defaultConfig)
Add a configuration section for a particular integrator.
virtual const char * getLabel() const
Return label string of current state.
std::map< std::string, RooAbsNumGenerator * > _map
Mother of all ROOT objects.
virtual TObject * Next()=0
static RooNumGenFactory & instance()
Static method returning reference to singleton instance of factory.
RooNumGenConfig holds the configuration parameters of the various numeric integrators used by RooReal...
static void registerSampler(RooNumGenFactory &fact)
Register RooIntegrator1D, is parameters and capabilities with RooNumIntFactory.
RooNumGenFactory is a factory to instantiate numeric integrators from a given function binding and a ...
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
static RooNumGenFactory * _instance
RooCategory & method2D(Bool_t cond, Bool_t cat)
RooCategory & method1D(Bool_t cond, Bool_t cat)