mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-24 10:31:09 +02:00
flip rows only for hw2.0 for jungfrau
This commit is contained in:
@ -540,7 +540,11 @@ TEST_CASE("fliprows", "[.cmd]") {
|
|||||||
Detector det;
|
Detector det;
|
||||||
CmdProxy proxy(&det);
|
CmdProxy proxy(&det);
|
||||||
auto det_type = det.getDetectorType().squash();
|
auto det_type = det.getDetectorType().squash();
|
||||||
if (det_type == defs::EIGER || det_type == defs::JUNGFRAU) {
|
bool jungfrauhw2 = false;
|
||||||
|
if (det_type == defs::JUNGFRAU && det.getSerialNumber() & 0x20000) {
|
||||||
|
jungfrauhw2 = true;
|
||||||
|
}
|
||||||
|
if (det_type == defs::EIGER || jungfrauhw2) {
|
||||||
auto previous = det.getFlipRows();
|
auto previous = det.getFlipRows();
|
||||||
auto previous_numudp = det.getNumberofUDPInterfaces();
|
auto previous_numudp = det.getNumberofUDPInterfaces();
|
||||||
if (det_type == defs::JUNGFRAU) {
|
if (det_type == defs::JUNGFRAU) {
|
||||||
|
Reference in New Issue
Block a user