Commit 2c9d2b15 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Module: allow retrieval of configuration

parent e6890155
......@@ -78,3 +78,7 @@ bool Module::has_detector(std::string name) {
}
return true;
}
Configuration& Module::get_configuration() {
return m_config;
}
......@@ -123,7 +123,11 @@ namespace corryvreckan {
TDirectory* getROOTDirectory() const;
protected:
// Configuration of this module
/**
* @brief Get the module configuration for internal use
* @return Configuration of the module
*/
Configuration& get_configuration();
Configuration m_config;
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment