ROOT  6.06/09
Reference Guide
VariableMetricBuilder.h
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 #ifndef ROOT_Minuit2_VariableMetricBuilder
11 #define ROOT_Minuit2_VariableMetricBuilder
12 
13 #include "Minuit2/MnConfig.h"
14 #include "Minuit2/MinimumBuilder.h"
17 
18 #include <vector>
19 
20 namespace ROOT {
21 
22  namespace Minuit2 {
23 
24 /**
25  Build (find) function minimum using the Variable Metric method (MIGRAD)
26 
27  */
29 
30 public:
31 
32 
35 
37 
38  virtual FunctionMinimum Minimum(const MnFcn&, const GradientCalculator&, const MinimumSeed&, const MnStrategy&, unsigned int, double) const;
39 
40  FunctionMinimum Minimum(const MnFcn&, const GradientCalculator&, const MinimumSeed&, std::vector<MinimumState> &, unsigned int, double) const;
41 
44 
45  void AddResult(std::vector<MinimumState>& result, const MinimumState & state) const;
46 
47 private:
48 
51 };
52 
53  } // namespace Minuit2
54 
55 } // namespace ROOT
56 
57 #endif // ROOT_Minuit2_VariableMetricBuilder
Namespace for new ROOT classes and functions.
Definition: ROOT.py:1
MinimumSeed contains the starting values for the minimization produced by the SeedGenerator.
Definition: MinimumSeed.h:31
Build (find) function minimum using the Variable Metric method (MIGRAD)
class holding the full result of the minimization; both internal and external (MnUserParameterState) ...
Wrapper class to FCNBase interface used internally by Minuit.
Definition: MnFcn.h:33
Update of the covariance matrix for the Variable Metric minimizer (MIGRAD)
void AddResult(std::vector< MinimumState > &result, const MinimumState &state) const
virtual FunctionMinimum Minimum(const MnFcn &, const GradientCalculator &, const MinimumSeed &, const MnStrategy &, unsigned int, double) const
const VariableMetricEDMEstimator & Estimator() const
double result[121]
MinimumState keeps the information (position, Gradient, 2nd deriv, etc) after one minimization step (...
Definition: MinimumState.h:29
API class for defining three levels of strategies: low (0), medium (1), high (>=2); acts on: Migrad (...
Definition: MnStrategy.h:27
const DavidonErrorUpdator & ErrorUpdator() const
interface class for gradient calculators