Some improved documentation

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorCalibration@15 113b152e-814d-439b-b186-022a431db7b5
This commit is contained in:
bergamaschi
2013-12-16 16:01:20 +00:00
parent 4111c65e37
commit 22f20507db
6 changed files with 30 additions and 24 deletions

View File

@ -56,13 +56,13 @@ class slsReceiverData : public slsDetectorData<dataType> {
Loops over a memory slot until a complete frame is found (i.e. all packets 0 to nPackets, same frame number). Can be overloaded for different kind of detectors!
\param data pointer to the memory to be analyzed
\param ndata
\param ndata size of frame returned
\param dsize size of the memory slot to be analyzed
\returns pointer to the first packet of the last good frame (might be incomplete if npackets lower than the number of packets), or NULL if no frame is found
*/
virtual char *findNextFrame(char *data, int &npackets, int dsize) {
virtual char *findNextFrame(char *data, int &ndata, int dsize) {
char *retval=NULL, *p=data;
int dd=0;
int fn, fnum=-1, np=0, pnum=-1;
@ -103,7 +103,7 @@ class slsReceiverData : public slsDetectorData<dataType> {
cout << "Too few packets for this frame! "<< fnum << " " << pnum << endl;
}
npackets=np*packetSize;
ndata=np*packetSize;
return retval;
};