#ifndef MOENCH03T1CTBDATA_H #define MOENCH03T1CTBDATA_H #include "slsDetectorData.h" class moench03T1CtbData : public slsDetectorData { private: int iframe; 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 */ moench03T1CtbData(int ns=5000): slsDetectorData(400, 400, ns*2*32, NULL, NULL) , nadc(32), sc_width(25), sc_height(200) { int adc_nr[32]={300,325,350,375,300,325,350,375, \ 200,225,250,275,200,225,250,275,\ 100,125,150,175,100,125,150,175,\ 0,25,50,75,0,25,50,75}; int row, col; int isample; int iadc; int ix, iy; for (iadc=0; iadc=2*400*400) cout << "Error: pointer " << dataMap[row][col] << " out of range "<< endl; } } int adc4; for (int i=0; i0) { iframe++; // cout << ib << "-" << endl; return (char*)afifo_cont; } else { delete [] afifo_cont; return NULL; } } return NULL; }; }; #endif