Skip to content
Snippets Groups Projects
Commit 707bdcf1 authored by Van Herck, Walter's avatar Van Herck, Walter
Browse files

Impose line width limit (2)

parent 8b51f6f6
No related branches found
No related tags found
No related merge requests found
...@@ -22,28 +22,35 @@ ...@@ -22,28 +22,35 @@
//! @class ROOTMinimizerHelper //! @class ROOTMinimizerHelper
//! @brief Handles options and printing for ROOTMinimizer //! @brief Handles options and printing for ROOTMinimizer
//- ------------------------------------------------------------------- //- -------------------------------------------------------------------
// TODO: replace ROOTMinimizersHelper completely with kind of PoolParameter/IConfigurable functionality // TODO: replace ROOTMinimizersHelper completely with kind of
// PoolParameter/IConfigurable functionality
class ROOTMinimizerHelper class ROOTMinimizerHelper
{ {
public: public:
ROOTMinimizerHelper() { } ROOTMinimizerHelper() { }
//! translate text with options into appropriate calls of minimizer's set method //! translate text with options into appropriate calls of minimizer's
static void setOptions(ROOT::Math::Minimizer *minimizer, const std::string& options); //! set method
static void setOptions(ROOT::Math::Minimizer *minimizer,
const std::string& options);
//! Prints results of minimization //! Prints results of minimization
static void printResults(ROOT::Math::Minimizer *minimizer, const std::string& minimizer_name, const std::string& algo_type); static void printResults(ROOT::Math::Minimizer *minimizer,
const std::string& minimizer_name, const std::string& algo_type);
private: private:
//! process single command //! process single command
static bool processCommand(ROOT::Math::Minimizer *minimizer, const std::string& command); static bool processCommand(ROOT::Math::Minimizer *minimizer,
const std::string& command);
//! process single command common for all minimizers //! process single command common for all minimizers
static bool processCommandAll(ROOT::Math::Minimizer *minimizer, const std::string& command); static bool processCommandAll(ROOT::Math::Minimizer *minimizer,
const std::string& command);
//! process single command specific for GSL simulated annealing minimizer //! process single command specific for GSL simulated annealing minimizer
static bool processCommandGSLSimAn(ROOT::Patch::GSLSimAnMinimizer *, const std::string& command); static bool processCommandGSLSimAn(ROOT::Patch::GSLSimAnMinimizer *minimizer,
const std::string& command);
//! Prints minimizer options //! Prints minimizer options
static void printOptions(ROOT::Math::Minimizer *minimizer); static void printOptions(ROOT::Math::Minimizer *minimizer);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment