Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ScanRunner.h
Go to the documentation of this file.
1#ifndef SCAN_RUNNER_H
2#define SCAN_RUNNER_H
3
4#include "YamlInputReader.h"
6#include "IOutputExtractor.h"
7#include "ObjectsOutputs.h"
8
9inline ScanVar to_scan_var(const YamlScanParam& p);
10
12public:
14 std::vector<YamlScanParam> scan_params,
15 std::shared_ptr<IOutputExtractor> extractor)
16 : upp_(upp), scan_params_(std::move(scan_params)), extractor_(std::move(extractor))
17 {}
18
19 DataSet run(const OutputSpec& spec);
20
21private:
23 std::vector<YamlScanParam> scan_params_;
24 std::shared_ptr<IOutputExtractor> extractor_;
25
26 void recurse_dim(size_t dim, DataSet& ds, std::vector<double>& x, const OutputSpec& spec);
27};
28
29#endif
ScanVar to_scan_var(const YamlScanParam &p)
Definition ScanRunner.cpp:3
ScanRunner(UserParameterProxy &upp, std::vector< YamlScanParam > scan_params, std::shared_ptr< IOutputExtractor > extractor)
Definition ScanRunner.h:13
DataSet run(const OutputSpec &spec)
Hash specialization for SymbolId<Tag>.
Definition BlockName.h:353