Merge branch 'developer' into dev/fix-pattern-generator
Build on RHEL9 docker image / build (push) Successful in 4m15s
Build on RHEL8 docker image / build (push) Successful in 5m17s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m53s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m20s

This commit is contained in:
2026-07-16 15:10:32 +02:00
committed by GitHub
125 changed files with 6098 additions and 143916 deletions
+35 -13
View File
@@ -719,8 +719,9 @@ class Detector {
* restarts client and receiver zmq sockets if zmq streaming enabled. \n
* [Gotthard2] second interface enabled to send veto information via 10Gbps
* for debugging. By default, if veto enabled, it is sent via 2.5 gbps
* interface. \nSetting this resets the receiver roi */
void setNumberofUDPInterfaces(int n, Positions pos = {});
* interface. \nSetting this resets the receiver roi and any udp datastream
* disables */
void setNumberofUDPInterfaces(int n);
/** [Jungfrau][Moench] */
Result<int> getSelectedUDPInterface(Positions pos = {}) const;
@@ -897,6 +898,37 @@ class Detector {
*/
void setTransmissionDelay(int step);
/** [Eiger] Returns whether the 10GbE UDP data stream from detector is
* enabled. Options: LEFT, RIGHT [Jungfrau][Moench] Returns whether the UDP
* data stream from receiver is enabled. Options: TOP, BOTTOM
*
*/
Result<bool> getUDPDataStream(const defs::portPosition port,
Positions pos = {}) const;
/** [Eiger] Enables or disables UDP data streaming from left or right of
* 10GbE UDP port of the detector. Default: enabled. Options: LEFT, RIGHT \n
* [Jungfrau][Moench] Enables or disables UDP data streaming from the top or
* bottom of receiver. Default: enabled. Options: TOP, BOTTOM. This option
* is available only when numinterfaces is set to 2.
*/
void setUDPDataStream(const defs::portPosition port, const bool enable,
Positions pos = {});
/** List of disabled UDP ports with index (moduleIndex * 2 + portIndex),
* where portIndex is 0 for BOTTOM/LEFT port, and 1 for TOP/RIGHT port.
* It is the index with 'd' in the file name when writing data. \n
* [Eiger] LEFT, RIGHT
* [Jungfrau][Moench] TOP, BOTTOM
* This feature is available only when numinterfaces is set to 2.
*/
std::vector<int> getRxDisabledUDPPortIndices() const;
/** list of possible port positions.
* [Eiger] LEFT, RIGHT
* [Jungfrau][Moench] TOP, BOTTOM
*/
std::vector<defs::portPosition> getPortPositionList() const;
///@}
/** @name Receiver Configuration */
@@ -1252,16 +1284,6 @@ class Detector {
* hardware required). */
void setQuad(const bool enable);
/** [Eiger] */
Result<bool> getDataStream(const defs::portPosition port,
Positions pos = {}) const;
/** [Eiger] enable or disable data streaming from left or right of detector
* for 10GbE. Default: enabled
*/
void setDataStream(const defs::portPosition port, const bool enable,
Positions pos = {});
/** [Eiger] Advanced */
Result<bool> getTop(Positions pos = {}) const;
@@ -2272,7 +2294,7 @@ class Detector {
private:
std::vector<uint16_t> getValidPortNumbers(uint16_t start_port);
void updateRxRateCorrections();
void setNumberofUDPInterfaces_(int n, Positions pos);
void setNumberofUDPInterfaces_(int n);
};
} // namespace sls