20 explicit Manager(std::string
const &filename);
24 Manager(
const YAML::Node ConfigNode);
41 inline YAML::Node
const &
raw()
const {
return config;}
43 inline std::string
GetName()
const {
return "Manager";};
50 template <
typename... Args>
Defines the custom exception class used throughout MaCh3.
System and monitoring utilities for printing system information and status updates.
Utility functions for handling YAML nodes.
void OverrideConfig(YAML::Node node, std::string const &key, TValue val)
Overrides the configuration settings based on provided arguments.
The manager class is responsible for managing configurations and settings.
void Initialise()
Common inialiser for both constructors.
int GetMCStatLLH() const
Get likelihood type defined in the config.
virtual ~Manager()
Destroys the manager object.
YAML::Node config
The YAML node containing the configuration data.
YAML::Node const & raw() const
Return config.
Manager(std::string const &filename)
Constructs a manager object with the specified file name.
void SaveSettings(TFile *const OutputFile) const
Add manager useful information's to TFile, in most cases to Fitter.
std::string FileName
The name of the configuration file.
std::string GetName() const
Get class name.
std::string GetFileName() const
Return name of config.
void OverrideSettings(Args &&... args)
Overrides the configuration settings based on provided arguments.
void Print() const
Print currently used config.