#include <SiStripFEDBufferComponents.h>
Public Member Functions | |
virtual bool | checkChannelStatusBits (const uint8_t internalFEDChannelNum) const |
virtual bool | checkStatusBits (const uint8_t internalFEDChannelNum, const uint8_t apvNum) const |
virtual FEDAPVErrorHeader * | clone () const |
virtual const uint8_t * | data () const |
FEDAPVErrorHeader (const uint8_t *headerBuffer) | |
FEDAPVErrorHeader (const std::vector< bool > apvsGood=std::vector< bool >(APVS_PER_FED, true)) | |
virtual size_t | lengthInBytes () const |
virtual void | print (std::ostream &os) const |
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) |
virtual void | setBEStatusRegister (const FEDBackendStatusRegister beStatusRegister) |
virtual void | setChannelStatus (const uint8_t internalFEDChannelNum, const FEDChannelStatus status) |
virtual void | setFEUnitLength (const uint8_t internalFEUnitNum, const uint16_t length) |
virtual void | setFEUnitMajorityAddress (const uint8_t internalFEUnitNum, const uint8_t address) |
virtual | ~FEDAPVErrorHeader () |
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::auto_ptr< FEDFEHeader > | newFEFakeHeader (const FEDHeaderType headerType) |
static std::auto_ptr< FEDFEHeader > | newFEHeader (const FEDHeaderType headerType, const uint8_t *headerBuffer) |
static std::auto_ptr< FEDFEHeader > | newFEHeader (const FEDHeaderType headerType) |
Definition at line 412 of file SiStripFEDBufferComponents.h.
|
inlineexplicit |
Definition at line 1038 of file SiStripFEDBufferComponents.h.
References APV_ERROR_HEADER_SIZE_IN_BYTES, and header_.
Referenced by clone().
|
virtual |
Definition at line 957 of file SiStripFEDBufferComponents.cc.
sistrip::FEDAPVErrorHeader::FEDAPVErrorHeader | ( | const std::vector< bool > | apvsGood = std::vector<bool>(APVS_PER_FED,true) | ) |
Definition at line 994 of file SiStripFEDBufferComponents.cc.
References APV_ERROR_HEADER_SIZE_IN_BYTES, sistrip::FEDCH_PER_FED, header_, and setAPVStatusBit().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 984 of file SiStripFEDBufferComponents.cc.
References checkStatusBits().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 976 of file SiStripFEDBufferComponents.cc.
References sistrip::FEDCH_PER_FEUNIT, and header_.
Referenced by checkChannelStatusBits().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 971 of file SiStripFEDBufferComponents.cc.
References FEDAPVErrorHeader().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 989 of file SiStripFEDBufferComponents.cc.
References header_.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 961 of file SiStripFEDBufferComponents.cc.
References APV_ERROR_HEADER_SIZE_IN_BYTES.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 966 of file SiStripFEDBufferComponents.cc.
References APV_ERROR_HEADER_SIZE_IN_BYTES, header_, and sistrip::printHex().
FEDAPVErrorHeader & sistrip::FEDAPVErrorHeader::setAPVStatusBit | ( | const uint8_t | internalFEDChannelNum, |
const uint8_t | apvNum, | ||
const bool | apvGood | ||
) |
Definition at line 1003 of file SiStripFEDBufferComponents.cc.
References sistrip::FEDCH_PER_FED, and header_.
Referenced by FEDAPVErrorHeader(), setAPVStatusBit(), and setChannelStatus().
|
inline |
Definition at line 1043 of file SiStripFEDBufferComponents.h.
References sistrip::internalFEDChannelNum(), and setAPVStatusBit().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1041 of file SiStripFEDBufferComponents.cc.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1014 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, and setAPVStatusBit().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1045 of file SiStripFEDBufferComponents.cc.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1037 of file SiStripFEDBufferComponents.cc.
|
staticprivate |
Definition at line 434 of file SiStripFEDBufferComponents.h.
|
staticprivate |
Definition at line 435 of file SiStripFEDBufferComponents.h.
Referenced by FEDAPVErrorHeader(), lengthInBytes(), and print().
|
private |
Definition at line 436 of file SiStripFEDBufferComponents.h.
Referenced by checkStatusBits(), data(), FEDAPVErrorHeader(), print(), and setAPVStatusBit().