#include <assert.h>
#include <stdlib.h>
#include "TClass.h"
#include "Riostream.h"
#include "RooAdaptiveGaussKronrodIntegrator1D.h"
#include "RooArgSet.h"
#include "RooRealVar.h"
#include "RooNumber.h"
#include "RooNumIntFactory.h"
#include "RooIntegratorBinding.h"
#include "TMath.h"
#include "RooMsgService.h"
Classes | |
struct | extrapolation_table |
struct | gsl_function_struct |
struct | gsl_integration_workspace |
struct | il_params |
struct | iu_params |
struct | RooFit_internal::Roo_internal_AGKInteg1D |
struct | RooFit_internal::Roo_reg_AGKInteg1D |
Namespaces | |
namespace | RooFit_internal |
namespace | ROOT |
This file contains a specialised ROOT message handler to test for diagnostic in unit tests. | |
Macros | |
#define | GSL_COERCE_DBL(x) (gsl_coerce_double(x)) |
#define | GSL_DBL_EPSILON 2.2204460492503131e-16 |
#define | GSL_DBL_MAX 1.7976931348623157e+308 |
#define | GSL_DBL_MIN 2.2250738585072014e-308 |
#define | GSL_EBADTOL 13 /* user specified an invalid tolerance */ |
#define | GSL_EDIVERGE 6 |
#define | GSL_EDOM 1 /* input domain error, e.g sqrt(-1) */ |
#define | GSL_EFAILED 5 |
#define | GSL_EINVAL 2 |
#define | GSL_EMAXITER 3 |
#define | GSL_ENOMEM 8 /* malloc failed */ |
#define | GSL_EROUND 7 |
#define | GSL_ERROR(a, b) oocoutE(nullptr,Integration) << "RooAdaptiveGaussKronrodIntegrator1D::integral() ERROR: " << a << endl ; return b ; |
#define | GSL_ERROR_VAL(reason, gsl_errno, value) return value ; |
#define | GSL_ESING 4 |
#define | GSL_ETOL 14 /* failed to reach the specified tolerance */ |
#define | GSL_FN_EVAL(F, x) (*((F)->function))(x,(F)->params) |
#define | GSL_MAX(a, b) ((a) > (b) ? (a) : (b)) |
#define | GSL_SUCCESS 0 |
Typedefs | |
typedef struct gsl_function_struct | gsl_function |
typedef void | gsl_integration_rule(const gsl_function *f, double a, double b, double *result, double *abserr, double *defabs, double *resabs) |
Enumerations | |
enum | { GSL_INTEG_GAUSS15 = 1 , GSL_INTEG_GAUSS21 = 2 , GSL_INTEG_GAUSS31 = 3 , GSL_INTEG_GAUSS41 = 4 , GSL_INTEG_GAUSS51 = 5 , GSL_INTEG_GAUSS61 = 6 } |
Variables | |
static Roo_reg_AGKInteg1D | RooFit_internal::instance |
static const double | wgA [4] |
static const double | wgB [5] |
static const double | wgC [8] |
static const double | wgD [11] |
static const double | wgE [13] |
static const double | wgF [15] |
static const double | wgkA [8] |
static const double | wgkB [11] |
static const double | wgkC [16] |
static const double | wgkD [21] |
static const double | wgkE [26] |
static const double | wgkF [31] |
static const double | xgkA [8] |
static const double | xgkB [11] |
static const double | xgkC [16] |
static const double | xgkD [21] |
static const double | xgkE [26] |
static const double | xgkF [31] |
#define GSL_COERCE_DBL | ( | x | ) | (gsl_coerce_double(x)) |
Definition at line 418 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_DBL_EPSILON 2.2204460492503131e-16 |
Definition at line 391 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_DBL_MAX 1.7976931348623157e+308 |
Definition at line 390 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_DBL_MIN 2.2250738585072014e-308 |
Definition at line 389 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EBADTOL 13 /* user specified an invalid tolerance */ |
Definition at line 386 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EDIVERGE 6 |
Definition at line 397 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 384 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EFAILED 5 |
Definition at line 396 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EINVAL 2 |
Definition at line 393 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EMAXITER 3 |
Definition at line 394 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_ENOMEM 8 /* malloc failed */ |
Definition at line 385 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EROUND 7 |
Definition at line 398 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_ERROR | ( | a, | |
b | |||
) | oocoutE(nullptr,Integration) << "RooAdaptiveGaussKronrodIntegrator1D::integral() ERROR: " << a << endl ; return b ; |
Definition at line 388 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 400 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_ESING 4 |
Definition at line 395 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_ETOL 14 /* failed to reach the specified tolerance */ |
Definition at line 387 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 72 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 402 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_SUCCESS 0 |
Definition at line 383 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
typedef struct gsl_function_struct gsl_function |
Definition at line 71 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
typedef void gsl_integration_rule(const gsl_function *f, double a, double b, double *result, double *abserr, double *defabs, double *resabs) |
Definition at line 429 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
anonymous enum |
Enumerator | |
---|---|
GSL_INTEG_GAUSS15 | |
GSL_INTEG_GAUSS21 | |
GSL_INTEG_GAUSS31 | |
GSL_INTEG_GAUSS41 | |
GSL_INTEG_GAUSS51 | |
GSL_INTEG_GAUSS61 |
Definition at line 464 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1767 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 412 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
int gsl_integration_qag | ( | const gsl_function * | f, |
double | a, | ||
double | b, | ||
double | epsabs, | ||
double | epsrel, | ||
size_t | limit, | ||
int | key, | ||
gsl_integration_workspace * | workspace, | ||
double * | result, | ||
double * | abserr | ||
) |
Definition at line 752 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
int gsl_integration_qagi | ( | gsl_function * | f, |
double | epsabs, | ||
double | epsrel, | ||
size_t | limit, | ||
gsl_integration_workspace * | workspace, | ||
double * | result, | ||
double * | abserr | ||
) |
Definition at line 1997 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
int gsl_integration_qagil | ( | gsl_function * | f, |
double | b, | ||
double | epsabs, | ||
double | epsrel, | ||
size_t | limit, | ||
gsl_integration_workspace * | workspace, | ||
double * | result, | ||
double * | abserr | ||
) |
Definition at line 2040 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
int gsl_integration_qagiu | ( | gsl_function * | f, |
double | a, | ||
double | epsabs, | ||
double | epsrel, | ||
size_t | limit, | ||
gsl_integration_workspace * | workspace, | ||
double * | result, | ||
double * | abserr | ||
) |
Definition at line 2089 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
int gsl_integration_qags | ( | const gsl_function * | f, |
double | a, | ||
double | b, | ||
double | epsabs, | ||
double | epsrel, | ||
size_t | limit, | ||
gsl_integration_workspace * | workspace, | ||
double * | result, | ||
double * | abserr | ||
) |
Definition at line 1974 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
void gsl_integration_qcheb | ( | gsl_function * | f, |
double | a, | ||
double | b, | ||
double * | cheb12, | ||
double * | cheb24 | ||
) |
void gsl_integration_qk | ( | const int | n, |
const double | xgk[], | ||
const double | wg[], | ||
const double | wgk[], | ||
double | fv1[], | ||
double | fv2[], | ||
const gsl_function * | f, | ||
double | a, | ||
double | b, | ||
double * | result, | ||
double * | abserr, | ||
double * | resabs, | ||
double * | resasc | ||
) |
Definition at line 1008 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
void gsl_integration_qk15 | ( | const gsl_function * | f, |
double | a, | ||
double | b, | ||
double * | result, | ||
double * | abserr, | ||
double * | resabs, | ||
double * | resasc | ||
) |
Definition at line 1125 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
void gsl_integration_qk21 | ( | const gsl_function * | f, |
double | a, | ||
double | b, | ||
double * | result, | ||
double * | abserr, | ||
double * | resabs, | ||
double * | resasc | ||
) |
Definition at line 1182 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
void gsl_integration_qk31 | ( | const gsl_function * | f, |
double | a, | ||
double | b, | ||
double * | result, | ||
double * | abserr, | ||
double * | resabs, | ||
double * | resasc | ||
) |
Definition at line 1251 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
void gsl_integration_qk41 | ( | const gsl_function * | f, |
double | a, | ||
double | b, | ||
double * | result, | ||
double * | abserr, | ||
double * | resabs, | ||
double * | resasc | ||
) |
Definition at line 1332 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
void gsl_integration_qk51 | ( | const gsl_function * | f, |
double | a, | ||
double | b, | ||
double * | result, | ||
double * | abserr, | ||
double * | resabs, | ||
double * | resasc | ||
) |
Definition at line 1428 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
void gsl_integration_qk61 | ( | const gsl_function * | f, |
double | a, | ||
double | b, | ||
double * | result, | ||
double * | abserr, | ||
double * | resabs, | ||
double * | resasc | ||
) |
Definition at line 1534 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
gsl_integration_workspace * gsl_integration_workspace_alloc | ( | const size_t | n | ) |
Definition at line 1544 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
void gsl_integration_workspace_free | ( | gsl_integration_workspace * | w | ) |
Definition at line 1647 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 404 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 2019 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 2067 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1681 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 497 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1752 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 2116 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1720 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 802 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 2129 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 1784 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 531 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 976 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 1665 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 690 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Glue function interacing to GSL code.
Definition at line 306 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 518 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 729 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 709 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 1961 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 635 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1104 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1156 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1218 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1292 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1378 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1479 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1112 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1165 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1230 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1306 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1395 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1498 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1089 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1138 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1195 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1264 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1345 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1441 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.