![]() |
ROOT
6.06/08
Reference Guide
|
#include <iostream>#include "TMath.h"#include "TF1.h"#include "TCanvas.h"#include "TGraph.h"#include "TH2.h"#include "TStopwatch.h"#include <cmath>
Include dependency graph for stressTF1.cxx:Go to the source code of this file.
Functions | |
| void | DrawFunction (TF1 *f1) |
| int | PrintStatus (const char *begin, double result, double expected, double time) |
| int | TestRoot (TF1 *f1) |
| int | TestMaxMin (TF1 *f1) |
| int | TestDerivative (TF1 *f1) |
| int | TestIntegral (TF1 *f1) |
| double | func (double *x, double *p) |
| int | stressTF1 () |
| int | main () |
Variables | |
| const double | XMIN = 0 |
| const double | XMAX = 2*TMath::Pi() |
| const Int_t | NB = 100 |
| const Int_t | REP = 100000 |
| const double | TNORM = REP / 1000000. |
| double | sumTime = 0 |
| int | ncall = 0 |
Definition at line 23 of file stressTF1.cxx.
| double func | ( | double * | x, |
| double * | p | ||
| ) |
Definition at line 213 of file stressTF1.cxx.
Referenced by RooStats::HistFactory::HistFactoryNavigation::_GetNodes(), PyROOT::Utility::AddBinaryOperator(), RooCurve::addPoints(), RooStats::HistFactory::Measurement::AddPreprocessFunction(), RooCurve::addRange(), PyROOT::Utility::AddToClass(), RooDstD0BG::analyticalIntegral(), RooRealSumPdf::analyticalIntegralWN(), TDirectory::Append(), apply_v(), TEfficiency::BetaShortestInterval(), RooAddition::binBoundaries(), RooProduct::binBoundaries(), RooRealSumPdf::binBoundaries(), RooFormulaVar::binBoundaries(), RooFit::bindFunction(), RooFit::bindPdf(), UnuranDistr< Function >::Cdf(), ContDist::Cdf(), DiscrDist::Cdf(), TF1::CentralMoment(), RooRealSumPdf::checkObservables(), ROOT::Math::Minimizer::Clear(), TDirectoryFile::CloneObject(), TDirectory::CloneObject(), RooAbsCachedReal::FuncCacheElem::containedArgs(), RooFactoryWSTool::SpecialsIFace::create(), TInterpreter::CreateTemporary(), ROOT::Math::BasicMinimizer::CreateTransformation(), TLinearFitter::CStep(), RooCintUtils::ctorArgs(), DoFit(), DoFitVec(), DoNewMinimization(), ROOT::Math::DistSampler::DoSetFunction(), UnuranDistr< Function >::Dpdf(), ContDist::Dpdf(), UnuranDistrMulti< Function >::Dpdf(), MultiDist::Dpdf(), TGeoPainter::DrawBatemanSol(), drr_generic_method(), drr_init(), drr_method_missing(), drr_singleton_missing(), TTable::EntryLoop(), RooRealSumPdf::evaluate(), RooCFunction1Binding< VO, VI >::evaluate(), RooCFunction2Binding< VO, VI1, VI2 >::evaluate(), RooCFunction4Binding< VO, VI1, VI2, VI3, VI4 >::evaluate(), RooCFunction3Binding< VO, VI1, VI2, VI3 >::evaluate(), ROOT::Fit::FitUtil::EvaluateChi2(), ROOT::Fit::FitUtil::EvaluateChi2Effective(), ROOT::Fit::FitUtil::EvaluateChi2Gradient(), ROOT::Fit::FitUtil::EvaluateChi2Residual(), ROOT::Fit::FitUtil::EvaluateLogL(), ROOT::Fit::FitUtil::EvaluateLogLGradient(), ROOT::Fit::FitUtil::EvaluatePdf(), ROOT::Fit::FitUtil::EvaluatePoissonBinPdf(), ROOT::Fit::FitUtil::EvaluatePoissonLogL(), ROOT::Fit::FitUtil::EvaluatePoissonLogLGradient(), exactIntegral(), TMethodCall::Execute(), TCling::Execute(), TQConnection::ExecuteMethod(), TCling::ExecuteWithArgsAndReturn(), ROOT::Fit::FitResult::FillResult(), FindLibraryName(), TFractionFitter::FindPrediction(), FitUsingNewFitter(), ROOT::Math::DistSampler::Generate(), RooRealSumPdf::getAnalyticalIntegralWN(), PiecewiseInterpolation::getAnalyticalIntegralWN(), GetCallFunc(), TBackCompFitter::GetConfidenceIntervals(), ROOT::Fit::GetConfidenceIntervals(), TFitEditor::GetFunctionsFromSystem(), TWinNTSystem::GetGUIThreadId(), TCling::GetInterfaceMethod(), TCling::GetMangledName(), Cppyy::GetMethodsFromName(), RooStats::HistFactory::HistFactoryNavigation::GetModel(), TCling::GetNormalizedContext(), RooProdPdf::getPartIntList(), TF1::GradientPar(), TFitEditor::HasFitFunction(), PyROOT::im_call(), RooWorkspace::import(), RooAddition::isBinnedDistribution(), RooProduct::isBinnedDistribution(), RooRealSumPdf::isBinnedDistribution(), TProcPool::Map(), TProcPool::MapReduce(), TFileMerger::MergeRecursive(), TCling::MethodCallReturnType(), TF1::Moment(), ROOT::Math::GaussLegendreIntegrator::NEval(), TViewPubFunctionsIter::Next(), ROOT::Fit::FitConfig::NPar(), ROOT::Minuit2::MnLineSearch::operator()(), ROOT::Math::BasicMinimizer::operator=(), ROOT::Math::GSLMinimizer::operator=(), ROOT::Math::GSLNLSMinimizer::operator=(), ROOT::Math::GSLSimAnnealing::operator=(), RooStats::HistFactory::ConfigParser::ParseFunctionConfig(), UnuranDistr< Function >::Pdf(), ContDist::Pdf(), UnuranDistrMulti< Function >::Pdf(), MultiDist::Pdf(), UnuranDistrMulti< Function >::Pdpdf(), MultiDist::Pdpdf(), RooAddition::plotSamplingHint(), RooProduct::plotSamplingHint(), RooRealSumPdf::plotSamplingHint(), RooFormulaVar::plotSamplingHint(), DiscrDist::Pmf(), RooCFunction1Binding< VO, VI >::printArgs(), RooCFunction4Binding< VO, VI1, VI2, VI3, VI4 >::printArgs(), RooCFunction2Binding< VO, VI1, VI2 >::printArgs(), RooCFunction3Binding< VO, VI1, VI2, VI3 >::printArgs(), printCheb(), RooAbsCachedReal::FuncCacheElem::printCompactTreeHook(), printData(), RooRealSumPdf::printMetaArgs(), RooStats::HistFactory::Measurement::PrintXML(), RooFactoryWSTool::processCreateVar(), RooFactoryWSTool::processSingleExpression(), TRootSniffer::ProduceExe(), RooProdPdf::rearrangeProduct(), TMethodCall::ReturnType(), RooAbsNumGenerator::RooAbsNumGenerator(), RooAcceptReject::RooAcceptReject(), RooFoamGenerator::RooFoamGenerator(), RooFunctorBinding::RooFunctorBinding(), RooRealSumPdf::RooRealSumPdf(), RooTFnBinding::RooTFnBinding(), RooTFnPdfBinding::RooTFnPdfBinding(), runTest(), SelectEntry(), ROOT::Math::GaussIntegrator::SetAbsTolerance(), RooFactoryWSTool::setAutoClassNamePostFix(), ROOT::TGenericClassInfo::SetDirectoryAutoAdd(), TFoamSampler::SetFunction(), TUnuranSampler::SetFunction(), TFumiliMinimizer::SetFunction(), ROOT::Math::DistSampler::SetFunction(), TMinuitMinimizer::SetFunction(), ROOT::Minuit2::Minuit2Minimizer::SetFunction(), ROOT::TLogEntry::SetFunction(), ROOT::Fit::Fitter::SetFunction(), ROOT::Fit::Fitter::SetFunctionAndData(), ROOT::Math::GSLMultiRootFinder::SetFunctionList(), TClass::SetGlobalIsA(), TAuthenticate::SetGlobusAuthHook(), TWinNTSystem::SetGUIThreadMsgHandler(), TAuthenticate::SetKrb5AuthHook(), ROOT::TGenericClassInfo::SetMerge(), ROOT::Fit::BasicFCN< FunType, BinData >::SetModelFunction(), ROOT::Fit::FitResult::SetModelFunction(), ROOT::TGenericClassInfo::SetResetAfterMerge(), TAuthenticate::SetSecContext(), TAuthenticate::SetSecureAuthHook(), ROOT::Math::GSLMultiRootDerivSolver::SetSolver(), RooFactoryWSTool::splitFunctionArgs(), sslize(), TUnixSystem::StackTrace(), stlLoader(), stressTF1(), PyROOT::TCustomInstanceMethod_CheckExact(), PyROOT::TCustomInstanceMethod_New(), testChebyQuad(), testGraphFit(), testGSLRootFinder(), testHisto1DFit(), testHisto1DPolFit(), testHisto2DFit(), testIntegration(), testMinimization1D(), testUnBin1DFit(), TFunctionParametersDialog::TFunctionParametersDialog(), TrueMinimum(), TrueXMinimum(), TSpline3::TSpline3(), TSpline5::TSpline5(), TTreePlayer::UnbinnedFit(), TListOfFunctionTemplates::Unload(), TListOfFunctions::Unload(), RooFactoryWSTool::varTag(), ROOT::WriteReadRawRuleFunc(), ROOT::WriteReadRuleFunc(), TProcPool::~TProcPool(), and TStorage::~TStorage().
| int main | ( | ) |
Definition at line 244 of file stressTF1.cxx.
| int PrintStatus | ( | const char * | begin, |
| double | result, | ||
| double | expected, | ||
| double | time | ||
| ) |
Definition at line 54 of file stressTF1.cxx.
Referenced by TestDerivative(), TestIntegral(), TestMaxMin(), and TestRoot().
| int stressTF1 | ( | ) |
Definition at line 219 of file stressTF1.cxx.
Referenced by main().
| int TestDerivative | ( | TF1 * | f1 | ) |
Definition at line 155 of file stressTF1.cxx.
Referenced by stressTF1().
| int TestIntegral | ( | TF1 * | f1 | ) |
Definition at line 184 of file stressTF1.cxx.
Referenced by stressTF1().
| int TestMaxMin | ( | TF1 * | f1 | ) |
Definition at line 118 of file stressTF1.cxx.
Referenced by stressTF1().
| int TestRoot | ( | TF1 * | f1 | ) |
Definition at line 76 of file stressTF1.cxx.
Referenced by stressTF1().
| const Int_t NB = 100 |
Definition at line 14 of file stressTF1.cxx.
Referenced by DrawFunction().
| int ncall = 0 |
Definition at line 20 of file stressTF1.cxx.
Referenced by ROOT::Math::IntegratorMultiDim::CreateIntegrator(), func(), ROOT::Math::IntegratorMultiDim::IntegratorMultiDim(), ROOT::Math::IntegratorMultiDimOptions::IntegratorType(), TMinuit::mnscan(), ROOT::Math::IntegratorMultiDim::Name(), ROOT::Math::IntegratorMultiDimOptions::SetDefaultNCalls(), and TestMaxMin().
| const Int_t REP = 100000 |
Definition at line 15 of file stressTF1.cxx.
Referenced by TestDerivative(), TestIntegral(), TestMaxMin(), and TestRoot().
| double sumTime = 0 |
Definition at line 18 of file stressTF1.cxx.
Referenced by stressTF1(), TestDerivative(), TestIntegral(), TestMaxMin(), and TestRoot().
| const double TNORM = REP / 1000000. |
Definition at line 16 of file stressTF1.cxx.
Referenced by TestDerivative(), TestIntegral(), TestMaxMin(), and TestRoot().
| const double XMAX = 2*TMath::Pi() |
Definition at line 13 of file stressTF1.cxx.
Referenced by DrawFunction(), stressTF1(), TestDerivative(), TestIntegral(), TestMaxMin(), and TestRoot().
| const double XMIN = 0 |
Definition at line 13 of file stressTF1.cxx.
Referenced by DrawFunction(), stressTF1(), TestDerivative(), TestIntegral(), TestMaxMin(), and TestRoot().