| The Gaudi Framework v29r1 (5cd95fa2)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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
28 struct GAUDI_API IFuncMinimum : extend_interfaces<IAlgTool> {
30 DeclareInterfaceID( IFuncMinimum, 3, 0 );
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
IFuncMinimum::Arg
Genfun::Argument Arg
Argument of function "GenFunc" (.
Definition: IFuncMinimum.h:35
IFuncMinimum
Interface file to find minimum of the function and compute covariance matrix (matrix of error) ...
Definition: IFuncMinimum.h:28
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
DeclareInterfaceID
#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
extend_interfaces
Base class to be used to extend an interface.
Definition: extend_interfaces.h:11
IFuncMinimum::GenFunc
Genfun::AbsFunction GenFunc
Function which we minimize (.
Definition: IFuncMinimum.h:33
IFuncMinimum::Covariance
CLHEP::HepSymMatrix Covariance
Covariance matrix (matrix of error) (.
Definition: IFuncMinimum.h:37
IAlgTool.h
CLHEP
Definition: IFuncMinimum.h:16
fun
double fun(const std::vector< double > &x)
Definition: PFuncTest.cpp:26
Genfun
CLHEP.
Definition: IEqSolver.h:13
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110