Logo ROOT   6.14/05
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 
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
static const double x2[5]
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...
static const double x1[5]
utility functions to be used in the fitter classes
Definition: FitterUtil.h:16
1-Dim function class
Definition: TF1.h:211