#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 413 of file SiStripFEDBufferComponents.h.
|
inlineexplicit |
Definition at line 1039 of file SiStripFEDBufferComponents.h.
References APV_ERROR_HEADER_SIZE_IN_BYTES, and header_.
Referenced by clone().
|
virtual |
Definition at line 972 of file SiStripFEDBufferComponents.cc.
sistrip::FEDAPVErrorHeader::FEDAPVErrorHeader | ( | const std::vector< bool > & | apvsGood = std::vector<bool>(APVS_PER_FED,true) | ) |
Definition at line 1009 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 999 of file SiStripFEDBufferComponents.cc.
References checkStatusBits().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 991 of file SiStripFEDBufferComponents.cc.
References sistrip::FEDCH_PER_FEUNIT, and header_.
Referenced by checkChannelStatusBits().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 986 of file SiStripFEDBufferComponents.cc.
References FEDAPVErrorHeader().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1004 of file SiStripFEDBufferComponents.cc.
References header_.
Referenced by cuy.FindIssue::__init__().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 976 of file SiStripFEDBufferComponents.cc.
References APV_ERROR_HEADER_SIZE_IN_BYTES.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 981 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 1018 of file SiStripFEDBufferComponents.cc.
References sistrip::FEDCH_PER_FED, and header_.
Referenced by FEDAPVErrorHeader(), setAPVStatusBit(), and setChannelStatus().
|
inline |
Definition at line 1044 of file SiStripFEDBufferComponents.h.
References sistrip::internalFEDChannelNum(), and setAPVStatusBit().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1056 of file SiStripFEDBufferComponents.cc.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1029 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 1060 of file SiStripFEDBufferComponents.cc.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1052 of file SiStripFEDBufferComponents.cc.
|
staticprivate |
Definition at line 435 of file SiStripFEDBufferComponents.h.
|
staticprivate |
Definition at line 436 of file SiStripFEDBufferComponents.h.
Referenced by FEDAPVErrorHeader(), lengthInBytes(), and print().
|
private |
Definition at line 437 of file SiStripFEDBufferComponents.h.
Referenced by checkStatusBits(), data(), FEDAPVErrorHeader(), print(), and setAPVStatusBit().