#include "GaussRandomGen.h"
#include "Minuit2/FunctionMinimum.h"
#include "Minuit2/MnUserParameterState.h"
#include "Minuit2/MnPrint.h"
#include "Minuit2/MnMigrad.h"
#include "Minuit2/MnMinos.h"
#include "Minuit2/MnPlot.h"
#include "Minuit2/MinosError.h"
#include "Minuit2/FCNBase.h"
#include <cmath>
#include <iostream>
Go to the source code of this file.
Classes | |
struct | LogLikeFCN |
Typedefs | |
typedef std::vector< std::vector< double > > | Data |
Functions | |
double | GaussPdf (double x, double x0, double sigma) |
double | LogMultiGaussPdf (const std::vector< double > &x, const std::vector< double > &p) |
int | doFit (int ndim, int ndata) |
int | main (int argc, char **argv) |
Variables | |
const int | default_ndim = 20 |
const int | default_ndata = 1000 |
Definition at line 55 of file ParallelTest.cxx.
int doFit | ( | int | ndim, | |
int | ndata | |||
) |
Definition at line 73 of file ParallelTest.cxx.
References data, fcn(), i, k, min, ROOT::Minuit2::ModularFunctionMinimizer::Minimize(), and sigma.
Referenced by main(), and testGraph().
Definition at line 37 of file ParallelTest.cxx.
References exp(), ROOT::Math::fabs(), M_PI, and sqrt().
Referenced by LogMultiGaussPdf().
Definition at line 42 of file ParallelTest.cxx.
References E, GaussPdf(), k, log(), max, and y.
Referenced by LogLikeFCN::operator()().
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 147 of file ParallelTest.cxx.
References default_ndata, default_ndim, doFit(), and ndata.
const int default_ndata = 1000 |
const int default_ndim = 20 |