From 81fbc4548803f9ad583fb64386477d9419157be0 Mon Sep 17 00:00:00 2001 From: Anna Bergamaschi Date: Mon, 15 Aug 2022 12:57:55 +0200 Subject: [PATCH] moench04CtbZmq10GbData.h corrected --- slsDetectorCalibration/dataStructures/moench04CtbZmq10GbData.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slsDetectorCalibration/dataStructures/moench04CtbZmq10GbData.h b/slsDetectorCalibration/dataStructures/moench04CtbZmq10GbData.h index 4555ed5d4..f2e230e77 100644 --- a/slsDetectorCalibration/dataStructures/moench04CtbZmq10GbData.h +++ b/slsDetectorCalibration/dataStructures/moench04CtbZmq10GbData.h @@ -129,7 +129,8 @@ class moench04CtbZmq10GbData : public slsDetectorData { if (ibit[isc] < 0 || ibit[isc] >= 64) return 0; if (dSamples > isample) { - ptr = data + 32 * (isample + 1) + 8 * isample; + ptr = data + aoff + 8 * isample; + // ptr = data + 32 * (isample + 1) + 8 * isample; sample = *((uint64_t *)ptr); // cout << isc << " " << ibit[isc] << " " << isample << hex << // sample << dec << endl;