#include <SiStripFEDSpyBuffer.h>
Public Member Functions | |
bool | channelGood (const uint8_t internalFEDannelNum) const override |
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 FEDRawData &fedBuffer) | |
uint32_t | globalRunNumber () const |
void | print (std::ostream &os) const override |
uint32_t | spyHeaderL1ID () const |
uint32_t | spyHeaderTotalEventCount () const |
~FEDSpyBuffer () override | |
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 |
bool | doChecks () const |
bool | doDAQHeaderAndTrailerChecks () const |
bool | doTrackerSpecialHeaderChecks () const |
void | dump (std::ostream &os) const |
void | dumpOriginalBuffer (std::ostream &os) const |
FEDBufferBase (const FEDRawData &fedBuffer) | |
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 | |
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 FEDRawData &fedBuffer, 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 33 of file SiStripFEDSpyBuffer.h.
|
explicit |
constructor from a FEDRawData buffer
The sistrip::preconstructCheckFEDSpyBuffer() method should be used to check the validity of fedBuffer before constructing a sistrip::FEDBuffer.
Definition at line 8 of file SiStripFEDSpyBuffer.cc.
References findChannels(), payloadPointer_, and versionId_.
|
override |
Definition at line 21 of file SiStripFEDSpyBuffer.cc.
|
overridevirtual |
Reimplemented from sistrip::FEDBufferBase.
Definition at line 135 of file SiStripFEDSpyBuffer.cc.
References delayChipGood(), sistrip::FEDCH_PER_DELAY_CHIP, and sistrip::internalFEDChannelNum().
bool sistrip::FEDSpyBuffer::delayChipGood | ( | const uint8_t | delayChip | ) | const |
Definition at line 107 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 82 of file SiStripFEDSpyBuffer.cc.
References payloadPointer_, mps_fire::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 92 of file SiStripFEDSpyBuffer.cc.
References payloadPointer_, mps_fire::result, and sistrip::SPY_DELAY_CHIP_BUFFER_SIZE_IN_BYTES.
Referenced by delayChipGood(), and spyHeaderTotalEventCount().
|
private |
Definition at line 23 of file SiStripFEDSpyBuffer.cc.
References sistrip::FEDBufferBase::bufferSize(), channelPositionsInData_, sistrip::FEDBufferBase::channels_, sistrip::DELAY_CHIPS_PER_FED, Exception, sistrip::FEDCH_PER_DELAY_CHIP, mps_fire::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 43 of file SiStripFEDSpyBuffer.cc.
References sistrip::FEDBufferBase::getPointerToDataAfterTrackerSpecialHeader(), mps_fire::result, and versionId_.
|
overridevirtual |
Reimplemented from sistrip::FEDBufferBase.
Definition at line 102 of file SiStripFEDSpyBuffer.cc.
References l1tGTMenu_BTagSeeds_cff::os, and sistrip::FEDBufferBase::print().
uint32_t sistrip::FEDSpyBuffer::spyHeaderL1ID | ( | ) | const |
Definition at line 56 of file SiStripFEDSpyBuffer.cc.
References delayChipL1ID(), payloadPointer_, mps_fire::result, and versionId_.
Referenced by delayChipGood().
uint32_t sistrip::FEDSpyBuffer::spyHeaderTotalEventCount | ( | ) | const |
Definition at line 69 of file SiStripFEDSpyBuffer.cc.
References delayChipTotalEventCount(), payloadPointer_, mps_fire::result, and versionId_.
Referenced by delayChipGood().
|
staticprivate |
Definition at line 66 of file SiStripFEDSpyBuffer.h.
Referenced by findChannels().
|
private |
Definition at line 72 of file SiStripFEDSpyBuffer.h.
Referenced by findChannels().
|
private |
Definition at line 71 of file SiStripFEDSpyBuffer.h.
Referenced by delayChipL1ID(), delayChipTotalEventCount(), FEDSpyBuffer(), findChannels(), spyHeaderL1ID(), and spyHeaderTotalEventCount().
|
private |
Definition at line 73 of file SiStripFEDSpyBuffer.h.
Referenced by delayChipGood(), FEDSpyBuffer(), globalRunNumber(), spyHeaderL1ID(), and spyHeaderTotalEventCount().