Commit e649cec1 authored by Morag Jean Williams's avatar Morag Jean Williams
Browse files

Removing detectors with role from AlignmentTrackChi2 module

parent c1a5f0da
......@@ -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;
}
......
Markdown is supported
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