30 m_boardId(0), m_recordLength1(0), m_recordLength(0), m_bxNr(0), m_setupVersion(0),
31 m_activeBoards(0), m_altNrBxBoard(0), m_totalTriggerNr(0) {
106 return !( result == *
this);
208 int bstFlagValue = 0;
324 myCout <<
"\n L1GtfeWord::print \n" << std::endl;
326 myCout <<
" BoardId: " 327 << std::hex <<
" hex: " <<
" " << std::setw(2) << std::setfill(
'0') <<
m_boardId 332 myCout <<
" BX for alternative 1: " 337 myCout <<
" BX for alternative 0: " 343 << std::hex <<
" hex: " <<
" " << std::setw(3) << std::setfill(
'0') <<
m_bxNr 348 myCout <<
" SetupVersion: " 349 << std::hex <<
" hex: " << std::setw(8) << std::setfill(
'0') <<
m_setupVersion 356 myCout <<
" ActiveBoards: " 357 << std::hex <<
" hex: " <<
" " << std::setw(4) << std::setfill(
'0') <<
m_activeBoards 362 myCout <<
" AltNrBxBoard: " 363 << std::hex <<
" hex: " <<
" " << std::setw(4) << std::setfill(
'0') <<
m_altNrBxBoard 368 myCout <<
" TotalTriggerNr: " 369 << std::hex <<
" hex: " << std::setw(8) << std::setfill(
'0') <<
m_totalTriggerNr 383 <<
"\nUnpacking GTFE block.\n" 401 for (
int iWord = 0; iWord <
BlockSize; ++iWord) {
403 << std::setw(4) << iWord <<
" " 404 << std::hex << std::setfill(
'0')
405 << std::setw(16) << payload[iWord]
bool operator==(const L1GtfeWord &) const
equal operator
bool operator!=(const L1GtfeWord &) const
unequal operator
void setRecordLength1Word64(cms_uint64_t &word64, int iWord)
void setBxNr(cms_uint16_t bxNrValue)
static const cms_uint64_t TotalTriggerNrMask
static const cms_uint64_t BoardIdMask
virtual void print(std::ostream &myCout) const
pretty print the content of a L1GtfeWord
static const int RecordLength1Shift
static const int ActiveBoardsWord
static const int BlockSize
void setActiveBoardsWord64(cms_uint64_t &word64, int iWord)
void setRecordLength(cms_uint16_t recordLengthValue)
static const cms_uint64_t SetupVersionMask
cms_uint16_t m_recordLength
record length for alternative 0
void setSetupVersionWord64(cms_uint64_t &word64, int iWord)
cms_uint16_t m_boardId
board identifier
void setAltNrBxBoard(cms_uint16_t altNrBxBoardValue)
payload
payload postfix for testing
void setTotalTriggerNr(cms_uint32_t totalTriggerNrValue)
virtual void reset()
reset the content of a L1GtfeWord
static const cms_uint64_t RecordLength1Mask
static const cms_uint64_t RecordLengthMask
static const int TotalTriggerNrWord
static const cms_uint64_t AltNrBxBoardMask
static const int SetupVersionWord
unsigned short cms_uint16_t
static const int SetupVersionShift
void setRecordLength1(cms_uint16_t recordLengthValue)
void setBoardIdWord64(cms_uint64_t &word64, int iWord)
static const int RecordLengthShift
unsigned int cms_uint32_t
cms_uint16_t m_activeBoards
active boards contributing to EVM respectively DAQ record
void setBoardId(cms_uint16_t boardIdValue)
set BoardId from a BoardId value
static const int TotalTriggerNrShift
static const int RecordLength1Word
static const int ActiveBoardsShift
void setAltNrBxBoardWord64(cms_uint64_t &word64, int iWord)
void setActiveBoards(cms_uint16_t activeBoardsValue)
const int bstFlag() const
get / set BST flag: 0 or 1 - via setup version (no private member)
static const cms_uint64_t ActiveBoardsMask
cms_uint16_t m_bxNr
bunch cross number as counted in the GTFE board
static const cms_uint64_t BxNrMask
static const int RecordLengthWord
static const int BxNrShift
cms_uint16_t m_altNrBxBoard
void setBxNrWord64(cms_uint64_t &word64, int iWord)
static const int BoardIdWord
unsigned long long cms_uint64_t
void setTotalTriggerNrWord64(cms_uint64_t &word64, int iWord)
static const int AltNrBxBoardShift
cms_uint32_t m_totalTriggerNr
total number of L1A sent since start of run
cms_uint32_t m_setupVersion
void setSetupVersion(cms_uint32_t setupVersionValue)
static const int BxNrWord
static const int BoardIdShift
void setBstFlag(const int)
static const int AltNrBxBoardWord
cms_uint16_t m_recordLength1
record length for alternative 1
virtual void unpack(const unsigned char *gtfePtr)
void setRecordLengthWord64(cms_uint64_t &word64, int iWord)
static const cms_uint32_t BstFlagMask
virtual ~L1GtfeWord()
destructor