testUserFunc.cxx File Reference

#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)


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 68 of file testUserFunc.cxx.

References TApplication::Run(), and testUserFunc().

double myfunc ( double x,
double p 
)

Definition at line 20 of file testUserFunc.cxx.

References TMath::Gaus().

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().


Generated on Tue Jul 5 16:07:25 2011 for ROOT_528-00b_version by  doxygen 1.5.1