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