1 #ifndef DataFormats_GEMDigi_GEMAMC13Status_h 2 #define DataFormats_GEMDigi_GEMAMC13Status_h 36 error.InValidSize = 1;
39 error.failTrailerCheck = !trailer.check();
40 error.failFragmentLength = (trailer.fragmentLength() *
sizeof(
uint64_t) != fedData.
size());
41 error.moreTrailers = trailer.moreTrailers();
42 error.crcModified = trailer.crcModified();
43 error.slinkError = trailer.slinkError();
44 error.wrongFedId = trailer.wrongFedId();
67 out <<
"GEMAMC13Status errors " << std::bitset<8>(
status.errors()) <<
" warnings " 68 << std::bitset<8>(
status.warnings());
static const uint32_t length
uint8_t failFragmentLength
size_t size() const
Lenght of the data buffer in bytes.
unsigned long long uint64_t
GEMAMC13Status(const FEDRawData &fedData)
std::ostream & operator<<(std::ostream &out, const GEMAMC13Status &status)
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.