#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 203 of file SiStripFEDBufferComponents.h.
|
inline |
Definition at line 206 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 942 of file SiStripFEDBufferComponents.cc.
References setBadSourceIDBit(), setCRC(), setEventLengthIn64BitWords(), setEventStatusNibble(), setSLinkCRCErrorBit(), setSLinkTransmissionErrorBit(), setTTSBits(), and trailer_.
|
inline |
Definition at line 218 of file SiStripFEDBufferComponents.h.
References fBit().
Referenced by sistrip::FEDBufferBase::checkNoUnexpectedSourceID().
|
inline |
Definition at line 1317 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by slinkTransmissionError().
|
inline |
Definition at line 1312 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by sistrip::FEDBufferBase::daqCRC().
|
inline |
Definition at line 1352 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by cuy.FindIssue::__init__(), and sistrip::FEDBufferGenerator::fillBuffer().
|
inline |
Definition at line 1297 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by sistrip::FEDBufferBase::checkNoExtraHeadersOrTrailers().
|
inline |
Definition at line 1302 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by sistrip::FEDBufferBase::daqEventLengthIn64bitWords(), and eventLengthInBytes().
|
inline |
Definition at line 1307 of file SiStripFEDBufferComponents.h.
References eventLengthIn64BitWords().
Referenced by sistrip::FEDBufferBase::daqEventLengthInBytes().
|
inline |
|
inline |
Definition at line 1322 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by badSourceID().
|
inline |
|
inline |
Definition at line 1347 of file SiStripFEDBufferComponents.h.
References sistrip::printHex(), and trailer_.
Referenced by sistrip::operator<<().
|
inline |
Definition at line 1342 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by slinkCRCError().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setBadSourceIDBit | ( | const bool | bitSet | ) |
Definition at line 982 of file SiStripFEDBufferComponents.cc.
References trailer_.
Referenced by FEDDAQTrailer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setCRC | ( | const uint16_t | crc | ) |
Definition at line 968 of file SiStripFEDBufferComponents.cc.
References trailer_.
Referenced by FEDDAQTrailer(), and sistrip::FEDBufferGenerator::fillBuffer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setEventLengthIn64BitWords | ( | const uint32_t | eventLengthIn64BitWords | ) |
Definition at line 960 of file SiStripFEDBufferComponents.cc.
References trailer_.
Referenced by FEDDAQTrailer(), and sistrip::FEDBufferGenerator::fillBuffer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setEventStatusNibble | ( | const uint8_t | eventStatusNibble | ) |
Definition at line 996 of file SiStripFEDBufferComponents.cc.
References trailer_.
Referenced by FEDDAQTrailer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setSLinkCRCErrorBit | ( | const bool | bitSet | ) |
Definition at line 989 of file SiStripFEDBufferComponents.cc.
References trailer_.
Referenced by FEDDAQTrailer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setSLinkTransmissionErrorBit | ( | const bool | bitSet | ) |
Definition at line 975 of file SiStripFEDBufferComponents.cc.
References trailer_.
Referenced by FEDDAQTrailer().
FEDDAQTrailer & sistrip::FEDDAQTrailer::setTTSBits | ( | const FEDTTSBits | ttsBits | ) |
Definition at line 1002 of file SiStripFEDBufferComponents.cc.
References trailer_.
Referenced by FEDDAQTrailer().
|
inline |
Definition at line 227 of file SiStripFEDBufferComponents.h.
References rBit().
Referenced by sistrip::FEDBufferBase::checkNoSlinkCRCError().
|
inline |
Definition at line 215 of file SiStripFEDBufferComponents.h.
References cBit().
Referenced by sistrip::FEDBufferBase::checkNoSLinkTransmissionError().
|
inline |
Definition at line 1337 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by lastTrailer().
FEDTTSBits sistrip::FEDDAQTrailer::ttsBits | ( | ) | const |
Definition at line 926 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 1332 of file SiStripFEDBufferComponents.h.
References trailer_.
Referenced by ttsBits().
|
private |
Definition at line 242 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().