86 <<
" -1" <<
" (sPHENIX Packet) ";
247 const int nlen,
int *nwout,
251 if (strcmp(what,
"") ==0)
275 if (strcmp(what,
"RAW") ==0)
279 for (
int i=0; i<
getLength(); i++) *iarr++ = *from++;
284 if (strcmp(what,
"DATA") ==0)
288 for (
int i=0; i<
getLength() -4; i++) *iarr++ = *from++;
299 const int nlen,
int *nwout,
319 for (
int i=0; i<
data1_length; i++) *rarr++ =
float (*from++);
432 out <<
SETW(5) << j <<
" | ";
435 out << std::hex <<
SETW(8) << std::setfill (
'0') << SubeventData[j++] << std::setfill(
' ') <<
" " << std::dec;
447 out << std::dec <<
SETW(5) << j <<
" | ";
451 out <<
SETW(10) << SubeventData[j++] <<
" ";
495 out << std::dec <<
SETW(5) << j <<
" | ";
498 out << std::hex <<
SETW(4) << std::setfill (
'0') << SubeventData[j++] << std::setfill(
' ') <<
" " << std::dec;
511 out << std::dec <<
SETW(5) << j <<
" | ";
514 out << std::dec <<
SETW(6) << SubeventData[j++] <<
" ";
561 out << std::dec <<
SETW(5) << j <<
" | ";
566 out << std::hex <<
SETW(2) << (
int) SubeventData[j] <<
" ";
567 if (SubeventData[j] >=32 && SubeventData[j] <=127)
569 *c++ = SubeventData[j];
580 out <<
" | " << cstring;
590 out << std::dec <<
SETW(5) << j <<
" | ";
595 out <<
SETW(3) << (
int) SubeventData[j] <<
" ";
596 if (SubeventData[j] >=32 && SubeventData[j] <=127)
598 *c++ = SubeventData[j];
609 out <<
" | " << cstring;