Commit 4b66ca80 authored by Daniel Hynds's avatar Daniel Hynds
Browse files

fix bug in verbose after alignment, which prints wrong values to screen

parent e6686013
......@@ -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);
......
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