|
|
Go to the documentation of this file.
50 : m_boardId(boardIdValue),
51 m_recordLength1(recordLength1Value),
52 m_recordLength(recordLengthValue),
54 m_setupVersion(setupVersionValue),
55 m_activeBoards(activeBoardsValue),
56 m_altNrBxBoard(altNrBxBoardValue),
57 m_totalTriggerNr(totalTriggerNrValue)
174 int bstFlagValue = 0;
201 word64 = word64 | (static_cast<cms_uint64_t>(activeBoardsValue) <<
ActiveBoardsShift);
222 word64 = word64 | (static_cast<cms_uint64_t>(altNrBxBoardValue) <<
AltNrBxBoardShift);
254 myCout <<
"\n L1GtfeWord::print \n" << std::endl;
256 myCout <<
" BoardId: " << std::hex <<
" hex: "
257 <<
" " << std::setw(2) << std::setfill(
'0') <<
m_boardId << std::setfill(
' ') <<
std::dec
260 myCout <<
" BX for alternative 1: " << std::hex <<
" hex: "
263 myCout <<
" BX for alternative 0: " << std::hex <<
" hex: "
266 myCout <<
" BxNr: " << std::hex <<
" hex: "
267 <<
" " << std::setw(3) << std::setfill(
'0') <<
m_bxNr << std::setfill(
' ') <<
std::dec
268 <<
" dec: " <<
m_bxNr << std::endl;
270 myCout <<
" SetupVersion: " << std::hex <<
" hex: " << std::setw(8) << std::setfill(
'0') <<
m_setupVersion
275 myCout <<
" ActiveBoards: " << std::hex <<
" hex: "
279 myCout <<
" AltNrBxBoard: " << std::hex <<
" hex: "
283 myCout <<
" TotalTriggerNr: " << std::hex <<
" hex: " << std::setw(8) << std::setfill(
'0') <<
m_totalTriggerNr
291 LogDebug(
"L1GtfeWord") <<
"\nUnpacking GTFE block.\n" << std::endl;
305 for (
int iWord = 0; iWord <
BlockSize; ++iWord) {
306 LogTrace(
"L1GtfeWord") << std::setw(4) << iWord <<
" " << std::hex << std::setfill(
'0') << std::setw(16)
unsigned int cms_uint32_t
static const int BoardIdShift
static const cms_uint64_t SetupVersionMask
cms_uint16_t m_recordLength1
record length for alternative 1
static const int AltNrBxBoardWord
static const cms_uint32_t BstFlagMask
const int bstFlag() const
get / set BST flag: 0 or 1 - via setup version (no private member)
bool operator!=(const L1GtfeWord &) const
unequal operator
static const int BoardIdWord
static const int RecordLengthWord
void setTotalTriggerNr(cms_uint32_t totalTriggerNrValue)
static const int BlockSize
void setRecordLength(cms_uint16_t recordLengthValue)
virtual void print(std::ostream &myCout) const
pretty print the content of a L1GtfeWord
static const int BxNrWord
void setRecordLength1(cms_uint16_t recordLengthValue)
static const int SetupVersionShift
cms_uint32_t m_totalTriggerNr
total number of L1A sent since start of run
bool operator==(const L1GtfeWord &) const
equal operator
static const int RecordLength1Shift
void setRecordLengthWord64(cms_uint64_t &word64, int iWord)
void setAltNrBxBoardWord64(cms_uint64_t &word64, int iWord)
cms_uint16_t m_recordLength
record length for alternative 0
void setRecordLength1Word64(cms_uint64_t &word64, int iWord)
static const int SetupVersionWord
static const int TotalTriggerNrShift
virtual void reset()
reset the content of a L1GtfeWord
static const cms_uint64_t RecordLength1Mask
static const int ActiveBoardsWord
void setSetupVersionWord64(cms_uint64_t &word64, int iWord)
void setBoardIdWord64(cms_uint64_t &word64, int iWord)
void setActiveBoards(cms_uint16_t activeBoardsValue)
static const cms_uint64_t TotalTriggerNrMask
void setTotalTriggerNrWord64(cms_uint64_t &word64, int iWord)
cms_uint32_t m_setupVersion
static const int TotalTriggerNrWord
static const cms_uint64_t BxNrMask
static const int RecordLengthShift
cms_uint16_t m_activeBoards
active boards contributing to EVM respectively DAQ record
void setActiveBoardsWord64(cms_uint64_t &word64, int iWord)
static const int ActiveBoardsShift
unsigned long long cms_uint64_t
unsigned short cms_uint16_t
static const cms_uint64_t RecordLengthMask
cms_uint16_t m_boardId
board identifier
void setAltNrBxBoard(cms_uint16_t altNrBxBoardValue)
static const cms_uint64_t AltNrBxBoardMask
static const int BxNrShift
cms_uint16_t m_altNrBxBoard
cms_uint16_t m_bxNr
bunch cross number as counted in the GTFE board
static const cms_uint64_t ActiveBoardsMask
static const int AltNrBxBoardShift
void setBstFlag(const int)
void setBxNr(cms_uint16_t bxNrValue)
virtual void unpack(const unsigned char *gtfePtr)
virtual ~L1GtfeWord()
destructor
void setBxNrWord64(cms_uint64_t &word64, int iWord)
static const cms_uint64_t BoardIdMask
void setBoardId(cms_uint16_t boardIdValue)
set BoardId from a BoardId value
void setSetupVersion(cms_uint32_t setupVersionValue)
static const int RecordLength1Word