#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 |
virtual void | set32BitReservedRegister (const uint8_t internalFEUnitNum, const uint32_t reservedRegister) |
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 | setDAQRegister (const uint32_t daqRegister) |
virtual void | setDAQRegister2 (const uint32_t daqRegister2) |
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 439 of file SiStripFEDBufferComponents.h.
|
inlineexplicit |
Definition at line 1065 of file SiStripFEDBufferComponents.h.
References APV_ERROR_HEADER_SIZE_IN_BYTES, and header_.
Referenced by clone().
|
virtual |
Definition at line 1011 of file SiStripFEDBufferComponents.cc.
sistrip::FEDAPVErrorHeader::FEDAPVErrorHeader | ( | const std::vector< bool > & | apvsGood = std::vector<bool>(APVS_PER_FED,true) | ) |
Definition at line 1048 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 1038 of file SiStripFEDBufferComponents.cc.
References checkStatusBits().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1030 of file SiStripFEDBufferComponents.cc.
References sistrip::FEDCH_PER_FEUNIT, and header_.
Referenced by checkChannelStatusBits().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1025 of file SiStripFEDBufferComponents.cc.
References FEDAPVErrorHeader().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1043 of file SiStripFEDBufferComponents.cc.
References header_.
Referenced by cuy.FindIssue::__init__().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1015 of file SiStripFEDBufferComponents.cc.
References APV_ERROR_HEADER_SIZE_IN_BYTES.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1020 of file SiStripFEDBufferComponents.cc.
References APV_ERROR_HEADER_SIZE_IN_BYTES, header_, and sistrip::printHex().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1107 of file SiStripFEDBufferComponents.cc.
FEDAPVErrorHeader & sistrip::FEDAPVErrorHeader::setAPVStatusBit | ( | const uint8_t | internalFEDChannelNum, |
const uint8_t | apvNum, | ||
const bool | apvGood | ||
) |
Definition at line 1057 of file SiStripFEDBufferComponents.cc.
References sistrip::FEDCH_PER_FED, and header_.
Referenced by FEDAPVErrorHeader(), setAPVStatusBit(), and setChannelStatus().
|
inline |
Definition at line 1070 of file SiStripFEDBufferComponents.h.
References sistrip::internalFEDChannelNum(), and setAPVStatusBit().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1095 of file SiStripFEDBufferComponents.cc.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1068 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 1099 of file SiStripFEDBufferComponents.cc.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1103 of file SiStripFEDBufferComponents.cc.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1111 of file SiStripFEDBufferComponents.cc.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1091 of file SiStripFEDBufferComponents.cc.
|
staticprivate |
Definition at line 464 of file SiStripFEDBufferComponents.h.
|
staticprivate |
Definition at line 465 of file SiStripFEDBufferComponents.h.
Referenced by FEDAPVErrorHeader(), lengthInBytes(), and print().
|
private |
Definition at line 466 of file SiStripFEDBufferComponents.h.
Referenced by checkStatusBits(), data(), FEDAPVErrorHeader(), print(), and setAPVStatusBit().