diff --git a/tutorials/math/Bessel.C b/tutorials/math/Bessel.C index 725b024457dec625c00642f58bcd2742655deec0..57d7b1bb55bddf3756fc94f59216d026519e8177 100644 --- a/tutorials/math/Bessel.C +++ b/tutorials/math/Bessel.C @@ -33,6 +33,8 @@ void Bessel() { + R__LOAD_LIBRARY(libMathMore); + TCanvas *DistCanvas = new TCanvas("DistCanvas", "Bessel functions example", 10, 10, 800, 600); DistCanvas->SetFillColor(17); DistCanvas->Divide(2, 2); diff --git a/tutorials/math/FeldmanCousins.C b/tutorials/math/FeldmanCousins.C index 161ed79f376508d2598720506db3c02235d4aa3f..c5ae6f5e272c5179eb662e994cfd9122f4a085dc 100644 --- a/tutorials/math/FeldmanCousins.C +++ b/tutorials/math/FeldmanCousins.C @@ -14,6 +14,9 @@ void FeldmanCousins() { + if (!gROOT->GetClass("TFeldmanCousins")) + R__LOAD_LIBRARY(libPhysics); + TFeldmanCousins f; // calculate either the upper or lower limit for 10 observed diff --git a/tutorials/math/Legendre.C b/tutorials/math/Legendre.C index ab8e9d6a62c92df78fe61f1b71d82070b4c21f06..eb4c2e3abea63a8f5691fed3e0f606497f5b809a 100644 --- a/tutorials/math/Legendre.C +++ b/tutorials/math/Legendre.C @@ -26,6 +26,8 @@ void Legendre() { + R__LOAD_LIBRARY(libMathMore); + TCanvas *Canvas = new TCanvas("DistCanvas", "Legendre polynomials example", 10, 10, 750, 600); Canvas->SetGrid(); TLegend *leg = new TLegend(0.5, 0.7, 0.4, 0.89); diff --git a/tutorials/math/Legendre.py b/tutorials/math/Legendre.py index 3c04661e029c5828ddabcfb24d6aaf50864bd6ef..20506d5f369c1315c030c5a262922a37c7854505 100644 --- a/tutorials/math/Legendre.py +++ b/tutorials/math/Legendre.py @@ -11,6 +11,7 @@ import ROOT +ROOT.gSystem.Load("libMathMore") Canvas = ROOT.TCanvas("DistCanvas", "Legendre polynomials example", 10, 10, 750, 600) Canvas.SetGrid() leg = ROOT.TLegend(0.5, 0.7, 0.4, 0.89) diff --git a/tutorials/math/LegendreAssoc.C b/tutorials/math/LegendreAssoc.C index 919b2e38138abea07fde0466ed698e1f2bbfa878..4ea75d926f1df6bac3e494eec7078a89896c978b 100644 --- a/tutorials/math/LegendreAssoc.C +++ b/tutorials/math/LegendreAssoc.C @@ -34,6 +34,8 @@ void LegendreAssoc() { + R__LOAD_LIBRARY(libMathMore); + std::cout <<"Drawing associate Legendre Polynomials.." << std::endl; TCanvas *Canvas = new TCanvas("DistCanvas", "Associate Legendre polynomials", 10, 10, 800, 500); Canvas->Divide(2,1);