#include "TH1.h"#include "TF1.h"#include "TCanvas.h"#include "TRandom3.h"#include "TVirtualFitter.h"#include "TPaveLabel.h"#include "TStyle.h"#include <iostream>#include <string>Go to the source code of this file.
Functions | |
| void | testGausFit (std::string type="Minuit2", int n=1000) |
| void | minuit2GausFit () |
| void minuit2GausFit | ( | ) |
| void testGausFit | ( | std::string | type = "Minuit2", |
|
| int | n = 1000 | |||
| ) |
Definition at line 23 of file minuit2GausFit.C.
References c1, TCanvas::cd(), TPad::Divide(), TH1::Draw(), TH2::Fill(), TH1::Fill(), TH1::Fit(), TRandom::Gaus(), gRandom, gStyle, h1, h2, i, n, name, TVirtualFitter::SetDefaultFitter(), TStyle::SetOptFit(), TStyle::SetOptStat(), type, and x.
1.5.1