#include <Phase2TrackerFEDDAQTrailer.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 |
void | setBadSourceIDBit (const bool bitSet) |
void | setCRC (const uint16_t crc) |
void | setEventLengthIn64BitWords (const uint32_t eventLengthIn64BitWords) |
void | setEventStatusNibble (const uint8_t eventStatusNibble) |
void | setSLinkCRCErrorBit (const bool bitSet) |
void | setSLinkTransmissionErrorBit (const bool bitSet) |
void | 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 30 of file Phase2TrackerFEDDAQTrailer.h.
|
inline |
Definition at line 32 of file Phase2TrackerFEDDAQTrailer.h.
|
inlineexplicit |
Definition at line 86 of file Phase2TrackerFEDDAQTrailer.h.
References trailer_.
Phase2Tracker::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 58 of file Phase2TrackerFEDDAQTrailer.cc.
References setBadSourceIDBit(), setCRC(), setEventLengthIn64BitWords(), setEventStatusNibble(), setSLinkCRCErrorBit(), setSLinkTransmissionErrorBit(), setTTSBits(), and trailer_.
|
inline |
|
inline |
Definition at line 98 of file Phase2TrackerFEDDAQTrailer.h.
References trailer_.
Referenced by slinkTransmissionError().
|
inline |
Definition at line 96 of file Phase2TrackerFEDDAQTrailer.h.
References trailer_.
Referenced by Phase2Tracker::Phase2TrackerFEDBuffer::daqCRC().
|
inline |
Definition at line 112 of file Phase2TrackerFEDDAQTrailer.h.
References trailer_.
|
inline |
Definition at line 88 of file Phase2TrackerFEDDAQTrailer.h.
References trailer_.
|
inline |
Definition at line 90 of file Phase2TrackerFEDDAQTrailer.h.
References trailer_.
Referenced by Phase2Tracker::Phase2TrackerFEDBuffer::daqEventLengthIn64bitWords(), and eventLengthInBytes().
|
inline |
Definition at line 94 of file Phase2TrackerFEDDAQTrailer.h.
References eventLengthIn64BitWords().
Referenced by Phase2Tracker::Phase2TrackerFEDBuffer::daqEventLengthInBytes().
|
inline |
Definition at line 102 of file Phase2TrackerFEDDAQTrailer.h.
References trailer_.
|
inline |
Definition at line 100 of file Phase2TrackerFEDDAQTrailer.h.
References trailer_.
Referenced by badSourceID().
|
inline |
|
inline |
Definition at line 110 of file Phase2TrackerFEDDAQTrailer.h.
References Phase2Tracker::printHex(), and trailer_.
|
inline |
Definition at line 108 of file Phase2TrackerFEDDAQTrailer.h.
References trailer_.
Referenced by slinkCRCError().
void Phase2Tracker::FEDDAQTrailer::setBadSourceIDBit | ( | const bool | bitSet | ) |
Definition at line 97 of file Phase2TrackerFEDDAQTrailer.cc.
References trailer_.
Referenced by FEDDAQTrailer().
void Phase2Tracker::FEDDAQTrailer::setCRC | ( | const uint16_t | crc | ) |
Definition at line 85 of file Phase2TrackerFEDDAQTrailer.cc.
References trailer_.
Referenced by FEDDAQTrailer().
void Phase2Tracker::FEDDAQTrailer::setEventLengthIn64BitWords | ( | const uint32_t | eventLengthIn64BitWords | ) |
Definition at line 79 of file Phase2TrackerFEDDAQTrailer.cc.
References trailer_.
Referenced by FEDDAQTrailer().
void Phase2Tracker::FEDDAQTrailer::setEventStatusNibble | ( | const uint8_t | eventStatusNibble | ) |
Definition at line 111 of file Phase2TrackerFEDDAQTrailer.cc.
References trailer_.
Referenced by FEDDAQTrailer().
void Phase2Tracker::FEDDAQTrailer::setSLinkCRCErrorBit | ( | const bool | bitSet | ) |
Definition at line 104 of file Phase2TrackerFEDDAQTrailer.cc.
References trailer_.
Referenced by FEDDAQTrailer().
void Phase2Tracker::FEDDAQTrailer::setSLinkTransmissionErrorBit | ( | const bool | bitSet | ) |
Definition at line 90 of file Phase2TrackerFEDDAQTrailer.cc.
References trailer_.
Referenced by FEDDAQTrailer().
void Phase2Tracker::FEDDAQTrailer::setTTSBits | ( | const FEDTTSBits | ttsBits | ) |
Definition at line 115 of file Phase2TrackerFEDDAQTrailer.cc.
References trailer_.
Referenced by FEDDAQTrailer().
|
inline |
|
inline |
|
inline |
Definition at line 106 of file Phase2TrackerFEDDAQTrailer.h.
References trailer_.
Referenced by lastTrailer().
FEDTTSBits Phase2Tracker::FEDDAQTrailer::ttsBits | ( | ) | const |
Definition at line 43 of file Phase2TrackerFEDDAQTrailer.cc.
References Phase2Tracker::TTS_BUSY, Phase2Tracker::TTS_DISCONNECTED0, Phase2Tracker::TTS_DISCONNECTED1, Phase2Tracker::TTS_ERROR, Phase2Tracker::TTS_INVALID, Phase2Tracker::TTS_OUT_OF_SYNC, Phase2Tracker::TTS_READY, Phase2Tracker::TTS_WARN_OVERFLOW, and ttsNibble().
Referenced by Phase2Tracker::Phase2TrackerFEDBuffer::daqTTSState().
|
inline |
Definition at line 104 of file Phase2TrackerFEDDAQTrailer.h.
References trailer_.
Referenced by ttsBits().
|
private |
Definition at line 78 of file Phase2TrackerFEDDAQTrailer.h.
Referenced by cBit(), crc(), data(), eoeNibble(), eventLengthIn64BitWords(), eventStatusNibble(), fBit(), FEDDAQTrailer(), print(), rBit(), setBadSourceIDBit(), setCRC(), setEventLengthIn64BitWords(), setEventStatusNibble(), setSLinkCRCErrorBit(), setSLinkTransmissionErrorBit(), setTTSBits(), tBit(), and ttsNibble().