#include <SiStripFEDBufferComponents.h>
Public Member Functions | |
bool | badSourceID () const |
bool | cBit () const |
uint16_t | crc () const |
const uint8_t * | data () const |
uint8_t | eoeNibble () const |
uint32_t | eventLengthIn64BitWords () const |
uint32_t | eventLengthInBytes () const |
uint8_t | eventStatusNibble () const |
bool | fBit () const |
FEDDAQTrailer () | |
FEDDAQTrailer (const uint8_t *trailer) | |
FEDDAQTrailer (const uint32_t eventLengthIn64BitWords, const uint16_t crc=0, const FEDTTSBits ttsBits=TTS_READY, const bool slinkTransmissionError=false, const bool badFEDID=false, const bool slinkCRCError=false, const uint8_t eventStatusNibble=0) | |
bool | lastTrailer () const |
void | print (std::ostream &os) const |
bool | rBit () const |
FEDDAQTrailer & | setBadSourceIDBit (const bool bitSet) |
FEDDAQTrailer & | setCRC (const uint16_t crc) |
FEDDAQTrailer & | setEventLengthIn64BitWords (const uint32_t eventLengthIn64BitWords) |
FEDDAQTrailer & | setEventStatusNibble (const uint8_t eventStatusNibble) |
FEDDAQTrailer & | setSLinkCRCErrorBit (const bool bitSet) |
FEDDAQTrailer & | setSLinkTransmissionErrorBit (const bool bitSet) |
FEDDAQTrailer & | setTTSBits (const FEDTTSBits ttsBits) |
bool | slinkCRCError () const |
bool | slinkTransmissionError () const |
bool | tBit () const |
FEDTTSBits | ttsBits () const |
uint8_t | ttsNibble () const |
Private Attributes | |
uint8_t | trailer_ [8] |
Definition at line 230 of file SiStripFEDBufferComponents.h.
|
inline |
Definition at line 232 of file SiStripFEDBufferComponents.h.
|
inlineexplicit |
sistrip::FEDDAQTrailer::FEDDAQTrailer | ( | const uint32_t | eventLengthIn64BitWords, |
const uint16_t | crc = 0 , |
||
const FEDTTSBits | ttsBits = TTS_READY , |
||
const bool | slinkTransmissionError = false , |
||
const bool | badFEDID = false , |
||
const bool | slinkCRCError = false , |
||
const uint8_t | eventStatusNibble = 0 |
||
) |
Definition at line 979 of file SiStripFEDBufferComponents.cc.
References crc(), eventLengthIn64BitWords(), eventStatusNibble(), setBadSourceIDBit(), setCRC(), setEventLengthIn64BitWords(), setEventStatusNibble(), setSLinkCRCErrorBit(), setSLinkTransmissionErrorBit(), setTTSBits(), slinkCRCError(), slinkTransmissionError(), trailer_, and ttsBits().
|
inline |
Definition at line 244 of file SiStripFEDBufferComponents.h.
References fBit().
Referenced by sistrip::FEDBufferBase::checkNoUnexpectedSourceID().
|
inline |
Definition at line 1377 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by slinkTransmissionError().
|
inline |
Definition at line 1375 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by sistrip::FEDBufferBase::daqCRC(), FEDDAQTrailer(), and setCRC().
|
inline |
Definition at line 1391 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by sistrip::FEDBufferGenerator::fillBuffer().
|
inline |
Definition at line 1367 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by sistrip::FEDBufferBase::checkNoExtraHeadersOrTrailers().
|
inline |
Definition at line 1369 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by sistrip::FEDBufferBase::daqEventLengthIn64bitWords(), eventLengthInBytes(), FEDDAQTrailer(), and setEventLengthIn64BitWords().
|
inline |
Definition at line 1373 of file SiStripFEDBufferComponents.h.
References eventLengthIn64BitWords().
Referenced by sistrip::FEDBufferBase::daqEventLengthInBytes().
|
inline |
Definition at line 1381 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by FEDDAQTrailer(), and setEventStatusNibble().
|
inline |
Definition at line 1379 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by badSourceID().
|
inline |
|
inline |
Definition at line 1389 of file SiStripFEDBufferComponents.h.
References sistrip::printHex(), and trailer_.
|
inline |
Definition at line 1387 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by slinkCRCError().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setBadSourceIDBit | ( | const bool | bitSet | ) |
Definition at line 1021 of file SiStripFEDBufferComponents.cc.
References trailer_.
Referenced by FEDDAQTrailer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setCRC | ( | const uint16_t | crc | ) |
Definition at line 1007 of file SiStripFEDBufferComponents.cc.
References crc(), and trailer_.
Referenced by FEDDAQTrailer(), and sistrip::FEDBufferGenerator::fillBuffer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setEventLengthIn64BitWords | ( | const uint32_t | eventLengthIn64BitWords | ) |
Definition at line 1000 of file SiStripFEDBufferComponents.cc.
References eventLengthIn64BitWords(), and trailer_.
Referenced by FEDDAQTrailer(), and sistrip::FEDBufferGenerator::fillBuffer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setEventStatusNibble | ( | const uint8_t | eventStatusNibble | ) |
Definition at line 1037 of file SiStripFEDBufferComponents.cc.
References eventStatusNibble(), and trailer_.
Referenced by FEDDAQTrailer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setSLinkCRCErrorBit | ( | const bool | bitSet | ) |
Definition at line 1029 of file SiStripFEDBufferComponents.cc.
References trailer_.
Referenced by FEDDAQTrailer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setSLinkTransmissionErrorBit | ( | const bool | bitSet | ) |
Definition at line 1013 of file SiStripFEDBufferComponents.cc.
References trailer_.
Referenced by FEDDAQTrailer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setTTSBits | ( | const FEDTTSBits | ttsBits | ) |
Definition at line 1042 of file SiStripFEDBufferComponents.cc.
References trailer_, and ttsBits().
Referenced by FEDDAQTrailer().
|
inline |
Definition at line 253 of file SiStripFEDBufferComponents.h.
References rBit().
Referenced by sistrip::FEDBufferBase::checkNoSlinkCRCError(), and FEDDAQTrailer().
|
inline |
Definition at line 241 of file SiStripFEDBufferComponents.h.
References cBit().
Referenced by sistrip::FEDBufferBase::checkNoSLinkTransmissionError(), and FEDDAQTrailer().
|
inline |
Definition at line 1385 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by lastTrailer().
FEDTTSBits sistrip::FEDDAQTrailer::ttsBits | ( | ) | const |
Definition at line 964 of file SiStripFEDBufferComponents.cc.
References sistrip::TTS_BUSY, sistrip::TTS_DISCONNECTED0, sistrip::TTS_DISCONNECTED1, sistrip::TTS_ERROR, sistrip::TTS_INVALID, sistrip::TTS_OUT_OF_SYNC, sistrip::TTS_READY, sistrip::TTS_WARN_OVERFLOW, and ttsNibble().
Referenced by sistrip::FEDBufferBase::daqTTSState(), FEDDAQTrailer(), and setTTSBits().
|
inline |
Definition at line 1383 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by ttsBits().
|
private |
Definition at line 273 of file SiStripFEDBufferComponents.h.
Referenced by cBit(), crc(), data(), eoeNibble(), eventLengthIn64BitWords(), eventStatusNibble(), fBit(), FEDDAQTrailer(), print(), rBit(), setBadSourceIDBit(), setCRC(), setEventLengthIn64BitWords(), setEventStatusNibble(), setSLinkCRCErrorBit(), setSLinkTransmissionErrorBit(), setTTSBits(), tBit(), and ttsNibble().