#include "TCanvas.h"
#include "TRandom3.h"
#include "TGraph.h"
#include "TMath.h"
#include "TArc.h"
#include "TVirtualFitter.h"
Go to the source code of this file.
Functions | |
void | myfcn (Int_t &, Double_t *, Double_t &f, Double_t *par, Int_t) |
void | fitCircle (Int_t n=10000) |
Variables | |
TGraph * | gr |
void fitCircle | ( | Int_t | n = 10000 |
) |
Definition at line 35 of file fitCircle.C.
References c1, TGraph::Draw(), TEllipse::Draw(), TPad::DrawFrame(), TVirtualFitter::ExecuteCommand(), TVirtualFitter::Fitter(), TVirtualFitter::GetParameter(), gr, i, kRed, myfcn(), n, TVirtualFitter::SetDefaultFitter(), TVirtualFitter::SetFCN(), TPad::SetGrid(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerStyle(), TVirtualFitter::SetParameter(), TGraph::SetPoint(), x, and y.
Definition at line 20 of file fitCircle.C.
References dr, TGraph::GetN(), TGraph::GetX(), TGraph::GetY(), gr, i, TMath::Sqrt(), u, x, and y.
Referenced by fitCircle().
Definition at line 17 of file fitCircle.C.
Referenced by TMultiGraph::Add(), Add2GraphList(), ApplicationWindow::ApplicationWindow(), bent(), TPad::BuildLegend(), TEfficiency::Combine(), TGraph::CompareArg(), TGraph::CompareRadius(), TGraph::CompareX(), TGraph::CompareY(), ConfidenceIntervals(), TMinuit::Contour(), TBackCompFitter::Contour(), THbookFile::Convert1D(), convert_1d(), destroy_glyph_range(), DNDMainFrame::DNDMainFrame(), TProofProgressMemoryPlot::DoAveragePlot(), MyMainFrame::DoDraw(), ROOT::Fit::DoFillData(), TFitEditor::DoFit(), DoFit(), TProofProgressMemoryPlot::DoMasterPlot(), TProofProgressMemoryPlot::DoPlot(), TProofProgressMemoryPlot::DoWorkerPlot(), RooStats::LikelihoodIntervalPlot::Draw(), TGGroupFrame::DrawBorder(), TGButtonGroup::DrawBorder(), TF1::DrawDerivative(), TF1::DrawIntegral(), ROOT::Fit::FillData(), fitCircle(), ROOT::Fit::FitObject(), FITS_tutorial2(), gerrors(), TBackCompFitter::GetConfidenceIntervals(), ROOT::Fit::GetConfidenceIntervals(), TFitter::GetConfidenceIntervals(), TLinearFitter::GetConfidenceIntervals(), ROOT::Fit::GetDataType(), HFit::GetDrawingRange(), TChi2ExtendedFitData::GetExtendedFitData(), TChi2FitData::GetFitData(), TMultiGraph::GetGraphDrawOption(), TUnixSystem::GetGroupInfo(), TWinNTSystem::GetGroupInfo(), XrdProofdAux::GetGroupInfo(), TUnixSystem::GetUserInfo(), TQtClientFilter::GrabPointer(), graph(), Graph2DFitChisquare(), TLinearFitter::Graph2DLinearFitter(), GraphFitChisquare(), GraphFitChisquareFumili(), graphShade(), XrdAccGroups::Groups(), interpolate(), line3Dfit(), TAlien::ListPackages(), LoadXS(), TMemStat::MakeGraphCode(), TMemStat::MakeGraphStack(), XrdXrootdProtocol::mapMode(), MultiGraphFitChisquare(), TLinearFitter::MultiGraphLinearFitter(), myfcn(), ROOT::Minuit2::MnHesse::operator()(), ROOT::Minuit2::InitialGradientCalculator::operator()(), TGraphAsymmErrors::operator=(), TGraphErrors::operator=(), TGraph::operator=(), TParallelCoord::PaintEntries(), piRandom(), TCreatePrimitives::PolyLine(), quantiles(), TMinuitMinimizer::Scan(), TBackCompFitter::Scan(), TTreePerfStats::SetGraphIO(), TTreePerfStats::SetGraphTime(), solveLinear(), stressLinear(), SumDistance2(), TSelectorDraw::TakeAction(), TProofDrawListOfGraphs::Terminate(), testGausFit(), testGraphFit(), testHisto1DFit(), testPolyFit(), TGraph::TGraph(), tgraph1(), TGraphAsymmErrors::TGraphAsymmErrors(), TGraphBentErrors::TGraphBentErrors(), TGraphErrors::TGraphErrors(), unuranGraf(), unuranGraf2D(), XSReactionDlg::UpdateGraph(), XrdFfsMisc_xrd_secsss_register(), and zdemo().