16 #ifndef ROO_INTEGRATOR_1D 17 #define ROO_INTEGRATOR_1D
RooAbsIntegrator is the abstract interface for integrators of real-valued functions that implement th...
Double_t * _s
Integrator workspace.
RooNumIntConfig holds the configuration parameters of the various numeric integrators used by RooReal...
Double_t _extrapError
Extrapolated value.
RooIntegrator1D()
coverity[UNINIT_CTOR] Default constructor
Double_t * _c
Integrator workspace.
Double_t * xvec(Double_t &xx)
Integrator workspace.
virtual Bool_t setUseIntegrandLimits(Bool_t flag)
Interface function that allows to defer limit definition to integrand definition. ...
RooNumIntFactory is a factory to instantiate numeric integrators from a given function binding and a ...
Bool_t initialize()
Initialize the integrator.
static void registerIntegrator(RooNumIntFactory &fact)
Register RooIntegrator1D, is parameters and capabilities with RooNumIntFactory.
Double_t _extrapValue
Size of integration range.
Double_t addMidpoints(Int_t n)
Calculate the n-th stage of refinement of the Second Euler-Maclaurin summation rule which has the use...
virtual Bool_t setLimits(Double_t *, Double_t *)
virtual ~RooIntegrator1D()
Destructor.
Double_t addTrapezoids(Int_t n)
Calculate the n-th stage of refinement of the extended trapezoidal summation rule.
virtual Bool_t canIntegrate1D() const
Double_t _savedResult
Integrator workspace.
#define ClassDef(name, id)
Double_t _range
Upper integration bound.
virtual Bool_t canIntegrateOpenEnded() const
Double_t * _d
Integrator workspace.
virtual Bool_t checkLimits() const
Check that our integration range is finite and otherwise return kFALSE.
virtual RooAbsIntegrator * clone(const RooAbsFunc &function, const RooNumIntConfig &config) const
Clone integrator with new function binding and configuration. Needed by RooNumIntFactory.
virtual Double_t integral(const Double_t *yvec=0)
Calculate numeric integral at given set of function binding parameters.
Bool_t setLimits(Double_t *xmin, Double_t *xmax)
Change our integration limits.
RooIntegrator1D implements an adaptive one-dimensional numerical integration algorithm.
virtual Bool_t canIntegrate2D() const
virtual Bool_t canIntegrateND() const
Double_t * _h
Error on extrapolated value.
Bool_t _useIntegrandLimits
Double_t _xmax
Lower integration bound.
void extrapolate(Int_t n)
Extrapolate result to final value.
Abstract interface for evaluating a real-valued function of one real variable and performing numerica...