ComPWA
Common Partial-Wave-Analysis Framework
|
Wrapper of the Minuit2 Optimizer library. More...
#include <MinuitIF.hpp>
Public Member Functions | |
MinuitIF () | |
MinuitResult | optimize (ComPWA::Estimator::Estimator< double > &Estimator, ComPWA::FitParameterList InitialParameters) |
Finds the optimal value of the Estimator, by varying its parameters. More... | |
void | setStrategy (std::string strategy) |
Minuit strategy (low, medium(default), high) See https://root.cern.ch/root/htmldoc/guides/minuit2/Minuit2.html#m-strategy Sets Minuit configuration variables to pre-defined values. More... | |
Public Member Functions inherited from ComPWA::Optimizer::Optimizer< MinuitResult > | |
virtual | ~Optimizer ()=default |
Public Attributes | |
bool | UseHesse = 1 |
bool | UseMinos = 0 |
unsigned int | GradientNCycles |
double | GradientStepTolerance |
double | GradientTolerance |
unsigned int | HessianNCycles |
unsigned int | HessianGradientNCycles |
double | HessianStepTolerance |
double | HessianG2Tolerance |
Private Member Functions | |
std::string | checkStrategy () |
Check if a pre-defined strategy is set or if custom settings are used. More... | |
Wrapper of the Minuit2 Optimizer library.
This class provides a wrapper around the Minuit2 library. It fulfills the Optimizer interface to be easily adapted to other modules. The data needs to be provided with the ControlParameter interface.
Definition at line 23 of file MinuitIF.hpp.
|
inline |
Definition at line 25 of file MinuitIF.hpp.
|
private |
Check if a pre-defined strategy is set or if custom settings are used.
Definition at line 103 of file MinuitIF.cpp.
|
virtual |
Finds the optimal value of the Estimator, by varying its parameters.
Implements ComPWA::Optimizer::Optimizer< MinuitResult >.
Definition at line 139 of file MinuitIF.cpp.
void ComPWA::Optimizer::Minuit2::MinuitIF::setStrategy | ( | std::string | strategy | ) |
Minuit strategy (low, medium(default), high) See https://root.cern.ch/root/htmldoc/guides/minuit2/Minuit2.html#m-strategy Sets Minuit configuration variables to pre-defined values.
Definition at line 82 of file MinuitIF.cpp.
unsigned int ComPWA::Optimizer::Minuit2::MinuitIF::GradientNCycles |
Definition at line 39 of file MinuitIF.hpp.
double ComPWA::Optimizer::Minuit2::MinuitIF::GradientStepTolerance |
Definition at line 40 of file MinuitIF.hpp.
double ComPWA::Optimizer::Minuit2::MinuitIF::GradientTolerance |
Definition at line 41 of file MinuitIF.hpp.
double ComPWA::Optimizer::Minuit2::MinuitIF::HessianG2Tolerance |
Definition at line 45 of file MinuitIF.hpp.
unsigned int ComPWA::Optimizer::Minuit2::MinuitIF::HessianGradientNCycles |
Definition at line 43 of file MinuitIF.hpp.
unsigned int ComPWA::Optimizer::Minuit2::MinuitIF::HessianNCycles |
Definition at line 42 of file MinuitIF.hpp.
double ComPWA::Optimizer::Minuit2::MinuitIF::HessianStepTolerance |
Definition at line 44 of file MinuitIF.hpp.
bool ComPWA::Optimizer::Minuit2::MinuitIF::UseHesse = 1 |
Definition at line 29 of file MinuitIF.hpp.
bool ComPWA::Optimizer::Minuit2::MinuitIF::UseMinos = 0 |
Definition at line 30 of file MinuitIF.hpp.