66 if ( newid & 0xffff0000)
return -1;
96 <<
" -1" <<
" (sPHENIX Packet) ";
257 const int nlen,
int *nwout,
261 if (strcmp(what,
"") ==0)
285 if (strcmp(what,
"RAW") ==0)
294 if (strcmp(what,
"DATA") ==0)
309 const int nlen,
int *nwout,
454 out <<
SETW(5) << j <<
" | ";
457 out << std::hex <<
SETW(8) << std::setfill (
'0') << SubeventData[j++] << std::setfill(
' ') <<
" " << std::dec;
469 out << std::dec <<
SETW(5) << j <<
" | ";
473 out <<
SETW(10) << SubeventData[j++] <<
" ";
517 out << std::dec <<
SETW(5) << j <<
" | ";
520 out << std::hex <<
SETW(4) << std::setfill (
'0') << SubeventData[j++] << std::setfill(
' ') <<
" " << std::dec;
533 out << std::dec <<
SETW(5) << j <<
" | ";
536 out << std::dec <<
SETW(6) << SubeventData[j++] <<
" ";
583 out << std::dec <<
SETW(5) << j <<
" | ";
588 out << std::hex <<
SETW(2) << (int) SubeventData[j] <<
" ";
589 if (SubeventData[j] >=32 && SubeventData[j] <=127)
591 *c++ = SubeventData[
j];
602 out <<
" | " << cstring;
612 out << std::dec <<
SETW(5) << j <<
" | ";
617 out <<
SETW(3) << (int) SubeventData[j] <<
" ";
618 if (SubeventData[j] >=32 && SubeventData[j] <=127)
620 *c++ = SubeventData[
j];
631 out <<
" | " << cstring;