#include <SiStripFEDBufferComponents.h>
Public Member Functions | |
bool | apvAddressError (const uint8_t internalFEDChannelNum, const uint8_t apvNum) const |
bool | apvAddressError (const uint8_t internalFEUnitNum, const uint8_t internalFEUnitChannelNum, const uint8_t apvNum) const |
bool | apvError (const uint8_t internalFEDChannelNum, const uint8_t apvNum) const |
bool | apvError (const uint8_t internalFEUnitNum, const uint8_t internalFEUnitChannelNum, const uint8_t apvNum) const |
FEDBackendStatusRegister | beStatusRegister () const |
bool | checkChannelStatusBits (const uint8_t internalFEDChannelNum) const override |
bool | checkStatusBits (const uint8_t internalFEDChannelNum, const uint8_t apvNum) const override |
FEDFullDebugHeader * | clone () const override |
uint32_t | daqRegister () const |
uint32_t | daqRegister2 () const |
const uint8_t * | data () const override |
FEDFullDebugHeader (const uint8_t *headerBuffer) | |
FEDFullDebugHeader (const std::vector< uint16_t > &feUnitLengths=std::vector< uint16_t >(FEUNITS_PER_FED, 0), const std::vector< uint8_t > &feMajorityAddresses=std::vector< uint8_t >(FEUNITS_PER_FED, 0), const std::vector< FEDChannelStatus > &channelStatus=std::vector< FEDChannelStatus >(FEDCH_PER_FED, CHANNEL_STATUS_NO_PROBLEMS), const FEDBackendStatusRegister beStatusRegister=FEDBackendStatusRegister(), const uint32_t daqRegister=0, const uint32_t daqRegister2=0) | |
bool | fePresent (const uint8_t internalFEUnitNum) const |
uint16_t | feUnitLength (const uint8_t internalFEUnitNum) const |
uint8_t | feUnitMajorityAddress (const uint8_t internalFEUnitNum) const |
const uint8_t * | feWord (const uint8_t internalFEUnitNum) const |
uint8_t * | feWord (const uint8_t internalFEUnitNum) |
FEDChannelStatus | getChannelStatus (const uint8_t internalFEDChannelNum) const |
FEDChannelStatus | getChannelStatus (const uint8_t internalFEUnitNum, const uint8_t internalFEUnitChannelNum) const |
size_t | lengthInBytes () const override |
bool | outOfSync (const uint8_t internalFEDChannelNum) const |
bool | outOfSync (const uint8_t internalFEUnitNum, const uint8_t internalFEUnitChannelNum) const |
void | print (std::ostream &os) const override |
void | set32BitReservedRegister (const uint8_t internalFEUnitNum, const uint32_t reservedRegister) override |
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 |
bool | unlocked (const uint8_t internalFEDChannelNum) const |
bool | unlocked (const uint8_t internalFEUnitNum, const uint8_t internalFEUnitChannelNum) const |
~FEDFullDebugHeader () 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 () |
Static Public Member Functions | |
static uint32_t | get32BitWordFrom (const uint8_t *startOfWord) |
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) |
Private Member Functions | |
bool | apvAddressErrorFromBit (const uint8_t internalFEDChannelNum, const uint8_t apvNum) const |
bool | apvErrorFromBit (const uint8_t internalFEDChannelNum, const uint8_t apvNum) const |
bool | getBit (const uint8_t internalFEDChannelNum, const uint8_t bit) const |
bool | outOfSyncFromBit (const uint8_t internalFEDChannelNum) const |
void | setAPVAddressError (const uint8_t internalFEDChannelNum, const uint8_t apvNum, const bool value) |
void | setAPVError (const uint8_t internalFEDChannelNum, const uint8_t apvNum, const bool value) |
void | setBit (const uint8_t internalFEDChannelNum, const uint8_t bit, const bool value) |
void | setOutOfSync (const uint8_t internalFEDChannelNum, const bool value) |
void | setUnlocked (const uint8_t internalFEDChannelNum, const bool value) |
bool | unlockedFromBit (const uint8_t internalFEDChannelNum) const |
Static Private Member Functions | |
static void | set32BitWordAt (uint8_t *startOfWord, const uint32_t value) |
Private Attributes | |
uint8_t | header_ [FULL_DEBUG_HEADER_SIZE_IN_BYTES] |
Static Private Attributes | |
static const size_t | FULL_DEBUG_HEADER_SIZE_IN_64BIT_WORDS = FEUNITS_PER_FED*2 |
static const size_t | FULL_DEBUG_HEADER_SIZE_IN_BYTES = FULL_DEBUG_HEADER_SIZE_IN_64BIT_WORDS*8 |
Definition at line 469 of file SiStripFEDBufferComponents.h.
|
inlineexplicit |
Definition at line 1076 of file SiStripFEDBufferComponents.h.
|
override |
Definition at line 1168 of file SiStripFEDBufferComponents.cc.
sistrip::FEDFullDebugHeader::FEDFullDebugHeader | ( | const std::vector< uint16_t > & | feUnitLengths = std::vector<uint16_t>(FEUNITS_PER_FED,0) , |
const std::vector< uint8_t > & | feMajorityAddresses = std::vector<uint8_t>(FEUNITS_PER_FED,0) , |
||
const std::vector< FEDChannelStatus > & | channelStatus = std::vector<FEDChannelStatus>(FEDCH_PER_FED,CHANNEL_STATUS_NO_PROBLEMS) , |
||
const FEDBackendStatusRegister | beStatusRegister = FEDBackendStatusRegister() , |
||
const uint32_t | daqRegister = 0 , |
||
const uint32_t | daqRegister2 = 0 |
||
) |
Definition at line 1251 of file SiStripFEDBufferComponents.cc.
References sistrip::FEDCH_PER_FED, and sistrip::FEUNITS_PER_FED.
|
inline |
Definition at line 1143 of file SiStripFEDBufferComponents.h.
|
inline |
Definition at line 1150 of file SiStripFEDBufferComponents.h.
References sistrip::internalFEDChannelNum().
|
inlineprivate |
Definition at line 1181 of file SiStripFEDBufferComponents.h.
References sistrip::FEDBackendStatusRegister::getBit().
|
inline |
Definition at line 1131 of file SiStripFEDBufferComponents.h.
|
inline |
Definition at line 1138 of file SiStripFEDBufferComponents.h.
References sistrip::internalFEDChannelNum().
|
inlineprivate |
Definition at line 1170 of file SiStripFEDBufferComponents.h.
References sistrip::FEDBackendStatusRegister::getBit().
|
inline |
Definition at line 1086 of file SiStripFEDBufferComponents.h.
References sistrip::FEDBackendStatusRegister::FEDBackendStatusRegister().
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1195 of file SiStripFEDBufferComponents.cc.
References sistrip::CHANNEL_STATUS_NO_PROBLEMS.
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1187 of file SiStripFEDBufferComponents.cc.
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1182 of file SiStripFEDBufferComponents.cc.
|
inline |
Definition at line 1091 of file SiStripFEDBufferComponents.h.
Referenced by sistrip::RawToDigiUnpacker::updateEventSummary().
|
inline |
Definition at line 1096 of file SiStripFEDBufferComponents.h.
Referenced by sistrip::RawToDigiUnpacker::updateEventSummary().
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1246 of file SiStripFEDBufferComponents.cc.
|
inline |
Definition at line 1106 of file SiStripFEDBufferComponents.h.
Referenced by sistrip::FEDBuffer::FEDBuffer().
|
inline |
Definition at line 1101 of file SiStripFEDBufferComponents.h.
Referenced by sistrip::FEDBuffer::checkFEUnitLengths(), and sistrip::FEDBuffer::checkSummary().
|
inline |
Definition at line 1081 of file SiStripFEDBufferComponents.h.
Referenced by sistrip::FEDBuffer::checkFEUnitAPVAddresses(), sistrip::FEDBuffer::checkSummary(), and sistrip::SpyEventMatcherModule::findL1IDandAPVAddress().
|
inline |
Definition at line 1203 of file SiStripFEDBufferComponents.h.
|
inline |
Definition at line 1209 of file SiStripFEDBufferComponents.h.
|
inlinestatic |
Definition at line 1193 of file SiStripFEDBufferComponents.h.
|
inlineprivate |
Definition at line 1186 of file SiStripFEDBufferComponents.h.
References sistrip::FEDCH_PER_FEUNIT, and globals_cff::x1.
FEDChannelStatus sistrip::FEDFullDebugHeader::getChannelStatus | ( | const uint8_t | internalFEDChannelNum | ) | const |
Definition at line 1206 of file SiStripFEDBufferComponents.cc.
References sistrip::FEDCH_PER_FEUNIT.
Referenced by sistrip::FEDBuffer::checkSummary().
|
inline |
Definition at line 1155 of file SiStripFEDBufferComponents.h.
References sistrip::internalFEDChannelNum().
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1172 of file SiStripFEDBufferComponents.cc.
|
inline |
Definition at line 1121 of file SiStripFEDBufferComponents.h.
|
inline |
Definition at line 1126 of file SiStripFEDBufferComponents.h.
References sistrip::internalFEDChannelNum().
|
inlineprivate |
Definition at line 1165 of file SiStripFEDBufferComponents.h.
References sistrip::FEDBackendStatusRegister::getBit().
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1177 of file SiStripFEDBufferComponents.cc.
References sistrip::printHex().
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1299 of file SiStripFEDBufferComponents.cc.
|
inlinestaticprivate |
Definition at line 1198 of file SiStripFEDBufferComponents.h.
|
inlineprivate |
Definition at line 1224 of file SiStripFEDBufferComponents.h.
References sistrip::FEDBackendStatusRegister::setBit().
|
inlineprivate |
Definition at line 1229 of file SiStripFEDBufferComponents.h.
References sistrip::FEDBackendStatusRegister::setBit().
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1283 of file SiStripFEDBufferComponents.cc.
|
private |
Definition at line 1310 of file SiStripFEDBufferComponents.cc.
References sistrip::FEDCH_PER_FEUNIT, and RecoTauDiscriminantConfiguration::mask.
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1268 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, and sistrip::CHANNEL_STATUS_LOCKED.
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1288 of file SiStripFEDBufferComponents.cc.
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1293 of file SiStripFEDBufferComponents.cc.
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1304 of file SiStripFEDBufferComponents.cc.
|
overridevirtual |
Implements sistrip::FEDFEHeader.
Definition at line 1278 of file SiStripFEDBufferComponents.cc.
|
inlineprivate |
Definition at line 1219 of file SiStripFEDBufferComponents.h.
References sistrip::FEDBackendStatusRegister::setBit().
|
inlineprivate |
Definition at line 1214 of file SiStripFEDBufferComponents.h.
References sistrip::FEDBackendStatusRegister::setBit().
|
inline |
Definition at line 1111 of file SiStripFEDBufferComponents.h.
|
inline |
Definition at line 1116 of file SiStripFEDBufferComponents.h.
References sistrip::internalFEDChannelNum().
|
inlineprivate |
Definition at line 1160 of file SiStripFEDBufferComponents.h.
References sistrip::FEDBackendStatusRegister::getBit().
|
staticprivate |
Definition at line 540 of file SiStripFEDBufferComponents.h.
|
staticprivate |
Definition at line 541 of file SiStripFEDBufferComponents.h.
|
private |
Definition at line 542 of file SiStripFEDBufferComponents.h.