MaCh3 2.2.1
Reference Guide
Loading...
Searching...
No Matches
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
std::vector< std::string > TuneNames
Name of each Tun.
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.
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.