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