The Gaudi Framework  v29r0 (ff2e7097)
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 }
16 namespace CLHEP
17 {
18  class HepSymMatrix;
19 }
20 
31 
33  typedef Genfun::AbsFunction GenFunc;
35  typedef Genfun::Argument Arg;
37  typedef CLHEP::HepSymMatrix Covariance;
38 
40 
46  virtual StatusCode minimum( const GenFunc& fun, Arg& pars ) const = 0;
47 
55  virtual StatusCode minimum( const GenFunc& fun, Arg& pars, Covariance& covar ) const = 0;
56 };
57 #endif // GAUDIGSL_IFUNCMINIMUM_H
Genfun::Argument Arg
Argument of function "GenFunc" (.
Definition: IFuncMinimum.h:35
Interface file to find minimum of the function and compute covariance matrix (matrix of error) ...
Definition: IFuncMinimum.h:28
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
#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:33
CLHEP::HepSymMatrix Covariance
Covariance matrix (matrix of error) (.
Definition: IFuncMinimum.h:37
double fun(const std::vector< double > &x)
Definition: PFuncTest.cpp:26
CLHEP.
Definition: IEqSolver.h:13
#define GAUDI_API
Definition: Kernel.h:110