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
b51975cf
Commit
b51975cf
authored
Nov 10, 2017
by
Simon Spannagel
Browse files
Aaaarg - Detector: do not shadow member variables...
parent
ed114409
Pipeline
#235947
failed with stages
in 3 minutes and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/core/Detector.cpp
View file @
b51975cf
...
...
@@ -10,8 +10,9 @@ using namespace corryvreckan;
Detector
::
Detector
(
const
Configuration
&
config
)
{
// Get information from the conditions file:
auto
m_displacement
=
config
.
get
<
ROOT
::
Math
::
XYZPoint
>
(
"position"
,
ROOT
::
Math
::
XYZPoint
());
auto
m_orientation
=
config
.
get
<
ROOT
::
Math
::
XYZVector
>
(
"orientation"
,
ROOT
::
Math
::
XYZVector
());
m_displacement
=
config
.
get
<
ROOT
::
Math
::
XYZPoint
>
(
"position"
,
ROOT
::
Math
::
XYZPoint
());
m_orientation
=
config
.
get
<
ROOT
::
Math
::
XYZVector
>
(
"orientation"
,
ROOT
::
Math
::
XYZVector
());
// Number of pixels
auto
npixels
=
config
.
get
<
ROOT
::
Math
::
DisplacementVector2D
<
Cartesian2D
<
int
>>>
(
"number_of_pixels"
);
// Size of the pixels
...
...
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