| The Gaudi Framework v28r2p1 (f1a77ff4)

- 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 <vector>
6 #include <string>
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 class HepSymMatrix ;
18 }
19
27 class GAUDI_API IFuncMinimum: virtual public IAlgTool {
28 public:
30 DeclareInterfaceID(IFuncMinimum,2,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 ,
47 Arg& pars ) const = 0 ;
48
56 virtual StatusCode minimum( const GenFunc& fun ,
57 Arg& pars ,
58 Covariance& covar ) const = 0 ;
59
60 };
61 #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:27
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:14
IFuncMinimum::GenFunc
Genfun::AbsFunction GenFunc
Function which we minimize (.
Definition: IFuncMinimum.h:33
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
IAlgTool.h
IFuncMinimum::Covariance
CLHEP::HepSymMatrix Covariance
Covariance matrix (matrix of error) (.
Definition: IFuncMinimum.h:37
CLHEP
Definition: IFuncMinimum.h:16
fun
double fun(const std::vector< double > &x)
Definition: PFuncTest.cpp:26
IAlgTool
The interface implemented by the AlgTool base class.
Definition: IAlgTool.h:23
Genfun
CLHEP.
Definition: IEqSolver.h:13
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107