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
4b66ca80
Commit
4b66ca80
authored
Oct 26, 2017
by
Daniel Hynds
Browse files
fix bug in verbose after alignment, which prints wrong values to screen
parent
e6686013
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/algorithms/Alignment.cpp
View file @
4b66ca80
...
...
@@ -313,8 +313,10 @@ void Alignment::finalise() {
for
(
auto
&
detector
:
get_detectors
())
{
string
detectorID
=
detector
->
name
();
// Do not align the reference plane
if
(
detectorID
==
m_config
.
get
<
std
::
string
>
(
"reference"
))
continue
;
if
(
detectorID
==
m_config
.
get
<
std
::
string
>
(
"reference"
)
||
detectorID
==
m_config
.
get
<
std
::
string
>
(
"DUT"
))
{
continue
;
}
// Get the alignment parameters
double
displacementX
=
residualFitter
->
GetParameter
(
det
*
6
+
0
);
...
...
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