mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
dev:removed storage cells for moench (#603)
* removed storage cells for moench * rxr: also setting moench like jungfrau in implementation of ports
This commit is contained in:
@ -367,7 +367,7 @@ int ClientInterface::setup_receiver(Interface &socket) {
|
||||
if (detType == GOTTHARD2) {
|
||||
impl()->setNumberOfBursts(arg.bursts);
|
||||
}
|
||||
if (detType == JUNGFRAU || detType == MOENCH) {
|
||||
if (detType == JUNGFRAU) {
|
||||
impl()->setNumberOfAdditionalStorageCells(arg.additionalStorageCells);
|
||||
}
|
||||
if (detType == CHIPTESTBOARD) {
|
||||
|
@ -226,7 +226,7 @@ const slsDetectorDefs::xy Implementation::GetPortGeometry() const {
|
||||
xy portGeometry{1, 1};
|
||||
if (generalData->detType == EIGER)
|
||||
portGeometry.x = generalData->numUDPInterfaces;
|
||||
else if (generalData->detType == JUNGFRAU)
|
||||
else if (generalData->detType == JUNGFRAU || generalData->detType == MOENCH)
|
||||
portGeometry.y = generalData->numUDPInterfaces;
|
||||
return portGeometry;
|
||||
}
|
||||
@ -413,7 +413,7 @@ void Implementation::setReceiverROI(const slsDetectorDefs::ROI arg) {
|
||||
portFullRoi.xmin += nPortDim.x;
|
||||
portFullRoi.xmax += nPortDim.x;
|
||||
}
|
||||
// top bottom (jungfrau)
|
||||
// top bottom (jungfrau or moench)
|
||||
else {
|
||||
portFullRoi.ymin += nPortDim.y;
|
||||
portFullRoi.ymax += nPortDim.y;
|
||||
@ -1127,7 +1127,7 @@ int Implementation::getUDPSocketBufferSize() const {
|
||||
|
||||
void Implementation::setUDPSocketBufferSize(const int s) {
|
||||
size_t listSize = listener.size();
|
||||
if ((generalData->detType == JUNGFRAU ||
|
||||
if ((generalData->detType == JUNGFRAU || generalData->detType == MOENCH ||
|
||||
generalData->detType == GOTTHARD2) &&
|
||||
(int)listSize != generalData->numUDPInterfaces) {
|
||||
throw RuntimeError("Number of Interfaces " +
|
||||
|
Reference in New Issue
Block a user