Commit 833aa983 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Merge branch 'master' into 'master'

Skipping detectors with role 'aux' in AlignmentTrackChi2 module

See merge request corryvreckan/corryvreckan!166
parents c1a5f0da e649cec1
Pipeline #1089685 passed with stages
in 19 minutes and 34 seconds
......@@ -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;
}
......
Supports Markdown
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