#include "TApplication.h"#include "TH1.h"#include "TF1.h"#include "TRandom3.h"#include "TVirtualFitter.h"#include "TMath.h"#include <iostream>Go to the source code of this file.
Functions | |
| double | myfunc (double *x, double *p) |
| void | testUserFunc (std::string type="Minuit2", int n=1000) |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
| void testUserFunc | ( | std::string | type = "Minuit2", |
|
| int | n = 1000 | |||
| ) |
Definition at line 25 of file testUserFunc.cxx.
References TRandom::Gaus(), gRandom, h1, i, myfunc(), n, p, TVirtualFitter::SetDefaultFitter(), and type.
Referenced by main().
1.5.1