16 #ifndef ROO_ADAPTIVE_GAUSS_KRONROD_INTEGRATOR_1D
17 #define ROO_ADAPTIVE_GAUSS_KRONROD_INTEGRATOR_1D
78 _x[0] = xx ;
return _x ;
double RooAdaptiveGaussKronrodIntegrator1D_GSL_GlueFunction(double x, void *data)
Glue function interacing to GSL code.
Double_t _epsAbs
Current coordinate.
virtual Bool_t canIntegrateND() const
virtual Bool_t setLimits(Double_t *, Double_t *)
#define ClassDef(name, id)
virtual Bool_t canIntegrateOpenEnded() const
virtual ~RooAdaptiveGaussKronrodIntegrator1D()
Destructor.
Double_t * xvec(Double_t &xx)
virtual Bool_t checkLimits() const
Check that our integration range is finite and otherwise return kFALSE.
Bool_t setLimits(Double_t *xmin, Double_t *xmax)
Change our integration limits.
virtual Bool_t setUseIntegrandLimits(Bool_t flag)
Interface function that allows to defer limit definition to integrand definition. ...
Bool_t _useIntegrandLimits
virtual RooAbsIntegrator * clone(const RooAbsFunc &function, const RooNumIntConfig &config) const
Virtual constructor.
virtual Double_t integral(const Double_t *yvec=0)
Calculate and return integral at at given parameter values.
virtual Bool_t canIntegrate2D() const
static void registerIntegrator(RooNumIntFactory &fact)
Register this class with RooNumIntConfig as a possible choice of numeric integrator for one-dimension...
friend double RooAdaptiveGaussKronrodIntegrator1D_GSL_GlueFunction(double x, void *data)
Glue function interacing to GSL code.
Double_t _xmax
Lower integration bound.
RooAdaptiveGaussKronrodIntegrator1D()
coverity[UNINIT_CTOR] Default constructor
Bool_t initialize()
Initialize integrator allocate buffers and setup GSL workspace.
virtual Bool_t canIntegrate1D() const