3 #ifndef MYGSL_PARAM_ENTRY_H 4 #define MYGSL_PARAM_ENTRY_H 1 49 const std::string &
get_name ()
const;
53 void set_name (
const std::string & name_);
178 void print (std::ostream & out_ = std::clog,
179 const std::string & title_ =
"Parameter",
180 const std::string & indent_ =
"")
const;
182 void print_status (std::ostream & out_ = std::clog)
const;
186 param_entry (
const std::string & name_ =
"parameter");
197 std::string _comment_;
276 #endif // MYGSL_PARAM_ENTRY_H static const std::string FREE_LABEL
Definition: param_entry.h:25
Definition: param_entry.h:39
Definition: param_entry.h:42
Definition: param_entry.h:33
limit_t
Definition: param_entry.h:28
type_t
Definition: param_entry.h:36
static param_entry make_free_range(const std::string &name_, double min_, double max_, double value_, double step_=AUTO_STEP)
Definition: param_entry.h:40
std::string _name_
Definition: param_entry.h:205
bool has_best_value() const
double get_overflow() const
param_is_auto()
Definition: param_entry.h:263
Definition: param_entry.h:30
A data structure representing a numeric value and its associated error.
Definition: best_value.h:17
bool is_auto_computed() const
param_is_free()
Definition: param_entry.h:235
Definition: param_entry.h:41
void set_min(double min_)
double get_dist_to_max() const
void set_value_no_check(double value_)
Definition: param_entry.h:31
bool operator()(const param_entry &pe_)
Definition: param_entry.h:268
Definition: param_entry.h:38
void set_auto_computed(bool=true)
double get_dist_to_limit() const
double get_underflow() const
static param_entry make_const(const std::string &name_, double value_)
void set_comment(const std::string &comment_)
bool is_in_range_but_close_to_max() const
Definition: param_entry.h:247
static const std::string CONST_LABEL
Definition: param_entry.h:26
Definition: param_entry.h:15
param_ptr_has_name(const std::string &name_)
Definition: param_entry.h:222
static const double DEFAULT_STEP
Definition: param_entry.h:22
void set_step(double step_)
static param_entry make_free(const std::string &name_, double value_, double step_=AUTO_STEP)
bool operator()(const param_entry &pe_)
Definition: param_entry.h:240
void set_best_value(const best_value &best_value_)
double get_value_safe() const
bool operator()(const param_entry &pe_)
Definition: param_entry.h:254
void set_name(const std::string &name_)
static param_entry make_free_max(const std::string &name_, double max_, double value_, double step_=AUTO_STEP)
bool is_in_range_but_close_to_min() const
bool is_in_safe_range() const
Definition: param_entry.h:261
std::string _name_
Definition: param_entry.h:220
static const std::string AUTO_LABEL
Definition: param_entry.h:24
static param_entry make_auto_min(const std::string &name_, double min_, double step_=AUTO_STEP)
static const double NO_VALUE
Definition: param_entry.h:21
bool has_no_limit() const
static param_entry make_auto_max(const std::string &name_, double max_, double step_=AUTO_STEP)
static const double AUTO_STEP
Definition: param_entry.h:23
void print_status(std::ostream &out_=std::clog) const
void set_min_max(double min_, double max_)
Definition: param_entry.h:32
void set_max(double max_)
Top-level namespace of the Bayeux/mygsl module library.
Definition: base_decay_driver.h:47
void set_value(double value_)
const std::string & get_name() const
static param_entry make_auto(const std::string &name_, double step_=AUTO_STEP)
bool operator()(const param_entry &pe_)
Definition: param_entry.h:211
static param_entry make_auto_range(const std::string &name_, double min_, double max_, double step_=AUTO_STEP)
param_is_const()
Definition: param_entry.h:249
param_has_name(const std::string &name_)
Definition: param_entry.h:207
Definition: param_entry.h:218
bool operator()(const param_entry *pe_)
Definition: param_entry.h:226
Definition: param_entry.h:203
double get_dist_to_min() const
Definition: param_entry.h:233
static const double NO_MAX_VALUE
Definition: param_entry.h:20
const std::string & get_comment() const
void print(std::ostream &out_=std::clog, const std::string &title_="Parameter", const std::string &indent_="") const
double get_sign_limit() const
static const double NO_MIN_VALUE
Definition: param_entry.h:19
const best_value & get_best_value() const
static param_entry make_free_min(const std::string &name_, double min_, double value_, double step_=AUTO_STEP)