added gotthard specific instructions

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorCalibration@42 113b152e-814d-439b-b186-022a431db7b5
This commit is contained in:
l_maliakal_d
2014-02-13 10:53:30 +00:00
parent 0a86011998
commit 26003dc867
4 changed files with 275 additions and 55 deletions

View File

@ -82,7 +82,7 @@ class slsDetectorData {
for (int ix=0; ix<nx; ix++)
dataMap[iy][ix]=dMap[iy][ix];
}
};
@ -191,6 +191,32 @@ class slsDetectorData {
*/
virtual double getValue(char *data, int ix, int iy=0) {return (double)getChannel(data, ix, iy);};
/**
Sets frame index mask for the given dataset. Virtual func: works for slsDetectorReceiver packets, but can be overloaded.
\param m frame index mask
*/
virtual void setFrameIndexMask(uint32_t m)=0;
/**
Sets the packet index mask for the given dataset. Virtual func: works for slsDetectorReceiver packets, but can be overloaded.
\param m packet index mask
*/
virtual void setPacketIndexMask(uint32_t m)=0;
/**
Sets the frame index offset for the given dataset. Virtual func: works for slsDetectorReceiver packets, but can be overloaded.
\param o frame index offset
*/
virtual void setFrameIndexOffset(int o)=0;
/**
Returns the frame number for the given dataset. Purely virtual func.