mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-04 00:50:42 +02:00
Modified moench04CtbZmq10GbData.h for analog digital mode
This commit is contained in:
parent
71c50e5f66
commit
876977392b
@ -91,14 +91,14 @@ class moench04CtbZmq10GbData : public slsDetectorData<uint16_t> {
|
||||
} else {
|
||||
row = 200 + i / sc_width;
|
||||
}
|
||||
if (nds > 0)
|
||||
// if (nds > 0)
|
||||
dataMap[row][col] =
|
||||
((nadc + 4) * i + iadc) * 2 + off; //+16*(ip+1);
|
||||
else
|
||||
dataMap[row][col] =
|
||||
(nadc * i + iadc) * 2 + off; //+16*(ip+1);
|
||||
((nadc ) * i + iadc) * 2 + off; //+16*(ip+1);
|
||||
//else
|
||||
// dataMap[row][col] =
|
||||
// (nadc * i + iadc) * 2 + off; //+16*(ip+1);
|
||||
if (dataMap[row][col] < 0 ||
|
||||
dataMap[row][col] >= aSamples * 2 * 32 + off)
|
||||
dataMap[row][col] >= aSamples * 2 * 32 + off)
|
||||
cout << "Error: pointer " << dataMap[row][col]
|
||||
<< " out of range " << endl;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user