#ifndef MOENCH02CTBDATA_H #define MOENCH02CTBDATA_H #include "slsDetectorData.h" class moench02CtbData : public slsDetectorData { private: int iframe; int *xmap, *ymap; int nadc; int sc_width; int sc_height; public: /** Implements the slsReceiverData structure for the moench02 prototype read out by a module i.e. using the slsReceiver (160x160 pixels, 40 packets 1286 large etc.) \param c crosstalk parameter for the output buffer */ moench02CtbData(int ns=6400): slsDetectorData(160, 160, ns*2*32, NULL, NULL) , nadc(4), sc_width(40), sc_height(160) { int adc_nr[4]={0,40,40,120}; int row, col; int isample; int iadc; int ix, iy; xmap=new int[nx*ny]; ymap=new int[nx*ny]; for (iadc=0; iadc=2*160*160) cout << "Error: pointer " << dataMap[row][col] << " out of range "<< endl; } } for (int i=0; i=0 && ip0) { iframe++; cout << ib << "-" << endl; return (char*)afifo_cont; } else { delete [] afifo_cont; return NULL; } } return NULL; }; }; #endif