MaCh3  2.2.3
Reference Guide
ParameterTunes.h
Go to the documentation of this file.
1 #pragma once
2 
3 // MaCh3 Includes
4 #include "Manager/Manager.h"
6 
10  public:
12  ParameterTunes(const YAML::Node& Settings);
14  virtual ~ParameterTunes();
15 
17  std::vector<double> GetTune(const int TuneNumber) const;
19  std::vector<double> GetTune(const std::string& TuneName) const;
21  void PrintTunes() const;
22  private:
24  std::vector<std::string> TuneNames;
26  std::vector<std::vector<double>> TuneValues;
28  std::unordered_map<std::string, int> TuneMap;
29 };
Class storing tune values, for example allowing flexibly to retrieve parameter values for for PostND ...
Definition: ParameterTunes.h:9
ParameterTunes(const YAML::Node &Settings)
Constructor.
std::vector< std::string > TuneNames
Name of each Tun.
void PrintTunes() const
Simply print all tunes and associated values.
virtual ~ParameterTunes()
std::vector< double > GetTune(const int TuneNumber) const
Return vector of tune vales for each parameter.
std::unordered_map< std::string, int > TuneMap
Map between tune name and value.
std::vector< std::vector< double > > TuneValues
Values for each Tune and Parameter.