Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
IFuncMinimum.h
Go to the documentation of this file.
1 #ifndef GAUDIGSL_IFUNCMINIMUM_H
2 #define GAUDIGSL_IFUNCMINIMUM_H 1
3 // Include files
4 // from STL
5 #include <string>
6 #include <vector>
7 // from Gaudi
8 #include "GaudiKernel/IAlgTool.h"
9 
10 // forward declarations
11 namespace Genfun
12 {
13  class AbsFunction;
14  class Argument;
15 } // namespace Genfun
16 namespace CLHEP {
17  class HepSymMatrix;
18 }
19 
30 
32  typedef Genfun::AbsFunction GenFunc;
34  typedef Genfun::Argument Arg;
36  typedef CLHEP::HepSymMatrix Covariance;
37 
39 
45  virtual StatusCode minimum( const GenFunc& fun, Arg& pars ) const = 0;
46 
54  virtual StatusCode minimum( const GenFunc& fun, Arg& pars, Covariance& covar ) const = 0;
55 };
56 #endif // GAUDIGSL_IFUNCMINIMUM_H
Genfun::Argument Arg
Argument of function "GenFunc" (.
Definition: IFuncMinimum.h:34
Interface file to find minimum of the function and compute covariance matrix (matrix of error) ...
Definition: IFuncMinimum.h:27
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:13
Base class to be used to extend an interface.
Genfun::AbsFunction GenFunc
Function which we minimize (.
Definition: IFuncMinimum.h:32
CLHEP::HepSymMatrix Covariance
Covariance matrix (matrix of error) (.
Definition: IFuncMinimum.h:36
double fun(const std::vector< double > &x)
Definition: PFuncTest.cpp:26
CLHEP.
Definition: IEqSolver.h:13
#define GAUDI_API
Definition: Kernel.h:71