Commit 94cc0941 authored by Jin Zhang's avatar Jin Zhang
Browse files

fix the some notes

parent de136480
......@@ -82,8 +82,8 @@ namespace corryvreckan {
/**
* @brief Factory to dynamically create detectors
* @param The name of the coordinates which should be used
* @return By param coordinates assigned detector to be used
* @param config Configuration object describing the detector
* @return shared_ptr that contains the real detector
*/
static std::shared_ptr<Detector> Factory(const Configuration& config);
......
......@@ -51,8 +51,6 @@ void ModuleManager::load_detectors() {
for(auto& detector_section : conf_manager_->getDetectorConfigurations()) {
std::string name = detector_section.getName();
// std::string coordinate = detector_section.get<std::string>("coordinates", "cartesian");
// std::transform(coordinate.begin(), coordinate.end(), coordinate.begin(), ::tolower);
// Check if we have a duplicate:
if(std::find_if(m_detectors.begin(), m_detectors.end(), [&name](std::shared_ptr<Detector> obj) {
......
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