Logo ROOT  
Reference Guide
ROOT::Minuit2::VariableMetricBuilder Class Reference

Build (find) function minimum using the Variable Metric method (MIGRAD) Two possible error updators can be choosen.

Definition at line 34 of file VariableMetricBuilder.h.

Public Types

enum  ErrorUpdatorType { kDavidon , kBFGS }
 

Public Member Functions

 VariableMetricBuilder (ErrorUpdatorType type=kDavidon)
 
 ~VariableMetricBuilder ()
 
void AddResult (std::vector< MinimumState > &result, const MinimumState &state) const
 
const MinimumErrorUpdatorErrorUpdator () const
 
const VariableMetricEDMEstimatorEstimator () const
 
virtual FunctionMinimum Minimum (const MnFcn &, const GradientCalculator &, const MinimumSeed &, const MnStrategy &, unsigned int, double) const
 
FunctionMinimum Minimum (const MnFcn &, const GradientCalculator &, const MinimumSeed &, std::vector< MinimumState > &, unsigned int, double) const
 
- Public Member Functions inherited from ROOT::Minuit2::MinimumBuilder
 MinimumBuilder ()
 
virtual ~MinimumBuilder ()
 
virtual FunctionMinimum Minimum (const MnFcn &, const GradientCalculator &, const MinimumSeed &, const MnStrategy &, unsigned int, double) const =0
 
int PrintLevel () const
 
virtual void SetPrintLevel (int level)
 
virtual void SetStorageLevel (int level)
 
virtual void SetTraceObject (MnTraceObject &obj)
 
int StorageLevel () const
 
bool TraceIter () const
 
void TraceIteration (int iter, const MinimumState &state) const
 
MnTraceObjectTraceObject () const
 

Private Attributes

std::shared_ptr< MinimumErrorUpdatorfErrorUpdator
 
VariableMetricEDMEstimator fEstimator
 

#include <Minuit2/VariableMetricBuilder.h>

Inheritance diagram for ROOT::Minuit2::VariableMetricBuilder:
[legend]

Member Enumeration Documentation

◆ ErrorUpdatorType

Enumerator
kDavidon 
kBFGS 

Definition at line 38 of file VariableMetricBuilder.h.

Constructor & Destructor Documentation

◆ VariableMetricBuilder()

ROOT::Minuit2::VariableMetricBuilder::VariableMetricBuilder ( ErrorUpdatorType  type = kDavidon)
inline

Definition at line 40 of file VariableMetricBuilder.h.

◆ ~VariableMetricBuilder()

ROOT::Minuit2::VariableMetricBuilder::~VariableMetricBuilder ( )
inline

Definition at line 47 of file VariableMetricBuilder.h.

Member Function Documentation

◆ AddResult()

void ROOT::Minuit2::VariableMetricBuilder::AddResult ( std::vector< MinimumState > &  result,
const MinimumState state 
) const

Definition at line 42 of file VariableMetricBuilder.cxx.

◆ ErrorUpdator()

const MinimumErrorUpdator & ROOT::Minuit2::VariableMetricBuilder::ErrorUpdator ( ) const
inline

Definition at line 54 of file VariableMetricBuilder.h.

◆ Estimator()

const VariableMetricEDMEstimator & ROOT::Minuit2::VariableMetricBuilder::Estimator ( ) const
inline

Definition at line 53 of file VariableMetricBuilder.h.

◆ Minimum() [1/2]

FunctionMinimum ROOT::Minuit2::VariableMetricBuilder::Minimum ( const MnFcn fcn,
const GradientCalculator gc,
const MinimumSeed seed,
const MnStrategy strategy,
unsigned int  maxfcn,
double  edmval 
) const
virtual

Implements ROOT::Minuit2::MinimumBuilder.

Definition at line 59 of file VariableMetricBuilder.cxx.

◆ Minimum() [2/2]

FunctionMinimum ROOT::Minuit2::VariableMetricBuilder::Minimum ( const MnFcn fcn,
const GradientCalculator gc,
const MinimumSeed seed,
std::vector< MinimumState > &  result,
unsigned int  maxfcn,
double  edmval 
) const

Definition at line 230 of file VariableMetricBuilder.cxx.

Member Data Documentation

◆ fErrorUpdator

std::shared_ptr<MinimumErrorUpdator> ROOT::Minuit2::VariableMetricBuilder::fErrorUpdator
private

Definition at line 61 of file VariableMetricBuilder.h.

◆ fEstimator

VariableMetricEDMEstimator ROOT::Minuit2::VariableMetricBuilder::fEstimator
private

Definition at line 60 of file VariableMetricBuilder.h.

Libraries for ROOT::Minuit2::VariableMetricBuilder:
[legend]

The documentation for this class was generated from the following files: