From 47d6ed053c69ddf093e23041f31a1b8a29f20bec Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Tue, 15 Jun 2021 16:58:32 +0200 Subject: [PATCH] removed slave master difference in stop acquiistion --- slsDetectorSoftware/src/Detector.cpp | 21 --------------------- 1 file changed, 21 deletions(-) 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 {