![]() |
MaCh3 2.2.1
Reference Guide
|
Class storing tune values, for example allowing flexibly to retrieve parameter values for for PostND tunes. More...
#include <Parameters/ParameterTunes.h>
Public Member Functions | |
ParameterTunes (const YAML::Node &Settings) | |
Constructor. | |
virtual | ~ParameterTunes () |
std::vector< double > | GetTune (const int TuneNumber) const |
Return vector of tune vales for each parameter. | |
std::vector< double > | GetTune (const std::string &TuneName) const |
Return vector of tune vales for each parameter. | |
void | PrintTunes () const |
Simply print all tunes and associated values. | |
Private Attributes | |
std::vector< std::string > | TuneNames |
Name of each Tun. | |
std::vector< std::vector< double > > | TuneValues |
Values for each Tune and Parameter. | |
std::unordered_map< std::string, int > | TuneMap |
Map between tune name and value. | |
Class storing tune values, for example allowing flexibly to retrieve parameter values for for PostND tunes.
Definition at line 9 of file ParameterTunes.h.
ParameterTunes::ParameterTunes | ( | const YAML::Node & | Settings | ) |
Constructor.
Definition at line 4 of file ParameterTunes.cpp.
|
virtual |
Definition at line 60 of file ParameterTunes.cpp.
std::vector< double > ParameterTunes::GetTune | ( | const int | TuneNumber | ) | const |
Return vector of tune vales for each parameter.
std::vector< double > ParameterTunes::GetTune | ( | const std::string & | TuneName | ) | const |
Return vector of tune vales for each parameter.
void ParameterTunes::PrintTunes | ( | ) | const |
Simply print all tunes and associated values.
|
private |
Map between tune name and value.
Definition at line 28 of file ParameterTunes.h.
|
private |
Name of each Tun.
Definition at line 24 of file ParameterTunes.h.
|
private |
Values for each Tune and Parameter.
Definition at line 26 of file ParameterTunes.h.