Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
94cc0941
Commit
94cc0941
authored
Mar 25, 2020
by
Jin Zhang
Browse files
fix the some notes
parent
de136480
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/core/detector/Detector.hpp
View file @
94cc0941
...
...
@@ -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
);
...
...
src/core/module/ModuleManager.cpp
View file @
94cc0941
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment