#include <SiStripFEDBufferComponents.h>
Private Types | |
enum | bufferPositions { BUFFER_POSITION_QDR_MEMORY =0, BUFFER_POSITION_FRAME_ADDRESS_FIFO =1, BUFFER_POSITION_TOTAL_LENGTH_FIFO =2, BUFFER_POSITION_TRACKER_HEADER_FIFO =3, BUFFER_POSITION_L1ABX_FIFO =4, BUFFER_POSITION_FE_EVENT_LENGTH_FIFO =5, BUFFER_POSITION_FE_FPGA_BUFFER =6 } |
enum | stateOffsets { STATE_OFFSET_FULL =8, STATE_OFFSET_PARTIAL_FULL =16, STATE_OFFSET_EMPTY =24 } |
Private Member Functions | |
bool | getBit (const uint8_t num) const |
FEDBufferState | getBufferState (const uint8_t bufferPosition) const |
void | printFlagsForBuffer (const FEDBufferState bufferState, const std::string name, std::ostream &os) const |
void | setBit (const uint8_t num, const bool bitSet) |
void | setBufferSate (const uint8_t bufferPosition, const FEDBufferState state) |
Private Attributes | |
uint32_t | data_ |
Definition at line 338 of file SiStripFEDBufferComponents.h.
|
private |
Definition at line 394 of file SiStripFEDBufferComponents.h.
|
private |
Enumerator | |
---|---|
STATE_OFFSET_FULL | |
STATE_OFFSET_PARTIAL_FULL | |
STATE_OFFSET_EMPTY |
Definition at line 401 of file SiStripFEDBufferComponents.h.
|
inline |
Definition at line 888 of file SiStripFEDBufferComponents.h.
Referenced by sistrip::FEDFullDebugHeader::beStatusRegister().
sistrip::FEDBackendStatusRegister::FEDBackendStatusRegister | ( | const FEDBufferState | qdrMemoryBufferState = BUFFER_STATE_UNSET , |
const FEDBufferState | frameAddressFIFOBufferState = BUFFER_STATE_UNSET , |
||
const FEDBufferState | totalLengthFIFOBufferState = BUFFER_STATE_UNSET , |
||
const FEDBufferState | trackerHeaderFIFOBufferState = BUFFER_STATE_UNSET , |
||
const FEDBufferState | l1aBxFIFOBufferState = BUFFER_STATE_UNSET , |
||
const FEDBufferState | feEventLengthFIFOBufferState = BUFFER_STATE_UNSET , |
||
const FEDBufferState | feFPGABufferState = BUFFER_STATE_UNSET , |
||
const bool | backpressure = false , |
||
const bool | slinkFull = false , |
||
const bool | slinkDown = false , |
||
const bool | internalFreeze = false , |
||
const bool | trackerHeaderMonitorDataReady = false , |
||
const bool | ttcReady = true |
||
) |
Definition at line 672 of file SiStripFEDBufferComponents.cc.
References setBackpressureFlag(), setFEEventLengthFIFOState(), setFEFPGABufferState(), setFrameAddressFIFOState(), setInternalFreezeFlag(), setL1ABXFIFOState(), setQDRMemoryState(), setSLinkDownFlag(), setSLinkFullFlag(), setTotalLengthFIFOState(), setTrackerHeaderFIFOState(), setTrackerHeaderMonitorDataReadyFlag(), and setTTCReadyFlag().
|
inline |
Definition at line 909 of file SiStripFEDBufferComponents.h.
References getBit().
|
inline |
Definition at line 961 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_FE_EVENT_LENGTH_FIFO, and getBufferState().
|
inline |
Definition at line 966 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_FE_FPGA_BUFFER, and getBufferState().
|
inline |
Definition at line 941 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_FRAME_ADDRESS_FIFO, and getBufferState().
|
inlineprivate |
Definition at line 897 of file SiStripFEDBufferComponents.h.
References data_, and globals_cff::x1.
Referenced by sistrip::FEDFullDebugHeader::apvAddressErrorFromBit(), sistrip::FEDFullDebugHeader::apvErrorFromBit(), backpressureFlag(), internalFreezeFlag(), sistrip::FEDFullDebugHeader::outOfSyncFromBit(), slinkDownFlag(), slinkFullFlag(), trackerHeaderMonitorDataReadyFlag(), ttcReadyFlag(), and sistrip::FEDFullDebugHeader::unlockedFromBit().
|
private |
Definition at line 637 of file SiStripFEDBufferComponents.cc.
References sistrip::BUFFER_STATE_EMPTY, sistrip::BUFFER_STATE_FULL, sistrip::BUFFER_STATE_PARTIAL_FULL, sistrip::FEDStatusRegister::getBit(), and mps_fire::result.
Referenced by feEventLengthFIFOState(), feFPGABufferState(), frameAddressFIFOState(), l1aBxFIFOState(), qdrMemoryState(), totalLengthFIFOState(), and trackerHeaderFIFOState().
|
inline |
Definition at line 900 of file SiStripFEDBufferComponents.h.
References getBit().
|
inline |
Definition at line 956 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_L1ABX_FIFO, and getBufferState().
|
inline |
|
inline |
Definition at line 894 of file SiStripFEDBufferComponents.h.
References data_, and sistrip::printHex().
void sistrip::FEDBackendStatusRegister::printFlags | ( | std::ostream & | os | ) | const |
Definition at line 612 of file SiStripFEDBufferComponents.cc.
References sistrip::FEDStatusRegister::l1aBxFIFOState(), sistrip::FEDStatusRegister::qdrMemoryState(), sistrip::FEDStatusRegister::slinkFullFlag(), and sistrip::FEDStatusRegister::trackerHeaderMonitorDataReadyFlag().
|
private |
Definition at line 629 of file SiStripFEDBufferComponents.cc.
References sistrip::BUFFER_STATE_EMPTY, sistrip::BUFFER_STATE_FULL, sistrip::BUFFER_STATE_PARTIAL_FULL, and sistrip::BUFFER_STATE_UNSET.
|
inline |
Definition at line 936 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_QDR_MEMORY, and getBufferState().
|
inline |
Definition at line 927 of file SiStripFEDBufferComponents.h.
References setBit().
Referenced by FEDBackendStatusRegister().
|
private |
Definition at line 665 of file SiStripFEDBufferComponents.cc.
References sistrip::FEDStatusRegister::data_, RecoTauDiscriminantConfiguration::mask, and pileupDistInMC::num.
Referenced by sistrip::FEDFullDebugHeader::setAPVAddressError(), sistrip::FEDFullDebugHeader::setAPVError(), setBackpressureFlag(), setInternalFreezeFlag(), sistrip::FEDFullDebugHeader::setOutOfSync(), setSLinkDownFlag(), setSLinkFullFlag(), setTrackerHeaderMonitorDataReadyFlag(), setTTCReadyFlag(), and sistrip::FEDFullDebugHeader::setUnlocked().
|
private |
Definition at line 646 of file SiStripFEDBufferComponents.cc.
References sistrip::BUFFER_STATE_EMPTY, sistrip::BUFFER_STATE_FULL, sistrip::BUFFER_STATE_PARTIAL_FULL, sistrip::BUFFER_STATE_UNSET, Exception, sistrip::printHex(), and sistrip::FEDStatusRegister::setBit().
Referenced by setFEEventLengthFIFOState(), setFEFPGABufferState(), setFrameAddressFIFOState(), setL1ABXFIFOState(), setQDRMemoryState(), setTotalLengthFIFOState(), and setTrackerHeaderFIFOState().
|
inline |
Definition at line 1001 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_FE_EVENT_LENGTH_FIFO, and setBufferSate().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 1007 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_FE_FPGA_BUFFER, and setBufferSate().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 977 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_FRAME_ADDRESS_FIFO, and setBufferSate().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 918 of file SiStripFEDBufferComponents.h.
References setBit().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 995 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_L1ABX_FIFO, and setBufferSate().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 971 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_QDR_MEMORY, and setBufferSate().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 921 of file SiStripFEDBufferComponents.h.
References setBit().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 924 of file SiStripFEDBufferComponents.h.
References setBit().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 983 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_TOTAL_LENGTH_FIFO, and setBufferSate().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 989 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_TRACKER_HEADER_FIFO, and setBufferSate().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 933 of file SiStripFEDBufferComponents.h.
References setBit().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 930 of file SiStripFEDBufferComponents.h.
References setBit().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 903 of file SiStripFEDBufferComponents.h.
References getBit().
|
inline |
Definition at line 906 of file SiStripFEDBufferComponents.h.
References getBit().
|
inline |
Definition at line 946 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_TOTAL_LENGTH_FIFO, and getBufferState().
|
inline |
Definition at line 951 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_TRACKER_HEADER_FIFO, and getBufferState().
|
inline |
Definition at line 915 of file SiStripFEDBufferComponents.h.
References getBit().
|
inline |
Definition at line 912 of file SiStripFEDBufferComponents.h.
References getBit().
|
private |
Definition at line 404 of file SiStripFEDBufferComponents.h.
Referenced by getBit(), operator uint32_t(), and print().