ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
math
minuit2
src
FitterUtil.h
Go to the documentation of this file.
1
// @(#)root/minuit2:$Id$
2
// Author: L. Moneta 10/2005
3
4
/**********************************************************************
5
* *
6
* Copyright (c) 2005 ROOT Foundation, CERN/PH-SFT *
7
* *
8
**********************************************************************/
9
10
#ifndef ROOT_FitterUtil_H_
11
#define ROOT_FitterUtil_H_
12
13
14
/// utility functions to be used in the fitter classes
15
16
namespace
FitterUtil
{
17
18
/**
19
Evaluate integral of model function around the bin
20
To use when fitting with integral option
21
*/
22
double
EvalIntegral
(
TF1
*
func
,
const
std::vector<double> &
x1
,
const
std::vector<double> &
x2
,
const
std::vector<double> &
par
);
23
24
25
}
26
27
28
#endif
par
double par[1]
Definition:
unuranDistr.cxx:38
x2
static const double x2[5]
Definition:
RooGaussKronrodIntegrator1D.cxx:344
FitterUtil::EvalIntegral
double EvalIntegral(TF1 *func, const std::vector< double > &x1, const std::vector< double > &x2, const std::vector< double > &par)
Evaluate integral of model function around the bin To use when fitting with integral option...
x1
static const double x1[5]
Definition:
RooGaussKronrodIntegrator1D.cxx:326
func
double func(double *x, double *p)
Definition:
stressTF1.cxx:213
FitterUtil
utility functions to be used in the fitter classes
Definition:
FitterUtil.h:16
TF1
1-Dim function class
Definition:
TF1.h:149