ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
fit2dHist.C File Reference
#include "TH2D.h"
#include "TF2.h"
#include "TCanvas.h"
#include "TStyle.h"
#include "TRandom3.h"
#include "TVirtualFitter.h"
#include "TList.h"
#include <iostream>
Include dependency graph for fit2dHist.C:

Go to the source code of this file.

Functions

double gauss2D (double *x, double *par)
 
double my2Dfunc (double *x, double *par)
 
void myFcn (Int_t &, Double_t *, Double_t &fval, Double_t *p, Int_t)
 
void FillHisto (TH2D *h, int n, double *p)
 
int fit2dHist (int option=1)
 

Variables

TRandom3 rndm
 
TH2Dh1
 
TH2Dh2
 
Int_t npfits
 

Function Documentation

void FillHisto ( TH2D h,
int  n,
double p 
)

Definition at line 89 of file fit2dHist.C.

Referenced by fit2dHist().

int fit2dHist ( int  option = 1)

Definition at line 125 of file fit2dHist.C.

double gauss2D ( double x,
double par 
)

Definition at line 33 of file fit2dHist.C.

Referenced by my2Dfunc().

double my2Dfunc ( double x,
double par 
)

Definition at line 38 of file fit2dHist.C.

Referenced by fit2dHist(), and myFcn().

void myFcn ( Int_t ,
Double_t ,
Double_t fval,
Double_t p,
Int_t   
)

Definition at line 48 of file fit2dHist.C.

Referenced by fit2dHist().

Variable Documentation

TH2D* h1

Definition at line 45 of file fit2dHist.C.

TH2D * h2

Definition at line 45 of file fit2dHist.C.

Referenced by TStyleManager::AddAxisXDivisions(), TStyleManager::AddAxisXLabels(), TStyleManager::AddAxisXLine(), TStyleManager::AddAxisXTitle(), TStyleManager::AddAxisYDivisions(), TStyleManager::AddAxisYLabels(), TStyleManager::AddAxisYLine(), TStyleManager::AddAxisYTitle(), TStyleManager::AddAxisZDivisions(), TStyleManager::AddAxisZLabels(), TStyleManager::AddAxisZLine(), TStyleManager::AddAxisZTitle(), TStyleManager::AddCanvasDate(), TStyleManager::AddCanvasGeometry(), TStyleManager::AddGeneralFill(), TStyleManager::AddGeneralText(), TGTextView::AddLine(), TStyleManager::AddPadGrid(), TStyleManager::AddPadMargin(), TStyleManager::AddPadTicks(), TStyleManager::AddStatsFit(), TStyleManager::AddStatsGeometry(), TStyleManager::AddStatsStats(), TStyleManager::AddStatsText(), TGTextView::AddText(), TStyleManager::AddTitleBorderSize(), TStyleManager::AddTitleGeometry(), TStyleManager::AddTitleText(), TStyleManager::AddTopLevelInterface(), TMVA::bdtcontrolplots(), TSelectorDraw::Begin(), TGeoChecker::CheckGeometryFull(), ClassImp(), THbookFile::Convert2D(), TMVA::correlations(), TMVA::correlationsMultiClass(), TMVA::DataSetInfo::CreateCorrelationMatrixHist(), TGDMLWrite::CreateFakeCtub(), TFitEditor::CreateGeneralTab(), TStyleManager::CreateTabAxis(), TStyleManager::CreateTabAxisX(), TStyleManager::CreateTabAxisY(), TStyleManager::CreateTabAxisZ(), TStyleManager::CreateTabGeneral(), TStyleManager::CreateTabHistosFrames(), TStyleManager::CreateTabHistosHistos(), TStyleManager::CreateTabPad(), TStyleManager::CreateTabStats(), TStyleManager::CreateTabTitle(), TUnuranMultiContDist::Derivative(), ROOT::Math::RichardsonDerivator::Derivative1(), TGeoTrapEditor::DoApply(), TGeoGtraEditor::DoApply(), TH3::DoProject2D(), TList::DoSort(), TTable::Draw(), TH2::FillRandom(), fit2(), fit2a(), fit2d(), fit2DHist(), fit3DHist(), fitSparse2D(), ROOT::Vc::SSE::VectorHelper< double >::fma(), ROOT::Vc::AVX::VectorHelper< double >::fma(), TGeoTrap::GetMakeRuntimeShape(), TGeoGtra::GetMakeRuntimeShape(), TMVA::MethodBase::GetRegressionDeviation(), glh3c(), TF1::GradientPar(), graph2dfit(), lego(), TGaxis::PaintAxis(), THistPainter::PaintBoxes(), THistPainter::PaintCandlePlot(), THistPainter::PaintStat2(), THistPainter::PaintViolinPlot(), performance(), PhaseSpace(), piRandom(), TMVA::TransformationHandler::PlotVariables(), portfolio(), TGraph2D::Project(), TEveTrackPropagator::StepRungeKutta(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), testBinomial(), testDiscDistr(), testDistr1D(), testDistrMultiDim(), testEmpDistr(), testGausFit(), testHisto1DPolFit(), testHisto2DFit(), testPoisson(), testQuasiRandom(), testStringAPI(), TGeoTrap::TGeoTrap(), TGTRA::TGTRA(), threads(), transparentpad(), TStyleDialog::TStyleDialog(), TTRAP::TTRAP(), tv3Read2(), TwoHistoFit2D(), unuranDistr(), unuranGraf(), unuranHist(), unuranMulti2D(), unuranMultiDim(), TSessionQueryFrame::UpdateHistos(), TMath::Voigt(), TPluginManager::WritePluginMacros(), and TPluginManager::WritePluginRecords().

Int_t npfits
TRandom3 rndm