Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
e649cec1
Commit
e649cec1
authored
Sep 11, 2019
by
Morag Jean Williams
Browse files
Removing detectors with role from AlignmentTrackChi2 module
parent
c1a5f0da
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/AlignmentTrackChi2/AlignmentTrackChi2.cpp
View file @
e649cec1
...
...
@@ -159,7 +159,7 @@ void AlignmentTrackChi2::finalise() {
string
detectorID
=
detector
->
name
();
// Do not align the reference plane
if
(
detector
->
isReference
()
||
detector
->
isDUT
())
{
if
(
detector
->
isReference
()
||
detector
->
isDUT
()
||
detector
->
isAuxiliary
()
)
{
continue
;
}
...
...
@@ -253,7 +253,7 @@ void AlignmentTrackChi2::finalise() {
// Now list the new alignment parameters
for
(
auto
&
detector
:
get_detectors
())
{
// Do not align the reference plane
if
(
detector
->
isReference
()
||
detector
->
isDUT
())
{
if
(
detector
->
isReference
()
||
detector
->
isDUT
()
||
detector
->
isAuxiliary
()
)
{
continue
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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