- Enhanced and debugged histogram memory for AMOR

* added PROJECT both in HM and driver code
  * added single detector support.
- Removed several bugs in the AMOR data bit.
- Updated documentation
This commit is contained in:
cvs
2001-08-17 14:33:05 +00:00
parent a538361516
commit db6c355f44
56 changed files with 4060 additions and 426 deletions

View File

@@ -170,8 +170,13 @@
tEnd = time(NULL);
printf("Histogram received in %d seconds\n", tStart - tEnd);
fflush(stdout);
#endif
#endif
if(hiData == NULL)
{
SCWrite(pCon,"ERROR: BAD Configuration",eError);
return 0;
}
/* first int: length of things to come */
iData[0] = htonl(iLength);
/* sum up */
@@ -256,6 +261,11 @@
}
setFMDataPointer(hiData, iLength);
hiData = getFMBankPointer(iBank);
if(hiData == NULL)
{
SCWrite(pCon,"ERROR: BAD Configuration",eError);
return 0;
}
/* get histogram length */
iLength = getFMdim(iBank);