ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
stressTF1.cxx File Reference
#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
 

Function Documentation

void DrawFunction ( TF1 f1)

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(), ClassImp(), TDirectoryFile::CloneObject(), TDirectory::CloneObject(), RooAbsCachedReal::FuncCacheElem::containedArgs(), RooFactoryWSTool::SpecialsIFace::create(), 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(), DrawPopulation(), drr_generic_method(), drr_init(), drr_method_missing(), drr_singleton_missing(), TTable::EntryLoop(), RooRealSumPdf::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(), TCling::Execute(), TQConnection::ExecuteMethod(), TCling::ExecuteWithArgsAndReturn(), ROOT::Fit::FitResult::FillResult(), FindLibraryName(), TFractionFitter::FindPrediction(), fit2dHist(), FitUsingNewFitter(), RooRealSumPdf::getAnalyticalIntegralWN(), PiecewiseInterpolation::getAnalyticalIntegralWN(), GetCallFunc(), TBackCompFitter::GetConfidenceIntervals(), ROOT::Fit::GetConfidenceIntervals(), TFitEditor::GetFunctionsFromSystem(), TCling::GetInterfaceMethod(), TCling::GetMangledName(), Cppyy::GetMethodsFromName(), 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(), myfit(), TViewPubFunctionsIter::Next(), 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(), printCheb(), RooAbsCachedReal::FuncCacheElem::printCompactTreeHook(), RooRealSumPdf::printMetaArgs(), RooStats::HistFactory::Measurement::PrintXML(), RooFactoryWSTool::processCreateVar(), RooFactoryWSTool::processSingleExpression(), TRootSniffer::ProduceExe(), RooProdPdf::rearrangeProduct(), TMethodCall::ReturnType(), RooFunctorBinding::RooFunctorBinding(), RooRealSumPdf::RooRealSumPdf(), runTest(), ROOT::TGenericClassInfo::SetDirectoryAutoAdd(), TFoamSampler::SetFunction(), TUnuranSampler::SetFunction(), TFumiliMinimizer::SetFunction(), ROOT::Math::DistSampler::SetFunction(), TMinuitMinimizer::SetFunction(), ROOT::Minuit2::Minuit2Minimizer::SetFunction(), ROOT::Fit::Fitter::SetFunction(), ROOT::Fit::Fitter::SetFunctionAndData(), 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::SetSecureAuthHook(), ROOT::Math::GSLMultiRootDerivSolver::SetSolver(), RooFactoryWSTool::splitFunctionArgs(), sslize(), TUnixSystem::StackTrace(), stlLoader(), stressTF1(), PyROOT::TCustomInstanceMethod_New(), testChebyQuad(), testGraphFit(), testGSLRootFinder(), testHisto1DFit(), testHisto1DPolFit(), testHisto2DFit(), testIntegration(), testMinimization1D(), testUnBin1DFit(), TrueMinimum(), TrueXMinimum(), TwoHistoFit2D(), TListOfFunctionTemplates::Unload(), TListOfFunctions::Unload(), RooFactoryWSTool::varTag(), ROOT::WriteReadRawRuleFunc(), and ROOT::WriteReadRuleFunc().

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().

Variable Documentation

const Int_t NB = 100

Definition at line 14 of file stressTF1.cxx.

Referenced by DrawFunction().

int ncall = 0
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()
const double XMIN = 0