#include <SiStripFEDBuffer.h>
Public Member Functions | |
virtual bool | channelGood (const uint8_t internalFEDannelNum, const bool doAPVeCheck=true) const |
bool | checkAllChannelStatusBits () const |
bool | checkChannelLengths () const |
bool | checkChannelLengthsMatchBufferLength () const |
bool | checkChannelPacketCodes () const |
bool | checkFEPayloadsPresent () const |
bool | checkFEUnitAPVAddresses () const |
bool | checkFEUnitLengths () const |
bool | checkStatusBits (const uint8_t internalFEDChannelNum) const |
bool | checkStatusBits (const uint8_t internalFEUnitNum, const uint8_t internalChannelNum) const |
virtual std::string | checkSummary () const |
virtual bool | doChecks (bool doCRC=true) const |
virtual bool | doCorruptBufferChecks () const |
FEDBuffer (const uint8_t *fedBuffer, const uint16_t fedBufferSize, const bool allowBadBuffer=false) | |
bool | feGood (const uint8_t internalFEUnitNum) const |
bool | feGoodWithoutAPVEmulatorCheck (const uint8_t internalFEUnitNum) const |
const FEDFEHeader * | feHeader () const |
bool | fePresent (uint8_t internalFEUnitNum) const |
virtual void | print (std::ostream &os) const |
void | setLegacyMode (bool legacy) |
virtual | ~FEDBuffer () |
Public Member Functions inherited from sistrip::FEDBufferBase | |
uint8_t | apveAddress () const |
FEDBufferFormat | bufferFormat () const |
size_t | bufferSize () const |
uint16_t | calcCRC () const |
const FEDChannel & | channel (const uint8_t internalFEDChannelNum) const |
const FEDChannel & | channel (const uint8_t internalFEUnitNum, const uint8_t internalChannelNum) const |
virtual bool | channelGood (const uint8_t internalFEDChannelNum) const |
bool | channelGood (const uint8_t internalFEUnitNum, const uint8_t internalChannelNum) const |
bool | checkAPVEAddressValid () const |
bool | checkBufferFormat () const |
bool | checkCRC () const |
bool | checkHeaderType () const |
bool | checkLengthFromTrailer () const |
bool | checkMajorityAddresses () const |
bool | checkNoExtraHeadersOrTrailers () const |
bool | checkNoFEOverflows () const |
bool | checkNoSlinkCRCError () const |
bool | checkNoSLinkTransmissionError () const |
bool | checkNoUnexpectedSourceID () const |
bool | checkReadoutMode () const |
bool | checkSourceIDs () const |
uint16_t | daqBXID () const |
uint16_t | daqCRC () const |
uint32_t | daqEventLengthIn64bitWords () const |
uint32_t | daqEventLengthInBytes () const |
FEDDAQEventType | daqEventType () const |
FEDDAQHeader | daqHeader () const |
uint32_t | daqLvl1ID () const |
uint16_t | daqSourceID () const |
FEDDAQTrailer | daqTrailer () const |
FEDTTSBits | daqTTSState () const |
virtual bool | doChecks () const |
bool | doDAQHeaderAndTrailerChecks () const |
bool | doTrackerSpecialHeaderChecks () const |
void | dump (std::ostream &os) const |
void | dumpOriginalBuffer (std::ostream &os) const |
FEDBufferBase (const uint8_t *fedBuffer, const size_t fedBufferSize, const bool allowUnrecognizedFormat=false) | |
FEDStatusRegister | fedStatusRegister () const |
bool | feEnabled (const uint8_t internalFEUnitNum) const |
bool | feOverflow (const uint8_t internalFEUnitNum) const |
FEDHeaderType | headerType () const |
FEDLegacyReadoutMode | legacyReadoutMode () const |
bool | majorityAddressErrorForFEUnit (const uint8_t internalFEUnitNum) const |
uint8_t | nFEUnitsEnabled () const |
uint8_t | packetCode (bool legacy=false, const uint8_t internalFEDChannelNum=0) const |
FEDReadoutMode | readoutMode () const |
uint16_t | sourceID () const |
TrackerSpecialHeader | trackerSpecialHeader () const |
virtual | ~FEDBufferBase () |
Private Member Functions | |
uint16_t | calculateFEUnitLength (const uint8_t internalFEUnitNumber) const |
void | findChannels () |
uint8_t | getCorrectPacketCode () const |
uint8_t | nFEUnitsPresent () const |
Private Attributes | |
std::auto_ptr< FEDFEHeader > | feHeader_ |
bool | fePresent_ [FEUNITS_PER_FED] |
bool | legacyUnpacker_ =false |
uint16_t | payloadLength_ |
const uint8_t * | payloadPointer_ |
uint8_t | validChannels_ |
Additional Inherited Members | |
Protected Member Functions inherited from sistrip::FEDBufferBase | |
FEDBufferBase (const uint8_t *fedBuffer, const size_t fedBufferSize, const bool allowUnrecognizedFormat, const bool fillChannelVector) | |
const uint8_t * | getPointerToByteAfterEndOfPayload () const |
const uint8_t * | getPointerToDataAfterTrackerSpecialHeader () const |
Protected Attributes inherited from sistrip::FEDBufferBase | |
std::vector< FEDChannel > | channels_ |
Definition at line 22 of file SiStripFEDBuffer.h.
sistrip::FEDBuffer::FEDBuffer | ( | const uint8_t * | fedBuffer, |
const uint16_t | fedBufferSize, | ||
const bool | allowBadBuffer = false |
||
) |
Definition at line 12 of file SiStripFEDBuffer.cc.
|
virtual |
Definition at line 67 of file SiStripFEDBuffer.cc.
|
private |
Definition at line 289 of file SiStripFEDBuffer.cc.
|
virtual |
Definition at line 156 of file SiStripFEDBuffer.cc.
bool sistrip::FEDBuffer::checkAllChannelStatusBits | ( | ) | const |
Definition at line 186 of file SiStripFEDBuffer.cc.
bool sistrip::FEDBuffer::checkChannelLengths | ( | ) | const |
Definition at line 201 of file SiStripFEDBuffer.cc.
bool sistrip::FEDBuffer::checkChannelLengthsMatchBufferLength | ( | ) | const |
Definition at line 206 of file SiStripFEDBuffer.cc.
bool sistrip::FEDBuffer::checkChannelPacketCodes | ( | ) | const |
Definition at line 235 of file SiStripFEDBuffer.cc.
bool sistrip::FEDBuffer::checkFEPayloadsPresent | ( | ) | const |
Definition at line 299 of file SiStripFEDBuffer.cc.
bool sistrip::FEDBuffer::checkFEUnitAPVAddresses | ( | ) | const |
Definition at line 256 of file SiStripFEDBuffer.cc.
bool sistrip::FEDBuffer::checkFEUnitLengths | ( | ) | const |
Definition at line 275 of file SiStripFEDBuffer.cc.
|
inline |
Definition at line 195 of file SiStripFEDBuffer.h.
|
inline |
Definition at line 200 of file SiStripFEDBuffer.h.
|
virtual |
Reimplemented from sistrip::FEDBufferBase.
Definition at line 307 of file SiStripFEDBuffer.cc.
|
virtual |
Definition at line 165 of file SiStripFEDBuffer.cc.
|
virtual |
Definition at line 176 of file SiStripFEDBuffer.cc.
|
inline |
Definition at line 180 of file SiStripFEDBuffer.h.
|
inline |
Definition at line 185 of file SiStripFEDBuffer.h.
|
inline |
Definition at line 175 of file SiStripFEDBuffer.h.
|
inline |
Definition at line 190 of file SiStripFEDBuffer.h.
|
private |
Definition at line 71 of file SiStripFEDBuffer.cc.
|
inlineprivate |
Definition at line 75 of file SiStripFEDBuffer.h.
|
private |
Definition at line 392 of file SiStripFEDBuffer.cc.
|
virtual |
Reimplemented from sistrip::FEDBufferBase.
Definition at line 401 of file SiStripFEDBuffer.cc.
|
inline |
Definition at line 40 of file SiStripFEDBuffer.h.
|
private |
Definition at line 77 of file SiStripFEDBuffer.h.
|
private |
Definition at line 81 of file SiStripFEDBuffer.h.
|
private |
Definition at line 82 of file SiStripFEDBuffer.h.
|
private |
Definition at line 79 of file SiStripFEDBuffer.h.
|
private |
Definition at line 78 of file SiStripFEDBuffer.h.
|
private |
Definition at line 80 of file SiStripFEDBuffer.h.