added data structure file for m03 T mounting and data structure for m02

This commit is contained in:
l_msdetect
2015-12-03 10:17:26 +01:00
parent 0841467dc9
commit 0c28dcec4f
4 changed files with 498 additions and 36 deletions

View File

@ -41,7 +41,6 @@ class moench02CtbData : public slsDetectorData<uint16_t> {
int iadc;
int ix, iy;
maplength=this->getDataSize()/2;
cerr<<"Map Array Length: "<<maplength<<endl;
for (iadc=0; iadc<nadc; iadc++) {
@ -70,7 +69,7 @@ class moench02CtbData : public slsDetectorData<uint16_t> {
}
}
iframe=0;
// cout << "data struct created" << endl;
cout << "data struct created" << endl;
};
void getPixel(int ip, int &x, int &y) {
@ -138,7 +137,7 @@ class moench02CtbData : public slsDetectorData<uint16_t> {
}
if (ib>0) {
iframe++;
cout << ib << "-" << endl;
//cout << ib << "-" << endl;
return (char*)afifo_cont;
} else {
delete [] afifo_cont;