added Jungrfau02 - does not really work

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorCalibration@32 113b152e-814d-439b-b186-022a431db7b5
This commit is contained in:
jungmann_j
2014-02-05 10:35:29 +00:00
parent dd26dccde4
commit 71c66775cc
3 changed files with 230 additions and 1 deletions

View File

@ -229,11 +229,15 @@ class slsDetectorData {
*/
virtual char *readNextFrame(ifstream &filebin)=0;
/** Returns the size of the data frame */
int getDataSize() {return dataSize;};
/** changes the size of the data frame */
int setDataSize(int d) {};//dataSize=d; return dataSize;};
protected:
const int nx; /**< Number of pixels in the x direction */
const int ny; /**< Number of pixels in the y direction */
const int dataSize; /**<size of the data constituting one frame */
int dataSize; /**<size of the data constituting one frame */
int **dataMap; /**< Array of size nx*ny storing the pointers to the data in the dataset (as offset)*/
dataType **dataMask; /**< Array of size nx*ny storing the polarity of the data in the dataset (should be 0 if no inversion is required, 0xffffffff is inversion is required) */
int **dataROIMask; /**< Array of size nx*ny 1 if channel is good (or in the ROI), 0 if bad channel (or out of ROI) */