ROOT
v6-32
Reference Guide
Loading...
Searching...
No Matches
MnFcn.cxx
Go to the documentation of this file.
1
// @(#)root/minuit2:$Id$
2
// Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005
3
4
/**********************************************************************
5
* *
6
* Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT *
7
* *
8
**********************************************************************/
9
10
#include "
Minuit2/MnFcn.h
"
11
#include "
Minuit2/FCNBase.h
"
12
#include "
Minuit2/MnVectorTransform.h
"
13
14
namespace
ROOT
{
15
16
namespace
Minuit2 {
17
18
MnFcn::~MnFcn
()
19
{
20
// std::cout<<"Total number of calls to FCN: "<<fNumCall<<std::endl;
21
}
22
23
double
MnFcn::operator()
(
const
MnAlgebraicVector
&
v
)
const
24
{
25
// evaluate FCN converting from from MnAlgebraicVector to std::vector
26
fNumCall
++;
27
return
fFCN
(
MnVectorTransform
()(
v
));
28
}
29
30
// double MnFcn::operator()(const std::vector<double>& par) const {
31
// return fFCN(par);
32
// }
33
34
double
MnFcn::ErrorDef
()
const
35
{
36
return
fFCN
.
Up
();
37
}
38
39
double
MnFcn::Up
()
const
40
{
41
return
fFCN
.
Up
();
42
}
43
44
}
// namespace Minuit2
45
46
}
// namespace ROOT
FCNBase.h
MnFcn.h
MnVectorTransform.h
ROOT::Minuit2::FCNBase::Up
virtual double Up() const =0
Error definition of the function.
ROOT::Minuit2::LAVector
Definition
LAVector.h:32
ROOT::Minuit2::MnFcn::fFCN
const FCNBase & fFCN
Definition
MnFcn.h:50
ROOT::Minuit2::MnFcn::Up
double Up() const
Definition
MnFcn.cxx:39
ROOT::Minuit2::MnFcn::fNumCall
int fNumCall
Definition
MnFcn.h:53
ROOT::Minuit2::MnFcn::~MnFcn
virtual ~MnFcn()
Definition
MnFcn.cxx:18
ROOT::Minuit2::MnFcn::operator()
virtual double operator()(const MnAlgebraicVector &) const
Definition
MnFcn.cxx:23
ROOT::Minuit2::MnFcn::ErrorDef
double ErrorDef() const
Definition
MnFcn.cxx:34
ROOT::Minuit2::MnVectorTransform
Definition
MnVectorTransform.h:21
ROOT
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition
EExecutionPolicy.hxx:4
v
@ v
Definition
rootcling_impl.cxx:3687
math
minuit2
src
MnFcn.cxx
ROOT v6-32 - Reference Guide Generated on Fri Nov 1 2024 15:08:45 (GVA Time) using Doxygen 1.9.8