16#ifndef ROO_MC_INTEGRATOR
17#define ROO_MC_INTEGRATOR
#define ClassDef(name, id)
Abstract interface for evaluating a real-valued function of one real variable and performing numerica...
RooAbsIntegrator is the abstract interface for integrators of real-valued functions that implement th...
RooGrid is a utility class for RooMCIntegrator which implements an adaptive multi-dimensional Monte C...
RooMCIntegrator implements an adaptive multi-dimensional Monte Carlo numerical integration,...
virtual Bool_t canIntegrateOpenEnded() const
RooMCIntegrator()
Default constructor.
static void registerIntegrator(RooNumIntFactory &fact)
This function registers class RooMCIntegrator, its configuration options and its capabilities with Ro...
virtual Double_t integral(const Double_t *yvec=0)
Evaluate the integral using a fixed number of calls to evaluate the integrand equal to about 10k per ...
const RooGrid & grid() const
virtual ~RooMCIntegrator()
Destructor.
virtual Bool_t canIntegrate1D() const
GeneratorType getGenType() const
Double_t vegas(Stage stage, UInt_t calls, UInt_t iterations, Double_t *absError=0)
Perform one step of Monte Carlo integration using the specified number of iterations with (approximat...
void setGenType(GeneratorType type)
Double_t getAlpha() const
void setAlpha(Double_t alpha)
virtual RooAbsIntegrator * clone(const RooAbsFunc &function, const RooNumIntConfig &config) const
Return clone of this generator operating on given function with given configuration Needed to support...
virtual Bool_t checkLimits() const
Check if we can integrate over the current domain.
virtual Bool_t canIntegrate2D() const
virtual Bool_t canIntegrateND() const
RooNumIntConfig holds the configuration parameters of the various numeric integrators used by RooReal...
RooNumIntFactory is a factory to instantiate numeric integrators from a given function binding and a ...
void function(const Char_t *name_, T fun, const Char_t *docstring=0)