![]() |
MaCh3
2.4.2
Reference Guide
|
The manager class is responsible for managing configurations and settings. More...
#include <Manager/Manager.h>
Public Member Functions | |
| Manager (std::string const &filename) | |
| Constructs a manager object with the specified file name. More... | |
| Manager (const YAML::Node ConfigNode) | |
| Constructs a manager object with the specified YAML. More... | |
| virtual | ~Manager () |
| Destroys the manager object. More... | |
| void | SaveSettings (TFile *const OutputFile) const |
| Add manager useful information's to TFile, in most cases to Fitter. More... | |
| void | Print () const |
| Print currently used config. More... | |
| int | GetMCStatLLH () const |
| Get likelihood type defined in the config. More... | |
| std::string | GetFileName () const |
| Return name of config. More... | |
| YAML::Node const & | raw () const |
| Return config. More... | |
| std::string | GetName () const |
| Get class name. More... | |
| template<typename... Args> | |
| void | OverrideSettings (Args &&... args) |
| Overrides the configuration settings based on provided arguments. More... | |
Private Member Functions | |
| void | Initialise () |
| Common inialiser for both constructors. More... | |
Private Attributes | |
| YAML::Node | config |
| The YAML node containing the configuration data. More... | |
| std::string | FileName |
| The name of the configuration file. More... | |
The manager class is responsible for managing configurations and settings.
|
explicit |
Constructs a manager object with the specified file name.
| filename | The name of the configuration file. |
Definition at line 9 of file Manager.cpp.
| Manager::Manager | ( | const YAML::Node | ConfigNode | ) |
Constructs a manager object with the specified YAML.
| ConfigNode | Actual YAML config |
Definition at line 18 of file Manager.cpp.
|
virtual |
Destroys the manager object.
Definition at line 41 of file Manager.cpp.
|
inline |
| int Manager::GetMCStatLLH | ( | ) | const |
Get likelihood type defined in the config.
Definition at line 98 of file Manager.cpp.
|
inline |
|
private |
Common inialiser for both constructors.
Definition at line 27 of file Manager.cpp.
|
inline |
Overrides the configuration settings based on provided arguments.
Definition at line 51 of file Manager.h.
| void Manager::Print | ( | ) | const |
|
inline |
| void Manager::SaveSettings | ( | TFile *const | OutputFile | ) | const |
Add manager useful information's to TFile, in most cases to Fitter.
| OutputFile | The ROOT TFile to which the information will be added. |
Definition at line 49 of file Manager.cpp.
|
private |
|
private |