Added jungfrau1.0 data structure (bad) and added xmap, ymap and getPixel method to the slsDetectorData base class

This commit is contained in:
2015-03-05 13:04:31 +01:00
parent 8a79e94fa8
commit 985b4d71b4
6 changed files with 230 additions and 58 deletions

View File

@ -47,9 +47,11 @@ class moench02CtbData : public slsDetectorData<uint16_t> {
col=adc_nr[iadc]+(i%sc_width);
row=i/sc_width;
dataMap[row][col]=(32*i+iadc)*2;
if (dataMap[row][col]<0 || dataMap[row][col]>=2*160*160)
if (dataMap[row][col]<0 || dataMap[row][col]>=dataSize) {
cout << "Error: pointer " << dataMap[row][col] << " out of range "<< endl;
}
}
}
for (int i=0; i<nx*ny; i++) {