Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
MartyFileWriter.h
Go to the documentation of this file.
1
2#ifndef MARTY_FILE_WRITER_H
3#define MARTY_FILE_WRITER_H
4
5#include <fstream>
6#include <string>
7
8#include "FileNameManager.h"
9
31public:
38 MartyFileWriter(const std::string& wilson,
39 const std::string& model,
40 bool bsm_split_generation = false,
41 bool full_target_generation = false);
42
53 void add_output_writer(std::ofstream& outputFile);
54
64 void add_argpars(std::ofstream& outputFile);
65
77 void add_input_reader(std::ofstream& outputFile);
78
79private:
87 bool should_set_mudim() const;
88
89 std::string wilson;
90 std::string model;
91 bool bsm_split_generation{false};
92 bool full_target_generation{false};
93};
94
95#endif
Manages file and directory names for generated MARTY code and assets.
Emits C++ helper code to handle CLI, IO and Wilson output.
void add_output_writer(std::ofstream &outputFile)
Writes C++ code that handles writing Wilson coefficients to a CSV.
void add_argpars(std::ofstream &outputFile)
Writes C++ code to parse command-line arguments.
void add_input_reader(std::ofstream &outputFile)
Writes C++ code to read numerical parameters from disk.