#include <SiStripFEDBufferComponents.h>
Public Member Functions | |
bool | checkChannelStatusBits (const uint8_t internalFEDChannelNum) const override |
bool | checkStatusBits (const uint8_t internalFEDChannelNum, const uint8_t apvNum) const override |
FEDAPVErrorHeader * | clone () const override |
const uint8_t * | data () const override |
FEDAPVErrorHeader (const uint8_t *headerBuffer) | |
FEDAPVErrorHeader (const std::vector< bool > &apvsGood=std::vector< bool >(APVS_PER_FED, true)) | |
size_t | lengthInBytes () const override |
void | print (std::ostream &os) const override |
void | set32BitReservedRegister (const uint8_t internalFEUnitNum, const uint32_t reservedRegister) override |
FEDAPVErrorHeader & | setAPVStatusBit (const uint8_t internalFEDChannelNum, const uint8_t apvNum, const bool apvGood) |
FEDAPVErrorHeader & | setAPVStatusBit (const uint8_t internalFEUnitNum, const uint8_t internalFEUnitChannelNum, const uint8_t apvNum, const bool apvGood) |
void | setBEStatusRegister (const FEDBackendStatusRegister beStatusRegister) override |
void | setChannelStatus (const uint8_t internalFEDChannelNum, const FEDChannelStatus status) override |
void | setDAQRegister (const uint32_t daqRegister) override |
void | setDAQRegister2 (const uint32_t daqRegister2) override |
void | setFEUnitLength (const uint8_t internalFEUnitNum, const uint16_t length) override |
void | setFEUnitMajorityAddress (const uint8_t internalFEUnitNum, const uint8_t address) override |
~FEDAPVErrorHeader () override | |
Public Member Functions inherited from sistrip::FEDFEHeader | |
bool | checkChannelStatusBits (const uint8_t internalFEUnitNum, const uint8_t internalFEUnitChannelNum) const |
bool | checkStatusBits (const uint8_t internalFEUnitNum, const uint8_t internalFEUnitChannelNum, const uint8_t apvNum) const |
void | setChannelStatus (const uint8_t internalFEUnitNum, const uint8_t internalFEUnitChannelNum, const FEDChannelStatus status) |
virtual | ~FEDFEHeader () |
Private Attributes | |
uint8_t | header_ [APV_ERROR_HEADER_SIZE_IN_BYTES] |
Static Private Attributes | |
static const size_t | APV_ERROR_HEADER_SIZE_IN_64BIT_WORDS = 3 |
static const size_t | APV_ERROR_HEADER_SIZE_IN_BYTES = APV_ERROR_HEADER_SIZE_IN_64BIT_WORDS * 8 |
Additional Inherited Members | |
Static Public Member Functions inherited from sistrip::FEDFEHeader | |
static std::unique_ptr< FEDFEHeader > | newFEFakeHeader (const FEDHeaderType headerType) |
static std::unique_ptr< FEDFEHeader > | newFEHeader (const FEDHeaderType headerType, const uint8_t *headerBuffer) |
static std::unique_ptr< FEDFEHeader > | newFEHeader (const FEDHeaderType headerType) |
Definition at line 502 of file SiStripFEDBufferComponents.h.
|
inlineexplicit |
Definition at line 1187 of file SiStripFEDBufferComponents.h.
References APV_ERROR_HEADER_SIZE_IN_BYTES, and header_.
Referenced by clone().
|
override |
Definition at line 1047 of file SiStripFEDBufferComponents.cc.
sistrip::FEDAPVErrorHeader::FEDAPVErrorHeader | ( | const std::vector< bool > & | apvsGood = std::vector<bool>(APVS_PER_FED, true) | ) |
Definition at line 1069 of file SiStripFEDBufferComponents.cc.
References APV_ERROR_HEADER_SIZE_IN_BYTES, sistrip::FEDCH_PER_FED, header_, and setAPVStatusBit().
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1063 of file SiStripFEDBufferComponents.cc.
References checkStatusBits(), and sistrip::internalFEDChannelNum().
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1055 of file SiStripFEDBufferComponents.cc.
References L1TBPTX_cfi::bitNumber, sistrip::FEDCH_PER_FEUNIT, header_, and sistrip::internalFEDChannelNum().
Referenced by checkChannelStatusBits().
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1053 of file SiStripFEDBufferComponents.cc.
References FEDAPVErrorHeader().
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1067 of file SiStripFEDBufferComponents.cc.
References header_.
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1049 of file SiStripFEDBufferComponents.cc.
References APV_ERROR_HEADER_SIZE_IN_BYTES.
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1051 of file SiStripFEDBufferComponents.cc.
References APV_ERROR_HEADER_SIZE_IN_BYTES, header_, l1tGTMenu_BTagSeeds_cff::os, and sistrip::printHex().
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1116 of file SiStripFEDBufferComponents.cc.
FEDAPVErrorHeader & sistrip::FEDAPVErrorHeader::setAPVStatusBit | ( | const uint8_t | internalFEDChannelNum, |
const uint8_t | apvNum, | ||
const bool | apvGood | ||
) |
Definition at line 1077 of file SiStripFEDBufferComponents.cc.
References L1TBPTX_cfi::bitNumber, sistrip::FEDCH_PER_FED, header_, sistrip::internalFEDChannelNum(), and ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask.
Referenced by FEDAPVErrorHeader(), setAPVStatusBit(), and setChannelStatus().
|
inline |
Definition at line 1191 of file SiStripFEDBufferComponents.h.
References sistrip::internalFEDChannelNum(), and setAPVStatusBit().
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1113 of file SiStripFEDBufferComponents.cc.
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1090 of file SiStripFEDBufferComponents.cc.
References sistrip::CHANNEL_STATUS_APV0_ADDRESS_GOOD, sistrip::CHANNEL_STATUS_APV0_NO_ERROR_BIT, sistrip::CHANNEL_STATUS_APV1_ADDRESS_GOOD, sistrip::CHANNEL_STATUS_APV1_NO_ERROR_BIT, sistrip::CHANNEL_STATUS_IN_SYNC, sistrip::CHANNEL_STATUS_LOCKED, sistrip::internalFEDChannelNum(), setAPVStatusBit(), and mps_update::status.
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1114 of file SiStripFEDBufferComponents.cc.
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1115 of file SiStripFEDBufferComponents.cc.
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1119 of file SiStripFEDBufferComponents.cc.
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1112 of file SiStripFEDBufferComponents.cc.
|
staticprivate |
Definition at line 530 of file SiStripFEDBufferComponents.h.
|
staticprivate |
Definition at line 531 of file SiStripFEDBufferComponents.h.
Referenced by FEDAPVErrorHeader(), lengthInBytes(), and print().
|
private |
Definition at line 532 of file SiStripFEDBufferComponents.h.
Referenced by checkStatusBits(), data(), FEDAPVErrorHeader(), print(), and setAPVStatusBit().