#include <SiStripFEDSpyBuffer.h>
Public Member Functions | |
virtual bool | channelGood (const uint8_t internalFEDannelNum) const |
bool | delayChipGood (const uint8_t delayChip) const |
uint32_t | delayChipL1ID (const uint8_t delayChip) const |
uint32_t | delayChipTotalEventCount (const uint8_t delayChip) const |
FEDSpyBuffer (const uint8_t *fedBuffer, const size_t fedBufferSize) | |
uint32_t | globalRunNumber () const |
virtual void | print (std::ostream &os) const |
uint32_t | spyHeaderL1ID () const |
uint32_t | spyHeaderTotalEventCount () const |
virtual | ~FEDSpyBuffer () |
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 |
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 |
virtual std::string | checkSummary () 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 |
FEDDataType | dataType () 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 |
bool | majorityAddressErrorForFEUnit (const uint8_t internalFEUnitNum) const |
uint8_t | nFEUnitsEnabled () const |
FEDReadoutMode | readoutMode () const |
uint16_t | sourceID () const |
TrackerSpecialHeader | trackerSpecialHeader () const |
virtual | ~FEDBufferBase () |
Private Member Functions | |
void | findChannels () |
Private Attributes | |
uint16_t | payloadLength_ |
const uint8_t * | payloadPointer_ |
uint8_t | versionId_ |
Static Private Attributes | |
static const uint8_t | channelPositionsInData_ [FEDCH_PER_DELAY_CHIP] = { 0, 3, 2, 1 } |
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 32 of file SiStripFEDSpyBuffer.h.
sistrip::FEDSpyBuffer::FEDSpyBuffer | ( | const uint8_t * | fedBuffer, |
const size_t | fedBufferSize | ||
) |
Definition at line 8 of file SiStripFEDSpyBuffer.cc.
References Exception, findChannels(), payloadPointer_, sistrip::READOUT_MODE_SPY, sistrip::FEDBufferBase::readoutMode(), and versionId_.
|
virtual |
Definition at line 25 of file SiStripFEDSpyBuffer.cc.
|
virtual |
Reimplemented from sistrip::FEDBufferBase.
Definition at line 146 of file SiStripFEDSpyBuffer.cc.
References delayChipGood(), and sistrip::FEDCH_PER_DELAY_CHIP.
bool sistrip::FEDSpyBuffer::delayChipGood | ( | const uint8_t | delayChip | ) | const |
Definition at line 118 of file SiStripFEDSpyBuffer.cc.
References delayChipL1ID(), delayChipTotalEventCount(), sistrip::FEDBufferBase::dump(), spyHeaderL1ID(), spyHeaderTotalEventCount(), contentValuesCheck::ss, and versionId_.
Referenced by channelGood().
uint32_t sistrip::FEDSpyBuffer::delayChipL1ID | ( | const uint8_t | delayChip | ) | const |
Definition at line 90 of file SiStripFEDSpyBuffer.cc.
References payloadPointer_, query::result, and sistrip::SPY_DELAY_CHIP_BUFFER_SIZE_IN_BYTES.
Referenced by delayChipGood(), and spyHeaderL1ID().
uint32_t sistrip::FEDSpyBuffer::delayChipTotalEventCount | ( | const uint8_t | delayChip | ) | const |
Definition at line 101 of file SiStripFEDSpyBuffer.cc.
References payloadPointer_, query::result, and sistrip::SPY_DELAY_CHIP_BUFFER_SIZE_IN_BYTES.
Referenced by delayChipGood(), and spyHeaderTotalEventCount().
|
private |
Definition at line 29 of file SiStripFEDSpyBuffer.cc.
References sistrip::FEDBufferBase::bufferSize(), channelPositionsInData_, sistrip::FEDBufferBase::channels_, sistrip::DELAY_CHIPS_PER_FED, Exception, sistrip::FEDCH_PER_DELAY_CHIP, i, payloadLength_, payloadPointer_, sistrip::SPY_DELAY_CHIP_BUFFER_SIZE_IN_BYTES, sistrip::SPY_DELAYCHIP_DATA_OFFSET_IN_BITS, and sistrip::SPY_SAMPLES_PER_CHANNEL.
Referenced by FEDSpyBuffer().
uint32_t sistrip::FEDSpyBuffer::globalRunNumber | ( | ) | const |
Definition at line 48 of file SiStripFEDSpyBuffer.cc.
References sistrip::FEDBufferBase::getPointerToDataAfterTrackerSpecialHeader(), query::result, and versionId_.
|
virtual |
Reimplemented from sistrip::FEDBufferBase.
Definition at line 112 of file SiStripFEDSpyBuffer.cc.
References sistrip::FEDBufferBase::print().
uint32_t sistrip::FEDSpyBuffer::spyHeaderL1ID | ( | ) | const |
Definition at line 62 of file SiStripFEDSpyBuffer.cc.
References delayChipL1ID(), payloadPointer_, query::result, and versionId_.
Referenced by delayChipGood().
uint32_t sistrip::FEDSpyBuffer::spyHeaderTotalEventCount | ( | ) | const |
Definition at line 76 of file SiStripFEDSpyBuffer.cc.
References delayChipTotalEventCount(), payloadPointer_, query::result, and versionId_.
Referenced by delayChipGood().
|
staticprivate |
Definition at line 57 of file SiStripFEDSpyBuffer.h.
Referenced by findChannels().
|
private |
Definition at line 63 of file SiStripFEDSpyBuffer.h.
Referenced by findChannels().
|
private |
Definition at line 62 of file SiStripFEDSpyBuffer.h.
Referenced by delayChipL1ID(), delayChipTotalEventCount(), FEDSpyBuffer(), findChannels(), spyHeaderL1ID(), and spyHeaderTotalEventCount().
|
private |
Definition at line 64 of file SiStripFEDSpyBuffer.h.
Referenced by delayChipGood(), FEDSpyBuffer(), globalRunNumber(), spyHeaderL1ID(), and spyHeaderTotalEventCount().