#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 |
virtual bool | checkChannelStatusBits (const uint8_t internalFEDChannelNum) const |
virtual bool | checkStatusBits (const uint8_t internalFEDChannelNum, const uint8_t apvNum) const |
virtual FEDFullDebugHeader * | clone () const |
uint32_t | daqRegister () const |
uint32_t | daqRegister2 () const |
virtual const uint8_t * | data () const |
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 |
virtual size_t | lengthInBytes () const |
bool | outOfSync (const uint8_t internalFEDChannelNum) const |
bool | outOfSync (const uint8_t internalFEUnitNum, const uint8_t internalFEUnitChannelNum) const |
virtual void | print (std::ostream &os) const |
virtual void | set32BitReservedRegister (const uint8_t internalFEUnitNum, const uint32_t reservedRegister) |
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) |
bool | unlocked (const uint8_t internalFEDChannelNum) const |
bool | unlocked (const uint8_t internalFEUnitNum, const uint8_t internalFEUnitChannelNum) const |
virtual | ~FEDFullDebugHeader () |
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.
|
virtual |
Definition at line 1117 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 1200 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().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1144 of file SiStripFEDBufferComponents.cc.
References sistrip::CHANNEL_STATUS_NO_PROBLEMS.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1136 of file SiStripFEDBufferComponents.cc.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1131 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().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1195 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.
FEDChannelStatus sistrip::FEDFullDebugHeader::getChannelStatus | ( | const uint8_t | internalFEDChannelNum | ) | const |
Definition at line 1155 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().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1121 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().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1126 of file SiStripFEDBufferComponents.cc.
References sistrip::printHex().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1248 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().
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1232 of file SiStripFEDBufferComponents.cc.
|
private |
Definition at line 1259 of file SiStripFEDBufferComponents.cc.
References sistrip::FEDCH_PER_FEUNIT, and RecoTauDiscriminantConfiguration::mask.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1217 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.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1237 of file SiStripFEDBufferComponents.cc.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1242 of file SiStripFEDBufferComponents.cc.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1253 of file SiStripFEDBufferComponents.cc.
|
virtual |
Implements sistrip::FEDFEHeader.
Definition at line 1227 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.