WIP
Run Simulator Tests on local RHEL9 / build (push) Failing after 5s
Run Simulator Tests on local RHEL8 / build (push) Failing after 7s
Build on RHEL9 / build (push) Failing after 7s
Build on RHEL8 / build (push) Failing after 14s

This commit is contained in:
2026-02-16 14:37:44 +01:00
parent 3ec0a9337e
commit 2ba38e5cc4
6 changed files with 30 additions and 4 deletions
+11 -1
View File
@@ -85,6 +85,7 @@
#define DEFAULT_STREAMING_TIMER_IN_MS 500
#define NUM_RX_THREAD_IDS 9
// NOLINTEND(cppcoreguidelines-macro-usage)
#ifdef __cplusplus
@@ -105,7 +106,9 @@ class slsDetectorDefs {
MOENCH,
MYTHEN3,
GOTTHARD2,
XILINX_CHIPTESTBOARD
XILINX_CHIPTESTBOARD,
MATTERHORN // TODO: maybe better to have it under a namespace
// slsDetectorDefs instead of grouped in a class
};
/** return values */
@@ -761,6 +764,13 @@ struct detParameters {
nChipY = 1;
nDacs = 14;
break;
case slsDetectorDefs::detectorType::MATTERHORN:
nChanX = 256;
nChanY = 256;
nChipX = 4;
nChipY = 2;
nDacs = 31;
break;
default:
throw sls::RuntimeError("Unknown detector type! " +
std::to_string(type));