1 #ifndef DataFormats_FEDRawData_FEDTrailer_h 2 #define DataFormats_FEDRawData_FEDTrailer_h 55 unsigned char* trailer, uint32_t lenght, uint16_t
crc, uint8_t evt_stat, uint8_t tts,
bool moreTrailers =
false);
62 #endif // DataFormats_FEDRawData_FEDTrailer_h
static const uint32_t length
virtual ~FEDTrailer()
Destructor.
uint16_t crc() const
Cyclic Redundancy Code of the event fragment including header and trailer.
const fedt_struct * theTrailer
bool check() const
Check that the trailer is OK.
bool moreTrailers() const
bool crcModified() const
True if the CRC value has been modified by the S-link sender card.
uint32_t fragmentLength() const
The length of the event fragment counted in 64-bit words including header and trailer.
uint8_t ttsBits() const
Current value of the Trigger Throttling System bits.
uint8_t evtStatus() const
Event fragment status information.
uint32_t conscheck() const
Return the word containing the consistency checks.
bool wrongFedId() const
True if the FED_ID given by the FED is not the one expected by the FRL.
bool slinkError() const
True if the FRL has detected a transmission error over the s-link cable.
FEDTrailer(const unsigned char *trailer)
Constructor.