#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 177 of file SiStripFEDBufferComponents.h.
|
inline |
Definition at line 180 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 903 of file SiStripFEDBufferComponents.cc.
References setBadSourceIDBit(), setCRC(), setEventLengthIn64BitWords(), setEventStatusNibble(), setSLinkCRCErrorBit(), setSLinkTransmissionErrorBit(), setTTSBits(), and trailer_.
|
inline |
Definition at line 192 of file SiStripFEDBufferComponents.h.
References fBit().
Referenced by sistrip::FEDBufferBase::checkNoUnexpectedSourceID().
|
inline |
Definition at line 1298 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by slinkTransmissionError().
|
inline |
Definition at line 1293 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by sistrip::FEDBufferBase::daqCRC().
|
inline |
Definition at line 1333 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by cuy.FindIssue::__init__(), and sistrip::FEDBufferGenerator::fillBuffer().
|
inline |
Definition at line 1278 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by sistrip::FEDBufferBase::checkNoExtraHeadersOrTrailers().
|
inline |
Definition at line 1283 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by sistrip::FEDBufferBase::daqEventLengthIn64bitWords(), and eventLengthInBytes().
|
inline |
Definition at line 1288 of file SiStripFEDBufferComponents.h.
References eventLengthIn64BitWords().
Referenced by sistrip::FEDBufferBase::daqEventLengthInBytes().
|
inline |
|
inline |
Definition at line 1303 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by badSourceID().
|
inline |
|
inline |
Definition at line 1328 of file SiStripFEDBufferComponents.h.
References sistrip::printHex(), and trailer_.
Referenced by sistrip::operator<<().
|
inline |
Definition at line 1323 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by slinkCRCError().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setBadSourceIDBit | ( | const bool | bitSet | ) |
Definition at line 943 of file SiStripFEDBufferComponents.cc.
References trailer_.
Referenced by FEDDAQTrailer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setCRC | ( | const uint16_t | crc | ) |
Definition at line 929 of file SiStripFEDBufferComponents.cc.
References trailer_.
Referenced by FEDDAQTrailer(), and sistrip::FEDBufferGenerator::fillBuffer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setEventLengthIn64BitWords | ( | const uint32_t | eventLengthIn64BitWords | ) |
Definition at line 921 of file SiStripFEDBufferComponents.cc.
References trailer_.
Referenced by FEDDAQTrailer(), and sistrip::FEDBufferGenerator::fillBuffer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setEventStatusNibble | ( | const uint8_t | eventStatusNibble | ) |
Definition at line 957 of file SiStripFEDBufferComponents.cc.
References trailer_.
Referenced by FEDDAQTrailer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setSLinkCRCErrorBit | ( | const bool | bitSet | ) |
Definition at line 950 of file SiStripFEDBufferComponents.cc.
References trailer_.
Referenced by FEDDAQTrailer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setSLinkTransmissionErrorBit | ( | const bool | bitSet | ) |
Definition at line 936 of file SiStripFEDBufferComponents.cc.
References trailer_.
Referenced by FEDDAQTrailer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setTTSBits | ( | const FEDTTSBits | ttsBits | ) |
Definition at line 963 of file SiStripFEDBufferComponents.cc.
References trailer_.
Referenced by FEDDAQTrailer().
|
inline |
Definition at line 201 of file SiStripFEDBufferComponents.h.
References rBit().
Referenced by sistrip::FEDBufferBase::checkNoSlinkCRCError().
|
inline |
Definition at line 189 of file SiStripFEDBufferComponents.h.
References cBit().
Referenced by sistrip::FEDBufferBase::checkNoSLinkTransmissionError().
|
inline |
Definition at line 1318 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by lastTrailer().
FEDTTSBits sistrip::FEDDAQTrailer::ttsBits | ( | ) | const |
Definition at line 887 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().
|
inline |
Definition at line 1313 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by ttsBits().
|
private |
Definition at line 216 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().