Logo ROOT  
Reference Guide
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 #include <vector>
14 
15 class TF1;
16 
17 /// utility functions to be used in the fitter classes
18 
19 namespace FitterUtil {
20 
21 /**
22  Evaluate integral of model function around the bin
23  To use when fitting with integral option
24 */
25 double
26 EvalIntegral(TF1 *func, const std::vector<double> &x1, const std::vector<double> &x2, const std::vector<double> &par);
27 
28 } // namespace FitterUtil
29 
30 #endif
x1
static const double x1[5]
Definition: RooGaussKronrodIntegrator1D.cxx:346
FitterUtil
utility functions to be used in the fitter classes
Definition: FitterUtil.h:19
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.
x2
static const double x2[5]
Definition: RooGaussKronrodIntegrator1D.cxx:364
TF1
1-Dim function class
Definition: TF1.h:213