ROOT
6.06/09
Reference Guide
|
#include "RooFit.h"
#include <assert.h>
#include <math.h>
#include <float.h>
#include <stdlib.h>
#include "Riostream.h"
#include "TMath.h"
#include "RooGaussKronrodIntegrator1D.h"
#include "RooArgSet.h"
#include "RooRealVar.h"
#include "RooNumber.h"
#include "RooNumIntFactory.h"
#include "RooIntegratorBinding.h"
#include "RooMsgService.h"
Go to the source code of this file.
Macros | |
#define | GSL_FN_EVAL(F, x) (*((F)->function))(x,(F)->params) |
#define | GSL_SUCCESS 0 |
#define | GSL_EBADTOL 13 /* user specified an invalid tolerance */ |
#define | GSL_ETOL 14 /* failed to reach the specified tolerance */ |
#define | GSL_ERROR(a, b) oocoutE((TObject*)0,Eval) << "RooGaussKronrodIntegrator1D::integral() ERROR: " << a << endl ; return b ; |
#define | GSL_DBL_MIN 2.2250738585072014e-308 |
#define | GSL_DBL_EPSILON 2.2204460492503131e-16 |
Typedefs | |
typedef struct gsl_function_struct | gsl_function |
Functions | |
ClassImp (RooGaussKronrodIntegrator1D) | |
int | gsl_integration_qng (const gsl_function *f, double a, double b, double epsabs, double epsrel, double *result, double *abserr, size_t *neval) |
double | RooGaussKronrodIntegrator1D_GSL_GlueFunction (double x, void *data) |
static double | rescale_error (double err, const double result_abs, const double result_asc) |
Variables | |
static const double | x1 [5] |
static const double | w10 [5] |
static const double | x2 [5] |
static const double | w21a [5] |
static const double | w21b [6] |
static const double | x3 [11] |
static const double | w43a [10] |
static const double | w43b [12] |
static const double | x4 [22] |
static const double | w87a [21] |
static const double | w87b [23] |
#define GSL_DBL_EPSILON 2.2204460492503131e-16 |
Definition at line 271 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by gsl_integration_qng(), and rescale_error().
#define GSL_DBL_MIN 2.2250738585072014e-308 |
Definition at line 270 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by rescale_error().
#define GSL_EBADTOL 13 /* user specified an invalid tolerance */ |
Definition at line 267 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by gsl_integration_qng().
#define GSL_ERROR | ( | a, | |
b | |||
) | oocoutE((TObject*)0,Eval) << "RooGaussKronrodIntegrator1D::integral() ERROR: " << a << endl ; return b ; |
Definition at line 269 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by gsl_integration_qng().
#define GSL_ETOL 14 /* failed to reach the specified tolerance */ |
Definition at line 268 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by gsl_integration_qng().
Definition at line 73 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by gsl_integration_qng().
#define GSL_SUCCESS 0 |
Definition at line 266 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by gsl_integration_qng().
typedef struct gsl_function_struct gsl_function |
Definition at line 72 of file RooGaussKronrodIntegrator1D.cxx.
ClassImp | ( | RooGaussKronrodIntegrator1D | ) |
int gsl_integration_qng | ( | const gsl_function * | f, |
double | a, | ||
double | b, | ||
double | epsabs, | ||
double | epsrel, | ||
double * | result, | ||
double * | abserr, | ||
size_t * | neval | ||
) |
Definition at line 496 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by RooGaussKronrodIntegrator1D::integral(), and ROOT::Math::GSLIntegrator::Integral().
Definition at line 288 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by gsl_integration_qng().
Definition at line 205 of file RooGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 335 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by gsl_integration_qng().
|
static |
Definition at line 353 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by gsl_integration_qng().
|
static |
Definition at line 362 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by gsl_integration_qng().
|
static |
Definition at line 387 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by gsl_integration_qng().
|
static |
Definition at line 401 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by gsl_integration_qng().
|
static |
Definition at line 443 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by gsl_integration_qng().
|
static |
Definition at line 468 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by gsl_integration_qng().
|
static |
Definition at line 326 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by accents(), TH2Poly::AddBin(), TViewer3DPad::AddObject(), RooCurve::addPoints(), TLatex::Analyse(), ROOT::Math::GoFTest::AndersonDarlingTest(), RooCurve::average(), bars(), blendpd(), blendps(), box(), RooIntegralMorph::MorphCacheElem::calculate(), RooIntegralMorph::MorphCacheElem::calcX(), TClass::CanSplit(), TPostScript::CellArrayBegin(), city_distance(), TPad::Clip(), TPad::ClipPolygon(), TKDE::ComputeDataStats(), TGeoArb8::ComputeNormal(), TGDMLWrite::CreateFakeCtub(), TPoints3DABC::DistancetoLine(), TAttLine::DistancetoLine(), TPointsArray3D::DistancetoPrimitive(), TPolyMarker3D::DistancetoPrimitive(), TPolyLine3D::DistancetoPrimitive(), TLine::DistancetoPrimitive(), TPrimary::DistancetoPrimitive(), THistPainter::DistancetoPrimitive(), TGeoTrack::DistancetoPrimitive(), TMarker3DBox::DistancetoPrimitive(), TParallelCoord::DistancetoPrimitive(), TParticle::DistancetoPrimitive(), TGTextLayout::DistanceToText(), TGeoEltu::DistFromInside(), TGeoArb8::DistToPlane(), TStructViewerGUI::Divide(), TPad::Divide(), TProofProgressDialog::DoPlotRateGraph(), TGDoubleHSlider::DoRedraw(), RooStats::HypoTestInverterPlot::Draw(), RooStats::LikelihoodIntervalPlot::Draw(), TMVA::draw_layer_labels(), TGQuartz::DrawBox(), TSVG::DrawBox(), TImageDump::DrawBox(), TPDF::DrawBox(), TPostScript::DrawBox(), TGLPadPainter::DrawBox(), TASImage::DrawCellArray(), TGX11::DrawCellArray(), TGWin32::DrawCellArray(), TPad::DrawClassObject(), TPad::DrawColorTable(), TASImage::DrawDashHLine(), TASImage::DrawDashZLine(), TASImage::DrawDashZTLine(), TPad::DrawDist(), TASImage::DrawHLine(), TASImage::DrawLineInternal(), TGLPadPainter::DrawPolyLineNDC(), drr_find_method_prototype(), drr_map_args2(), TCreatePrimitives::Ellipse(), TSpectrum2Painter::Envelope(), TSpectrum2Painter::EnvelopeBars(), RooBukinPdf::evaluate(), ROOT::Fit::FitUtil::EvaluateChi2(), ROOT::Fit::FitUtil::EvaluateChi2Gradient(), ROOT::Fit::FitUtil::EvaluateChi2Residual(), ROOT::Fit::FitUtil::EvaluatePoissonBinPdf(), ROOT::Fit::FitUtil::EvaluatePoissonLogL(), ROOT::Fit::FitUtil::EvaluatePoissonLogLGradient(), TAxis3D::ExecuteEvent(), THistPainter::ExecuteEvent(), TPad::ExecuteEvent(), TWinNTSystem::ExpandPathName(), TNtupleD::Fill(), TNtuple::Fill(), TPainter3dAlgorithms::FillPolygonBorder(), findBin(), TView3D::FindPhiSectors(), RooIntegralMorph::MorphCacheElem::findRange(), TPainter3dAlgorithms::FindVisibleDraw(), TPainter3dAlgorithms::FindVisibleLine(), HFit::Fit(), fractions(), frombuf(), GAMinTutorial(), ROOT::Math::DistSampler::Generate(), TMathText::GetBoundingBox(), TText::GetBoundingBox(), TLatex::GetBoundingBox(), TGraph2DPainter::GetContourList(), TView3D::GetDistancetoAxis(), HFit::GetDrawingRange(), TUnfoldBinning::GetGlobalBinNumber(), THistPainter::GetObjectInfo(), TMathText::GetXsize(), TMathText::GetYsize(), TPainter3dAlgorithms::GouraudFunction(), greekletters(), gsl_integration_qng(), TGDNDManager::HandleClientMessage(), RooHist::hasIdenticalBinning(), ROOT::Math::Cephes::igami(), TPainter3dAlgorithms::ImplicitFunction(), ROOT::Math::Cephes::incbi(), TGeoArb8::InsidePolygon(), TInspectCanvas::InspectObject(), TF1::IntegralError(), TH2::Interpolate(), TH1::Interpolate(), TGraphDelaunay::InterpolateOnPlane(), TGTextLayout::IntersectText(), IsEqual(), TGeoPolygon::IsIllegalCheck(), TFileHandler::IsReadReady(), TGeoShape::IsSegCrossing(), itbold(), kerning(), TEveStraightLineSet::Line_t::Line_t(), Roo2DKeysPdf::loadDataSet(), RooKeysPdf::LoadDataSet(), mathsymbols(), TGHtml::MinMax(), TMinuit::mncros(), TMinuit::mnprin(), TPainter3dAlgorithms::ModifyScreen(), ROOT::Math::Cephes::ndtri(), TMVA::VariableGaussTransform::OldCumulant(), ROOT::Minuit2::Quad12F::operator()(), ROOT::Minuit2::MnParabolaFactory::operator()(), ROOT::Minuit2::MnFunctionCross::operator()(), operator==(), TPavesText::Paint(), TDiamond::Paint(), TPaveStats::Paint(), TSpectrum2Painter::Paint(), TGaxis::Paint(), TASImage::Paint(), THistPainter::Paint2DErrors(), THistPainter::PaintArrows(), TAxis3D::PaintAxis(), TGaxis::PaintAxis(), TPad::PaintBox(), THistPainter::PaintContourLine(), TWbox::PaintFrame(), TGLAxis::PaintGLAxis(), TGraphPainter::PaintGraph(), TGraphPainter::PaintGraphPolar(), TPad::PaintHatches(), TParallelCoordVar::PaintHistogram(), THistPainter::PaintLegoAxis(), TGraph2DPainter::PaintLevels(), TPad::PaintLine(), TPave::PaintPave(), TPaveLabel::PaintPaveLabel(), TPad::PaintPolyLine(), TGraphPainter::PaintPolyLineHatches(), TLegend::PaintPrimitives(), TPaveText::PaintPrimitives(), TMVA::paracoor(), TMVA::plot_efficiencies(), RooFitResult::plotOn(), TPolyLineShape::PointDistancetoPrimitive(), printCheb(), TGX11::PutImage(), TGWin32::PutImage(), TPad::Range(), TGLAnnotation::Render(), TGLScene::RenderHighlight(), TEveCaloLegoOverlay::RenderLogaritmicScales(), TGX11TTF::RenderString(), TGWin32::RenderString(), TGQuartz::RenderTTFString(), TRandom3::Rndm(), ROOT::Math::MersenneTwisterEngine::Rndm_impl(), TRandom3::RndmArray(), RooHist::RooHist(), TFoam::RootPlot2dim(), TMVA::PDEFoam::RootPlot2dim(), roots(), ROOT::Math::VavilovAccurate::Rzero(), TGeoEltu::Safety(), TGeoTrap::Safety(), ROOT::Math::VavilovAccurate::Set(), TEveCaloLegoGL::SetAxis3DTitlePos(), TGLAxisPainterBox::SetAxis3DTitlePos(), TCurlyLine::SetBBoxCenter(), TCurlyArc::SetBBoxX1(), TEllipse::SetBBoxX1(), TEveCaloLegoGL::Cell2D_t::SetGeom(), TEveStraightLineSet::SetLine(), RooStats::LikelihoodIntervalPlot::SetRange(), TView3D::SetRange(), TLine::SetX1(), TBox::SetX1(), TEllipse::SetX1(), TPave::SetX1(), TPave::SetX1NDC(), TShape::ShapeDistancetoPrimitive(), TGeoPainter::ShapeDistancetoPrimitive(), TClassTree::ShowCod(), TPad::ShowGuidelines(), TClassTree::ShowHas(), TClassTree::ShowMul(), TClassTree::ShowRef(), slash(), splitline(), style(), subsupscript(), subsupscript2(), TBox::TBox(), TCurlyArc::TCurlyArc(), TCurlyLine::TCurlyLine(), TEllipse::TEllipse(), testChebyQuad(), testIntegPerf(), testMultinomial(), TPDF::Text(), TLine::TLine(), TMonitor::TMonitor(), tobuf(), ROOT::Math::Transform3D::Transform3D(), TGDMLParse::Trap(), TGDMLParse::Trd(), TGDMLParse::TwistTrap(), TRandom::Uniform(), unuranDistr(), unuranSimple(), WoodFunction(), and TGraph::Zero().
|
static |
Definition at line 344 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by accents(), TH2Poly::AddBin(), RooCurve::addPoints(), RooCurve::addRange(), TLatex::Analyse(), RooCurve::average(), bars(), blendpd(), blendps(), ROOT::Math::VectorUtil::boost(), ROOT::Math::VectorUtil::boostX(), TMVA::VariableTransformBase::CalcNorm(), TMVA::TransformationHandler::CalcStats(), RooIntegralMorph::MorphCacheElem::calculate(), RooIntegralMorph::MorphCacheElem::calcX(), city_distance(), TPad::Clip(), TPad::ClipPolygon(), TKDE::ComputeDataStats(), TGeoArb8::ComputeNormal(), TGDMLWrite::CreateFakeCtub(), TPoints3DABC::DistancetoLine(), TAttLine::DistancetoLine(), TPolyLine3D::DistancetoPrimitive(), TLine::DistancetoPrimitive(), TPrimary::DistancetoPrimitive(), TGeoTrack::DistancetoPrimitive(), TMarker3DBox::DistancetoPrimitive(), TParallelCoord::DistancetoPrimitive(), TParticle::DistancetoPrimitive(), TGTextLayout::DistanceToText(), TGeoEltu::DistFromInside(), TGeoArb8::DistToPlane(), TPad::Divide(), TGDoubleHSlider::DoRedraw(), RooStats::HypoTestInverterPlot::Draw(), RooStats::LikelihoodIntervalPlot::Draw(), TMVA::draw_layer_labels(), TGQuartz::DrawBox(), TSVG::DrawBox(), TImageDump::DrawBox(), TPDF::DrawBox(), TPostScript::DrawBox(), TGLPadPainter::DrawBox(), TPad::DrawClassObject(), TPad::DrawColorTable(), TASImage::DrawDashHLine(), TASImage::DrawDashZLine(), TASImage::DrawDashZTLine(), TPad::DrawDist(), TASImage::DrawHLine(), TASImage::DrawLineInternal(), TSpectrum2Painter::Envelope(), TSpectrum2Painter::EnvelopeBars(), RooChebychev::evalAnaInt(), RooChebychev::evaluate(), RooBukinPdf::evaluate(), ROOT::Fit::FitUtil::EvaluateChi2(), ROOT::Fit::FitUtil::EvaluateChi2Gradient(), ROOT::Fit::FitUtil::EvaluateChi2Residual(), ROOT::Fit::FitUtil::EvaluatePoissonBinPdf(), ROOT::Fit::FitUtil::EvaluatePoissonLogL(), ROOT::Fit::FitUtil::EvaluatePoissonLogLGradient(), TText::ExecuteEvent(), THistPainter::ExecuteEvent(), TPad::ExecuteEvent(), ROOT::Vc::Common::exp(), vdt::fast_atan(), vdt::fast_atanf(), vdt::fast_expf(), vdt::fast_isqrt_general(), vdt::fast_isqrtf_general(), vdt::fast_log(), vdt::fast_logf(), TNtupleD::Fill(), TNtuple::Fill(), TPainter3dAlgorithms::FillPolygonBorder(), TView3D::FindPhiSectors(), RooIntegralMorph::MorphCacheElem::findRange(), TPainter3dAlgorithms::FindVisibleDraw(), TPainter3dAlgorithms::FindVisibleLine(), HFit::Fit(), fractions(), GAMinTutorial(), ROOT::Math::DistSampler::Generate(), RooMultiVarGaussian::generateEvent(), vdt::details::get_atan_px(), vdt::details::get_atan_qx(), TText::GetBoundingBox(), TLatex::GetBoundingBox(), TGraph2DPainter::GetContourList(), TView3D::GetDistancetoAxis(), HFit::GetDrawingRange(), TUnfoldBinning::GetGlobalBinNumber(), TPainter3dAlgorithms::GouraudFunction(), greekletters(), gsl_integration_qng(), RooHist::hasIdenticalBinning(), TPainter3dAlgorithms::ImplicitFunction(), ROOT::Minuit2::GaussFcn2::Init(), TGeoArb8::InsidePolygon(), TInspectCanvas::InspectObject(), TF1::IntegralError(), TH2::Interpolate(), TGraphDelaunay::InterpolateOnPlane(), TGTextLayout::IntersectText(), ROOT::Math::MinimTransformFunction::InvStepTransformation(), IsEqual(), TGeoPolygon::IsIllegalCheck(), TGeoShape::IsSegCrossing(), TFileHandler::IsWriteReady(), itbold(), kerning(), TEveStraightLineSet::Line_t::Line_t(), RooKeysPdf::LoadDataSet(), ROOT::Vc::Common::LogImpl< Base >::log_series(), main(), TF1Convolution::MakeFFTConv(), TEveCaloLegoGL::MakeQuad(), mathsymbols(), TGHtml::MinMax(), TMinuit::mncros(), TMinuit::mnpfit(), TMinuit::mnprin(), TPainter3dAlgorithms::ModifyScreen(), ROOT::Minuit2::MnParabolaFactory::operator()(), ROOT::Minuit2::MnFunctionCross::operator()(), operator==(), TPavesText::Paint(), TDiamond::Paint(), TPaveStats::Paint(), TSpectrum2Painter::Paint(), TGaxis::Paint(), TASImage::Paint(), THistPainter::Paint2DErrors(), THistPainter::PaintArrows(), TAxis3D::PaintAxis(), TPad::PaintBox(), TWbox::PaintFrame(), TGLAxis::PaintGLAxis(), TGraphPainter::PaintGraphPolar(), TPad::PaintHatches(), TParallelCoordVar::PaintHistogram(), THistPainter::PaintLegoAxis(), TGraph2DPainter::PaintLevels(), TPad::PaintLine(), THistPainter::PaintPalette(), TPave::PaintPave(), TPaveLabel::PaintPaveLabel(), TPad::PaintPolyLine(), TGraphPainter::PaintPolyLineHatches(), TLegend::PaintPrimitives(), TPaveText::PaintPrimitives(), TMVA::paracoor(), TMVA::plot_efficiencies(), RooFitResult::plotOn(), TGX11::PutImage(), TGWin32::PutImage(), TPad::Range(), TGLAnnotation::Render(), RooCurve::RooCurve(), RooHist::RooHist(), TFoam::RootPlot2dim(), TMVA::PDEFoam::RootPlot2dim(), roots(), ROOT::Math::VectorUtil::Rotate(), ROOT::Math::VectorUtil::RotateY(), ROOT::Math::VectorUtil::RotateZ(), ROOT::Math::VavilovAccurate::Rzero(), TGeoTrap::Safety(), TCurlyLine::SetBBoxCenter(), TCurlyArc::SetBBoxX2(), TEllipse::SetBBoxX2(), ROOT::Math::VavilovFast::SetKappaBeta2(), TEveStraightLineSet::SetLine(), RooStats::LikelihoodIntervalPlot::SetRange(), TLine::SetX2(), TBox::SetX2(), TPave::SetX2(), TPave::SetX2NDC(), TPad::ShowGuidelines(), slash(), splitline(), style(), subsupscript(), subsupscript2(), TBox::TBox(), TCurlyLine::TCurlyLine(), test8(), test_smatrix_kalman(), test_smatrix_sym_kalman(), test_tmatrix_kalman(), testIntegPerf(), testMultinomial(), testProduct(), TPDF::Text(), TLine::TLine(), TMonitor::TMonitor(), ROOT::Math::Transform3D::Transform3D(), TGDMLParse::Trap(), TGDMLParse::Trd(), TGDMLParse::TwistTrap(), unuranDistr(), unuranSimple(), and TGraph::Zero().
|
static |
Definition at line 372 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by TGColorPick::AllocColors(), TLatex::Analyse(), blendpd(), blendps(), TGeoEltu::DistFromInside(), TGeoEltu::DistFromOutside(), TNtupleD::Fill(), TNtuple::Fill(), TUnfoldBinning::GetGlobalBinNumber(), gsl_integration_qng(), TGraphDelaunay::InterpolateOnPlane(), TGeoPolygon::IsIllegalCheck(), TGeoShape::IsSegCrossing(), ROOT::Vc::Common::LogImpl< Base >::log_series(), TGHtml::MinMax(), TMinuit::mnpfit(), TMinuit::mnprin(), ROOT::Minuit2::MnParabolaFactory::operator()(), TSpectrum2Painter::Paint(), TGraphPainter::PaintPolyLineHatches(), ROOT::Math::VavilovAccurate::Rzero(), ROOT::Math::VavilovFast::SetKappaBeta2(), TGDMLParse::Trap(), and TGDMLParse::TwistTrap().
|
static |
Definition at line 417 of file RooGaussKronrodIntegrator1D.cxx.
Referenced by TLatex::Analyse(), blendps(), TPad::Clip(), TNtupleD::Fill(), TNtuple::Fill(), gsl_integration_qng(), TGeoPolygon::IsIllegalCheck(), TGeoShape::IsSegCrossing(), ROOT::Vc::Common::LogImpl< Base >::log_series(), TMinuit::mnpfit(), TSpectrum2Painter::Paint(), TGDMLParse::Trap(), and TGDMLParse::TwistTrap().