'NUMERIC ALGORITHM TUNING' RooFit tutorial macro #901
Configuration and customization of how numeric (partial) integrals are executed
Processing /mnt/build/workspace/root-makedoc-v608/rootspi/rdoc/src/v6-08-00-patches/tutorials/roofit/rf901_numintconfig.C...
#include <iomanip>
void rf901_numintconfig()
{
cout << " [1] int_dx landau(x) = " << setprecision(15) << val << endl ;
customConfig.method1D().setLabel("RooAdaptiveGaussKronrodIntegrator1D") ;
cout << " [2] int_dx landau(x) = " << val2 << endl ;
landau.setIntegratorConfig(customConfig) ;
cout << " [3] int_dx landau(x) = " << val3 << endl ;
customConfig.getConfigSection("RooAdaptiveGaussKronrodIntegrator1D").setRealValue("maxSeg",50) ;
customConfig.getConfigSection("RooAdaptiveGaussKronrodIntegrator1D").setCatLabel("method","15Points") ;
customConfig.getConfigSection("RooAdaptiveGaussKronrodIntegrator1D").find("method")->Print("v") ;
}
- Author
- 07/2008 - Wouter Verkerke
Definition in file rf901_numintconfig.C.