20 explicit manager(std::string
const &filename);
24 manager(
const YAML::Node ConfigNode);
43 inline std::string
GetName()
const {
return "Manager";};
50 template <
typename... Args>
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 SaveSettings(TFile *const OutputFile)
Add manager useful information's to TFile, in most cases to Fitter.
std::string FileName
The name of the configuration file.
void Print()
Print currently used config.
int GetMCStatLLH()
Get likelihood type defined in the config.
void OverrideSettings(Args &&... args)
Overrides the configuration settings based on provided arguments.
YAML::Node config
The YAML node containing the configuration data.
YAML::Node const & raw()
Return config.
std::string GetFileName()
Return name of config.
void Initialise()
Common inialiser for both constructors.
virtual ~manager()
Destroys the manager object.
std::string GetName() const
Get class name.