moench receiver orders packets to frames

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@533 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2013-04-26 15:23:45 +00:00
parent 8c3e7f6160
commit ded2a4de5c
5 changed files with 120 additions and 20 deletions

View File

@ -198,6 +198,10 @@ public:
*/
void registerWriteReceiverDataCallback(int( *userCallback)(char*, int, FILE*, void*), void *pArg) {writeReceiverData = userCallback; pwriteReceiverDataArg = pArg;};
int getFrameIndex(int index){return index & MOENCH_FRAME_INDEX_MASK}
int get
private:
/** detector type */
@ -362,6 +366,13 @@ private:
/**temporary variable to test moench with gotthard module*/
bool withGotthard;
/** frame index mask */
int frameIndexMask;
/** frame index offset */
int frameIndexOffset;