diff --git a/slsDetectorSoftware/src/Detector.cpp b/slsDetectorSoftware/src/Detector.cpp index 296e1aede..1ca6a2068 100644 --- a/slsDetectorSoftware/src/Detector.cpp +++ b/slsDetectorSoftware/src/Detector.cpp @@ -697,28 +697,7 @@ void Detector::startDetectorReadout() { } void Detector::stopDetector(Positions pos) { - /*auto detector_type = getDetectorType().squash(); - if (detector_type == defs::EIGER && size() > 1) { - auto is_master = getMaster(); - int masterPosition = -1; - std::vector slaves; - for (int i = 0; i < size(); ++i) { - if (!pos.empty() && pos[0] != -1 && - std::find(pos.begin(), pos.end(), i) != pos.end()) { - continue; - } - if (is_master[i]) - masterPosition = i; - else - slaves.push_back(i); - } - pimpl->Parallel(&Module::stopAcquisition, slaves); - if (masterPosition != -1) { - pimpl->Parallel(&Module::stopAcquisition, {masterPosition}); - } - } else {*/ pimpl->Parallel(&Module::stopAcquisition, pos); - //} } Result Detector::getDetectorStatus(Positions pos) const {