CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Static Private Attributes
L1GtfeWord Class Reference

#include <L1GtfeWord.h>

Inheritance diagram for L1GtfeWord:
L1GtfeExtWord

Public Member Functions

const cms_uint16_t activeBoards () const
 get/set boards contributing to EVM respectively DAQ record More...
 
const cms_uint16_t altNrBxBoard () const
 get/set alternative for number of BX per board More...
 
const cms_uint16_t boardId () const
 get/set board ID More...
 
const int bstFlag () const
 get / set BST flag: 0 or 1 - via setup version (no private member) More...
 
const cms_uint16_t bxNr () const
 get/set bunch cross number as counted in the GTFE board More...
 
const unsigned int getSize () const
 get the size of the GTFE block in GT DAQ record (in multiple of 8 bits) More...
 
 L1GtfeWord ()
 constructors More...
 
 L1GtfeWord (cms_uint16_t boardIdValue, cms_uint16_t recordLength1Value, cms_uint16_t recordLengthValue, cms_uint16_t bxNrValue, cms_uint32_t setupVersionValue, cms_uint16_t activeBoardsValue, cms_uint16_t altNrBxBoardValue, cms_uint32_t totalTriggerNrValue)
 constructor from unpacked values; More...
 
bool operator!= (const L1GtfeWord &) const
 unequal operator More...
 
bool operator== (const L1GtfeWord &) const
 equal operator More...
 
virtual void print (std::ostream &myCout) const
 pretty print the content of a L1GtfeWord More...
 
const cms_uint16_t recordLength () const
 get/set record length for alternative 0 More...
 
const cms_uint16_t recordLength1 () const
 get/set record length for alternative 1 More...
 
virtual void reset ()
 reset the content of a L1GtfeWord More...
 
void setActiveBoards (cms_uint16_t activeBoardsValue)
 
void setActiveBoards (const cms_uint64_t &word64)
 
void setActiveBoardsWord64 (cms_uint64_t &word64, int iWord)
 
void setActiveBoardsWord64 (cms_uint64_t &word64, int iWord, cms_int16_t activeBoardsValue)
 
void setAltNrBxBoard (cms_uint16_t altNrBxBoardValue)
 
void setAltNrBxBoard (const cms_uint64_t &word64)
 
void setAltNrBxBoardWord64 (cms_uint64_t &word64, int iWord)
 
void setAltNrBxBoardWord64 (cms_uint64_t &word64, int iWord, cms_int16_t altNrBxBoardValue)
 
void setBoardId (cms_uint16_t boardIdValue)
 set BoardId from a BoardId value More...
 
void setBoardId (const cms_uint64_t &word64)
 set the BoardId value from a 64-bits word More...
 
void setBoardIdWord64 (cms_uint64_t &word64, int iWord)
 
void setBstFlag (const int)
 
void setBxNr (cms_uint16_t bxNrValue)
 
void setBxNr (const cms_uint64_t &word64)
 
void setBxNrWord64 (cms_uint64_t &word64, int iWord)
 
void setRecordLength (cms_uint16_t recordLengthValue)
 
void setRecordLength (const cms_uint64_t &word64)
 
void setRecordLength1 (cms_uint16_t recordLengthValue)
 
void setRecordLength1 (const cms_uint64_t &word64)
 
void setRecordLength1Word64 (cms_uint64_t &word64, int iWord)
 
void setRecordLengthWord64 (cms_uint64_t &word64, int iWord)
 
void setSetupVersion (cms_uint32_t setupVersionValue)
 
void setSetupVersion (const cms_uint64_t &word64)
 
void setSetupVersionWord64 (cms_uint64_t &word64, int iWord)
 
void setTotalTriggerNr (cms_uint32_t totalTriggerNrValue)
 
void setTotalTriggerNr (const cms_uint64_t &word64)
 
void setTotalTriggerNrWord64 (cms_uint64_t &word64, int iWord)
 
const cms_uint32_t setupVersion () const
 get/set setup version More...
 
const cms_uint32_t totalTriggerNr () const
 get/set total number of L1A sent since start of run More...
 
virtual void unpack (const unsigned char *gtfePtr)
 
virtual ~L1GtfeWord ()
 destructor More...
 

Private Attributes

cms_uint16_t m_activeBoards
 active boards contributing to EVM respectively DAQ record More...
 
cms_uint16_t m_altNrBxBoard
 
cms_uint16_t m_boardId
 board identifier More...
 
cms_uint16_t m_bxNr
 bunch cross number as counted in the GTFE board More...
 
cms_uint16_t m_recordLength
 record length for alternative 0 More...
 
cms_uint16_t m_recordLength1
 record length for alternative 1 More...
 
cms_uint32_t m_setupVersion
 
cms_uint32_t m_totalTriggerNr
 total number of L1A sent since start of run More...
 

Static Private Attributes

static const cms_uint64_t ActiveBoardsMask = 0xFFFF000000000000ULL
 
static const int ActiveBoardsShift = 48
 
static const int ActiveBoardsWord = 1
 
static const cms_uint64_t AltNrBxBoardMask = 0x0000FFFF00000000ULL
 
static const int AltNrBxBoardShift = 32
 
static const int AltNrBxBoardWord = 1
 
static const int BlockSize = 2
 
static const cms_uint64_t BoardIdMask = 0xFF00000000000000ULL
 
static const int BoardIdShift = 56
 
static const int BoardIdWord = 0
 
static const cms_uint32_t BstFlagMask = 0x0001
 
static const cms_uint64_t BxNrMask = 0x00000FFF00000000ULL
 
static const int BxNrShift = 32
 
static const int BxNrWord = 0
 
static const cms_uint64_t RecordLength1Mask = 0x00F0000000000000ULL
 
static const int RecordLength1Shift = 52
 
static const int RecordLength1Word = 0
 
static const cms_uint64_t RecordLengthMask = 0x000F000000000000ULL
 
static const int RecordLengthShift = 48
 
static const int RecordLengthWord = 0
 
static const cms_uint64_t SetupVersionMask = 0x00000000FFFFFFFFULL
 
static const int SetupVersionShift = 0
 
static const int SetupVersionWord = 0
 
static const cms_uint64_t TotalTriggerNrMask = 0x00000000FFFFFFFFULL
 
static const int TotalTriggerNrShift = 0
 
static const int TotalTriggerNrWord = 1
 

Detailed Description

Description: L1 Global Trigger - GTFE words in the readout record.

Implementation: <TODO: enter implementation details>

Author
: Vasile Mihai Ghete - HEPHY Vienna

Definition at line 30 of file L1GtfeWord.h.

Constructor & Destructor Documentation

L1GtfeWord::L1GtfeWord ( )

constructors

Definition at line 29 of file L1GtfeWord.cc.

29  :
32 
33  // empty
34 
35 }
cms_uint16_t m_recordLength
record length for alternative 0
Definition: L1GtfeWord.h:299
cms_uint16_t m_boardId
board identifier
Definition: L1GtfeWord.h:293
cms_uint16_t m_activeBoards
active boards contributing to EVM respectively DAQ record
Definition: L1GtfeWord.h:306
cms_uint16_t m_bxNr
bunch cross number as counted in the GTFE board
Definition: L1GtfeWord.h:302
cms_uint16_t m_altNrBxBoard
Definition: L1GtfeWord.h:312
cms_uint32_t m_totalTriggerNr
total number of L1A sent since start of run
Definition: L1GtfeWord.h:315
cms_uint32_t m_setupVersion
Definition: L1GtfeWord.h:303
cms_uint16_t m_recordLength1
record length for alternative 1
Definition: L1GtfeWord.h:296
L1GtfeWord::L1GtfeWord ( cms_uint16_t  boardIdValue,
cms_uint16_t  recordLength1Value,
cms_uint16_t  recordLengthValue,
cms_uint16_t  bxNrValue,
cms_uint32_t  setupVersionValue,
cms_uint16_t  activeBoardsValue,
cms_uint16_t  altNrBxBoardValue,
cms_uint32_t  totalTriggerNrValue 
)

constructor from unpacked values;

Definition at line 38 of file L1GtfeWord.cc.

42  :
43  m_boardId(boardIdValue), m_recordLength1(recordLength1Value),
44  m_recordLength(recordLengthValue), m_bxNr(bxNrValue),
45  m_setupVersion(setupVersionValue), m_activeBoards(activeBoardsValue), m_altNrBxBoard(
46  altNrBxBoardValue), m_totalTriggerNr(totalTriggerNrValue)
47 
48 {
49 
50  // empty
51 }
cms_uint16_t m_recordLength
record length for alternative 0
Definition: L1GtfeWord.h:299
cms_uint16_t m_boardId
board identifier
Definition: L1GtfeWord.h:293
cms_uint16_t m_activeBoards
active boards contributing to EVM respectively DAQ record
Definition: L1GtfeWord.h:306
cms_uint16_t m_bxNr
bunch cross number as counted in the GTFE board
Definition: L1GtfeWord.h:302
cms_uint16_t m_altNrBxBoard
Definition: L1GtfeWord.h:312
cms_uint32_t m_totalTriggerNr
total number of L1A sent since start of run
Definition: L1GtfeWord.h:315
cms_uint32_t m_setupVersion
Definition: L1GtfeWord.h:303
cms_uint16_t m_recordLength1
record length for alternative 1
Definition: L1GtfeWord.h:296
L1GtfeWord::~L1GtfeWord ( )
virtual

destructor

Definition at line 54 of file L1GtfeWord.cc.

55 {
56 
57  // empty now
58 
59 }

Member Function Documentation

const cms_uint16_t L1GtfeWord::activeBoards ( ) const
inline

get/set boards contributing to EVM respectively DAQ record

Definition at line 163 of file L1GtfeWord.h.

References m_activeBoards.

Referenced by L1TGT::analyze(), L1GtDataEmulAnalyzer::compareGTFE(), L1GtHwValidation::compareGTFE(), L1GlobalTriggerEvmRawToDigi::produce(), L1GTEvmDigiToRaw::produce(), L1GTDigiToRaw::produce(), and L1GlobalTriggerRawToDigi::produce().

164  {
165  return m_activeBoards;
166  }
cms_uint16_t m_activeBoards
active boards contributing to EVM respectively DAQ record
Definition: L1GtfeWord.h:306
const cms_uint16_t L1GtfeWord::altNrBxBoard ( ) const
inline

get/set alternative for number of BX per board

Definition at line 187 of file L1GtfeWord.h.

References m_altNrBxBoard.

Referenced by L1GtHwValidation::compareGTFE(), L1GlobalTriggerEvmRawToDigi::produce(), L1GTEvmDigiToRaw::produce(), L1GTDigiToRaw::produce(), and L1GlobalTriggerRawToDigi::produce().

188  {
189  return m_altNrBxBoard;
190  }
cms_uint16_t m_altNrBxBoard
Definition: L1GtfeWord.h:312
const cms_uint16_t L1GtfeWord::boardId ( ) const
inline

get/set board ID

get BoardId value

Definition at line 65 of file L1GtfeWord.h.

References m_boardId.

Referenced by L1GtDataEmulAnalyzer::compareGTFE(), and L1GtHwValidation::compareGTFE().

66  {
67  return m_boardId;
68  }
cms_uint16_t m_boardId
board identifier
Definition: L1GtfeWord.h:293
const int L1GtfeWord::bstFlag ( ) const

get / set BST flag: 0 or 1 - via setup version (no private member)

Definition at line 206 of file L1GtfeWord.cc.

References BstFlagMask, and m_setupVersion.

Referenced by setSetupVersion().

206  {
207 
208  int bstFlagValue = 0;
209  bstFlagValue = static_cast<int> (m_setupVersion & BstFlagMask);
210 
211  return bstFlagValue;
212 
213 }
cms_uint32_t m_setupVersion
Definition: L1GtfeWord.h:303
static const cms_uint32_t BstFlagMask
Definition: L1GtfeWord.h:267
const cms_uint16_t L1GtfeWord::bxNr ( ) const
inline

get/set bunch cross number as counted in the GTFE board

Definition at line 122 of file L1GtfeWord.h.

References m_bxNr.

Referenced by L1Scalers::analyze(), L1TGT::analyze(), L1GtDataEmulAnalyzer::compareGTFE(), and L1GtHwValidation::compareGTFE().

123  {
124  return m_bxNr;
125  }
cms_uint16_t m_bxNr
bunch cross number as counted in the GTFE board
Definition: L1GtfeWord.h:302
const unsigned int L1GtfeWord::getSize ( ) const
inline

get the size of the GTFE block in GT DAQ record (in multiple of 8 bits)

Definition at line 229 of file L1GtfeWord.h.

References BlockSize, print(), reset(), L1GlobalTriggerReadoutSetup::UnitLength, and unpack().

Referenced by L1GtfeExtWord::getSize(), L1GTDigiToRaw::packGTFE(), L1GTDigiToRaw::produce(), L1GlobalTriggerRawToDigi::produce(), and L1GtfeExtWord::unpack().

230  {
231  int unitLengthBits = L1GlobalTriggerReadoutSetup::UnitLength;
232 
233  return BlockSize*unitLengthBits;
234  }
static const int UnitLength
one unit in the word is UnitLength bits
static const int BlockSize
Definition: L1GtfeWord.h:253
bool L1GtfeWord::operator!= ( const L1GtfeWord result) const

unequal operator

Definition at line 103 of file L1GtfeWord.cc.

104 {
105 
106  return !( result == *this);
107 
108 }
bool L1GtfeWord::operator== ( const L1GtfeWord result) const

equal operator

Definition at line 62 of file L1GtfeWord.cc.

References m_activeBoards, m_altNrBxBoard, m_boardId, m_bxNr, m_recordLength, m_recordLength1, m_setupVersion, and m_totalTriggerNr.

63 {
64 
65  if(m_boardId != result.m_boardId) {
66  return false;
67  }
68 
69  if(m_recordLength1 != result.m_recordLength1) {
70  return false;
71  }
72 
73  if(m_recordLength != result.m_recordLength) {
74  return false;
75  }
76 
77  if(m_bxNr != result.m_bxNr) {
78  return false;
79  }
80 
81  if(m_setupVersion != result.m_setupVersion) {
82  return false;
83  }
84 
85  if(m_activeBoards != result.m_activeBoards) {
86  return false;
87  }
88 
89  if(m_altNrBxBoard != result.m_altNrBxBoard) {
90  return false;
91  }
92 
93  if(m_totalTriggerNr != result.m_totalTriggerNr) {
94  return false;
95  }
96 
97  // all members identical
98  return true;
99 
100 }
cms_uint16_t m_recordLength
record length for alternative 0
Definition: L1GtfeWord.h:299
cms_uint16_t m_boardId
board identifier
Definition: L1GtfeWord.h:293
cms_uint16_t m_activeBoards
active boards contributing to EVM respectively DAQ record
Definition: L1GtfeWord.h:306
cms_uint16_t m_bxNr
bunch cross number as counted in the GTFE board
Definition: L1GtfeWord.h:302
cms_uint16_t m_altNrBxBoard
Definition: L1GtfeWord.h:312
cms_uint32_t m_totalTriggerNr
total number of L1A sent since start of run
Definition: L1GtfeWord.h:315
cms_uint32_t m_setupVersion
Definition: L1GtfeWord.h:303
cms_uint16_t m_recordLength1
record length for alternative 1
Definition: L1GtfeWord.h:296
void L1GtfeWord::print ( std::ostream &  myCout) const
virtual

pretty print the content of a L1GtfeWord

Reimplemented in L1GtfeExtWord.

Definition at line 321 of file L1GtfeWord.cc.

References TauDecayModes::dec, m_activeBoards, m_altNrBxBoard, m_boardId, m_bxNr, m_recordLength, m_recordLength1, m_setupVersion, and m_totalTriggerNr.

Referenced by L1GtPackUnpackAnalyzer::analyzeGT(), L1GtDataEmulAnalyzer::compareGTFE(), L1GtHwValidation::compareGTFE(), getSize(), L1GtfeExtWord::print(), L1GlobalTriggerReadoutRecord::print(), L1GTDigiToRaw::produce(), and L1GlobalTriggerRawToDigi::produce().

322 {
323 
324  myCout << "\n L1GtfeWord::print \n" << std::endl;
325 
326  myCout << " BoardId: "
327  << std::hex << " hex: " << " " << std::setw(2) << std::setfill('0') << m_boardId
328  << std::setfill(' ')
329  << std::dec << " dec: " << m_boardId
330  << std::endl;
331 
332  myCout << " BX for alternative 1: "
333  << std::hex << " hex: " << " " << std::setw(1) << m_recordLength1
334  << std::dec << " dec: " << m_recordLength1
335  << std::endl;
336 
337  myCout << " BX for alternative 0: "
338  << std::hex << " hex: " << " " << std::setw(1) << m_recordLength
339  << std::dec << " dec: " << m_recordLength
340  << std::endl;
341 
342  myCout << " BxNr: "
343  << std::hex << " hex: " << " " << std::setw(3) << std::setfill('0') << m_bxNr
344  << std::setfill(' ')
345  << std::dec << " dec: " << m_bxNr
346  << std::endl;
347 
348  myCout << " SetupVersion: "
349  << std::hex << " hex: " << std::setw(8) << std::setfill('0') << m_setupVersion
350  << std::setfill(' ')
351  << std::dec << " dec: " << m_setupVersion
352  << std::endl;
353 
354  //
355 
356  myCout << " ActiveBoards: "
357  << std::hex << " hex: " << " " << std::setw(4) << std::setfill('0') << m_activeBoards
358  << std::setfill(' ')
359  << std::dec << " dec: " << m_activeBoards
360  << std::endl;
361 
362  myCout << " AltNrBxBoard: "
363  << std::hex << " hex: " << " " << std::setw(4) << std::setfill('0') << m_altNrBxBoard
364  << std::setfill(' ')
365  << std::dec << " dec: " << m_altNrBxBoard
366  << std::endl;
367 
368  myCout << " TotalTriggerNr: "
369  << std::hex << " hex: " << std::setw(8) << std::setfill('0') << m_totalTriggerNr
370  << std::setfill(' ')
371  << std::dec << " dec: " << m_totalTriggerNr
372  << std::endl;
373 
374 
375 }
cms_uint16_t m_recordLength
record length for alternative 0
Definition: L1GtfeWord.h:299
cms_uint16_t m_boardId
board identifier
Definition: L1GtfeWord.h:293
cms_uint16_t m_activeBoards
active boards contributing to EVM respectively DAQ record
Definition: L1GtfeWord.h:306
cms_uint16_t m_bxNr
bunch cross number as counted in the GTFE board
Definition: L1GtfeWord.h:302
cms_uint16_t m_altNrBxBoard
Definition: L1GtfeWord.h:312
cms_uint32_t m_totalTriggerNr
total number of L1A sent since start of run
Definition: L1GtfeWord.h:315
cms_uint32_t m_setupVersion
Definition: L1GtfeWord.h:303
cms_uint16_t m_recordLength1
record length for alternative 1
Definition: L1GtfeWord.h:296
const cms_uint16_t L1GtfeWord::recordLength ( ) const
inline

get/set record length for alternative 0

Definition at line 104 of file L1GtfeWord.h.

References m_recordLength.

Referenced by L1GtDataEmulAnalyzer::compareGTFE(), L1GtHwValidation::compareGTFE(), L1GlobalTriggerEvmRawToDigi::produce(), L1GTEvmDigiToRaw::produce(), L1GTDigiToRaw::produce(), and L1GlobalTriggerRawToDigi::produce().

105  {
106  return m_recordLength;
107  }
cms_uint16_t m_recordLength
record length for alternative 0
Definition: L1GtfeWord.h:299
const cms_uint16_t L1GtfeWord::recordLength1 ( ) const
inline

get/set record length for alternative 1

Definition at line 85 of file L1GtfeWord.h.

References m_recordLength1.

Referenced by L1GtHwValidation::compareGTFE(), L1GlobalTriggerEvmRawToDigi::produce(), L1GTEvmDigiToRaw::produce(), L1GTDigiToRaw::produce(), and L1GlobalTriggerRawToDigi::produce().

86  {
87  return m_recordLength1;
88  }
cms_uint16_t m_recordLength1
record length for alternative 1
Definition: L1GtfeWord.h:296
void L1GtfeWord::reset ( void  )
virtual

reset the content of a L1GtfeWord

Reimplemented in L1GtfeExtWord.

Definition at line 306 of file L1GtfeWord.cc.

References m_activeBoards, m_altNrBxBoard, m_boardId, m_bxNr, m_recordLength, m_recordLength1, m_setupVersion, and m_totalTriggerNr.

Referenced by getSize(), L1GlobalTriggerRawToDigi::produce(), L1GtfeExtWord::reset(), and L1GlobalTriggerReadoutRecord::reset().

307 {
308 
309  m_boardId = 0;
310  m_recordLength1 = 0;
311  m_recordLength = 0;
312  m_bxNr = 0;
313  m_setupVersion = 0;
314  //
315  m_activeBoards = 0;
316  m_altNrBxBoard = 0;
317  m_totalTriggerNr = 0;
318 }
cms_uint16_t m_recordLength
record length for alternative 0
Definition: L1GtfeWord.h:299
cms_uint16_t m_boardId
board identifier
Definition: L1GtfeWord.h:293
cms_uint16_t m_activeBoards
active boards contributing to EVM respectively DAQ record
Definition: L1GtfeWord.h:306
cms_uint16_t m_bxNr
bunch cross number as counted in the GTFE board
Definition: L1GtfeWord.h:302
cms_uint16_t m_altNrBxBoard
Definition: L1GtfeWord.h:312
cms_uint32_t m_totalTriggerNr
total number of L1A sent since start of run
Definition: L1GtfeWord.h:315
cms_uint32_t m_setupVersion
Definition: L1GtfeWord.h:303
cms_uint16_t m_recordLength1
record length for alternative 1
Definition: L1GtfeWord.h:296
void L1GtfeWord::setActiveBoards ( cms_uint16_t  activeBoardsValue)
inline

Definition at line 168 of file L1GtfeWord.h.

References m_activeBoards, and setActiveBoardsWord64().

Referenced by L1GlobalTriggerEvmRawToDigi::produce(), L1GlobalTrigger::produce(), L1GlobalTriggerRawToDigi::produce(), and unpack().

169  {
170  m_activeBoards = activeBoardsValue;
171  }
cms_uint16_t m_activeBoards
active boards contributing to EVM respectively DAQ record
Definition: L1GtfeWord.h:306
void L1GtfeWord::setActiveBoards ( const cms_uint64_t word64)

Definition at line 224 of file L1GtfeWord.cc.

References ActiveBoardsMask, ActiveBoardsShift, and m_activeBoards.

225 {
227 }
cms_uint16_t m_activeBoards
active boards contributing to EVM respectively DAQ record
Definition: L1GtfeWord.h:306
static const int ActiveBoardsShift
Definition: L1GtfeWord.h:285
static const cms_uint64_t ActiveBoardsMask
Definition: L1GtfeWord.h:281
void L1GtfeWord::setActiveBoardsWord64 ( cms_uint64_t word64,
int  iWord 
)

set the ActiveBoards value in a 64-bits word, having the index iWord in the GTFE raw record

Definition at line 231 of file L1GtfeWord.cc.

References ActiveBoardsShift, ActiveBoardsWord, and m_activeBoards.

Referenced by L1GTEvmDigiToRaw::packGTFE(), L1GTDigiToRaw::packGTFE(), and setActiveBoards().

232 {
233 
234  if (iWord == ActiveBoardsWord) {
235  word64 = word64 |
236  (static_cast<cms_uint64_t> (m_activeBoards) << ActiveBoardsShift);
237  }
238 
239 }
static const int ActiveBoardsWord
Definition: L1GtfeWord.h:277
cms_uint16_t m_activeBoards
active boards contributing to EVM respectively DAQ record
Definition: L1GtfeWord.h:306
static const int ActiveBoardsShift
Definition: L1GtfeWord.h:285
unsigned long long cms_uint64_t
Definition: typedefs.h:17
void L1GtfeWord::setActiveBoardsWord64 ( cms_uint64_t word64,
int  iWord,
cms_int16_t  activeBoardsValue 
)

set the ActiveBoards value in a 64-bits word, having the index iWord in the GTFE raw record from the value activeBoardsValue

Definition at line 243 of file L1GtfeWord.cc.

References ActiveBoardsShift, and ActiveBoardsWord.

245 {
246  if (iWord == ActiveBoardsWord) {
247  word64 = word64 |
248  (static_cast<cms_uint64_t> (activeBoardsValue) << ActiveBoardsShift);
249  }
250 
251 }
static const int ActiveBoardsWord
Definition: L1GtfeWord.h:277
static const int ActiveBoardsShift
Definition: L1GtfeWord.h:285
unsigned long long cms_uint64_t
Definition: typedefs.h:17
void L1GtfeWord::setAltNrBxBoard ( cms_uint16_t  altNrBxBoardValue)
inline

Definition at line 192 of file L1GtfeWord.h.

References m_altNrBxBoard, and setAltNrBxBoardWord64().

Referenced by L1GlobalTrigger::produce(), and unpack().

193  {
194  m_altNrBxBoard = altNrBxBoardValue;
195  }
cms_uint16_t m_altNrBxBoard
Definition: L1GtfeWord.h:312
void L1GtfeWord::setAltNrBxBoard ( const cms_uint64_t word64)

Definition at line 256 of file L1GtfeWord.cc.

References AltNrBxBoardMask, AltNrBxBoardShift, and m_altNrBxBoard.

257 {
259 }
static const cms_uint64_t AltNrBxBoardMask
Definition: L1GtfeWord.h:282
cms_uint16_t m_altNrBxBoard
Definition: L1GtfeWord.h:312
static const int AltNrBxBoardShift
Definition: L1GtfeWord.h:286
void L1GtfeWord::setAltNrBxBoardWord64 ( cms_uint64_t word64,
int  iWord 
)

set the AltNrBxBoard value in a 64-bits word, having the index iWord in the GTFE raw record

Definition at line 263 of file L1GtfeWord.cc.

References AltNrBxBoardShift, AltNrBxBoardWord, and m_altNrBxBoard.

Referenced by L1GTEvmDigiToRaw::packGTFE(), L1GTDigiToRaw::packGTFE(), and setAltNrBxBoard().

264 {
265 
266  if (iWord == AltNrBxBoardWord) {
267  word64 = word64 |
268  (static_cast<cms_uint64_t> (m_altNrBxBoard) << AltNrBxBoardShift);
269  }
270 
271 }
cms_uint16_t m_altNrBxBoard
Definition: L1GtfeWord.h:312
unsigned long long cms_uint64_t
Definition: typedefs.h:17
static const int AltNrBxBoardShift
Definition: L1GtfeWord.h:286
static const int AltNrBxBoardWord
Definition: L1GtfeWord.h:278
void L1GtfeWord::setAltNrBxBoardWord64 ( cms_uint64_t word64,
int  iWord,
cms_int16_t  altNrBxBoardValue 
)

set the AltNrBxBoard value in a 64-bits word, having the index iWord in the GTFE raw record from the value altNrBxBoardValue

Definition at line 275 of file L1GtfeWord.cc.

References AltNrBxBoardShift, and AltNrBxBoardWord.

277 {
278  if (iWord == AltNrBxBoardWord) {
279  word64 = word64 |
280  (static_cast<cms_uint64_t> (altNrBxBoardValue) << AltNrBxBoardShift);
281  }
282 
283 }
unsigned long long cms_uint64_t
Definition: typedefs.h:17
static const int AltNrBxBoardShift
Definition: L1GtfeWord.h:286
static const int AltNrBxBoardWord
Definition: L1GtfeWord.h:278
void L1GtfeWord::setBoardId ( cms_uint16_t  boardIdValue)
inline

set BoardId from a BoardId value

Definition at line 71 of file L1GtfeWord.h.

References m_boardId, and setBoardIdWord64().

Referenced by L1GlobalTrigger::produce(), and unpack().

72  {
73  m_boardId = boardIdValue;
74  }
cms_uint16_t m_boardId
board identifier
Definition: L1GtfeWord.h:293
void L1GtfeWord::setBoardId ( const cms_uint64_t word64)

set the BoardId value from a 64-bits word

Definition at line 113 of file L1GtfeWord.cc.

References BoardIdMask, BoardIdShift, and m_boardId.

114 {
115  m_boardId = (word64 & BoardIdMask) >> BoardIdShift;
116 }
static const cms_uint64_t BoardIdMask
Definition: L1GtfeWord.h:261
cms_uint16_t m_boardId
board identifier
Definition: L1GtfeWord.h:293
static const int BoardIdShift
Definition: L1GtfeWord.h:270
void L1GtfeWord::setBoardIdWord64 ( cms_uint64_t word64,
int  iWord 
)

set the BoardId value in a 64-bits word, having the index iWord in the GTFE raw record

Definition at line 120 of file L1GtfeWord.cc.

References BoardIdShift, BoardIdWord, and m_boardId.

Referenced by L1GTEvmDigiToRaw::packGTFE(), L1GTDigiToRaw::packGTFE(), and setBoardId().

121 {
122 
123  if (iWord == BoardIdWord) {
124  word64 = word64 | (static_cast<cms_uint64_t> (m_boardId) << BoardIdShift);
125  }
126 
127 }
cms_uint16_t m_boardId
board identifier
Definition: L1GtfeWord.h:293
static const int BoardIdWord
Definition: L1GtfeWord.h:255
unsigned long long cms_uint64_t
Definition: typedefs.h:17
static const int BoardIdShift
Definition: L1GtfeWord.h:270
void L1GtfeWord::setBstFlag ( const int  bstFlagValue)

Definition at line 215 of file L1GtfeWord.cc.

References BstFlagMask, and m_setupVersion.

Referenced by setSetupVersion().

215  {
216 
217  m_setupVersion = m_setupVersion | ( static_cast<cms_uint32_t> (bstFlagValue) & BstFlagMask );
218 
219 }
unsigned int cms_uint32_t
Definition: typedefs.h:15
cms_uint32_t m_setupVersion
Definition: L1GtfeWord.h:303
static const cms_uint32_t BstFlagMask
Definition: L1GtfeWord.h:267
void L1GtfeWord::setBxNr ( cms_uint16_t  bxNrValue)
inline

Definition at line 127 of file L1GtfeWord.h.

References m_bxNr, and setBxNrWord64().

Referenced by L1GlobalTrigger::produce(), and unpack().

128  {
129  m_bxNr = bxNrValue;
130  }
cms_uint16_t m_bxNr
bunch cross number as counted in the GTFE board
Definition: L1GtfeWord.h:302
void L1GtfeWord::setBxNr ( const cms_uint64_t word64)

Definition at line 169 of file L1GtfeWord.cc.

References BxNrMask, BxNrShift, and m_bxNr.

170 {
171  m_bxNr = (word64 & BxNrMask) >> BxNrShift;
172 }
cms_uint16_t m_bxNr
bunch cross number as counted in the GTFE board
Definition: L1GtfeWord.h:302
static const cms_uint64_t BxNrMask
Definition: L1GtfeWord.h:264
static const int BxNrShift
Definition: L1GtfeWord.h:273
void L1GtfeWord::setBxNrWord64 ( cms_uint64_t word64,
int  iWord 
)

set the BxNr value in a 64-bits word, having the index iWord in the GTFE raw record

Definition at line 176 of file L1GtfeWord.cc.

References BxNrShift, BxNrWord, and m_bxNr.

Referenced by L1GTEvmDigiToRaw::packGTFE(), L1GTDigiToRaw::packGTFE(), and setBxNr().

177 {
178 
179  if (iWord == BxNrWord) {
180  word64 = word64 | (static_cast<cms_uint64_t> (m_bxNr) << BxNrShift);
181  }
182 
183 }
cms_uint16_t m_bxNr
bunch cross number as counted in the GTFE board
Definition: L1GtfeWord.h:302
static const int BxNrShift
Definition: L1GtfeWord.h:273
unsigned long long cms_uint64_t
Definition: typedefs.h:17
static const int BxNrWord
Definition: L1GtfeWord.h:258
void L1GtfeWord::setRecordLength ( cms_uint16_t  recordLengthValue)
inline

Definition at line 109 of file L1GtfeWord.h.

References m_recordLength, and setRecordLengthWord64().

Referenced by L1GlobalTriggerEvmRawToDigi::produce(), L1GlobalTrigger::produce(), L1GlobalTriggerRawToDigi::produce(), and unpack().

110  {
111  m_recordLength = recordLengthValue;
112  }
cms_uint16_t m_recordLength
record length for alternative 0
Definition: L1GtfeWord.h:299
void L1GtfeWord::setRecordLength ( const cms_uint64_t word64)

Definition at line 150 of file L1GtfeWord.cc.

References m_recordLength, RecordLengthMask, and RecordLengthShift.

151 {
153 }
cms_uint16_t m_recordLength
record length for alternative 0
Definition: L1GtfeWord.h:299
static const cms_uint64_t RecordLengthMask
Definition: L1GtfeWord.h:263
static const int RecordLengthShift
Definition: L1GtfeWord.h:272
void L1GtfeWord::setRecordLength1 ( cms_uint16_t  recordLengthValue)
inline

Definition at line 90 of file L1GtfeWord.h.

References m_recordLength1, and setRecordLength1Word64().

Referenced by L1GlobalTriggerEvmRawToDigi::produce(), L1GlobalTrigger::produce(), L1GlobalTriggerRawToDigi::produce(), and unpack().

91  {
92  m_recordLength1 = recordLengthValue;
93  }
cms_uint16_t m_recordLength1
record length for alternative 1
Definition: L1GtfeWord.h:296
void L1GtfeWord::setRecordLength1 ( const cms_uint64_t word64)

Definition at line 131 of file L1GtfeWord.cc.

References m_recordLength1, RecordLength1Mask, and RecordLength1Shift.

132 {
134 }
static const int RecordLength1Shift
Definition: L1GtfeWord.h:271
static const cms_uint64_t RecordLength1Mask
Definition: L1GtfeWord.h:262
cms_uint16_t m_recordLength1
record length for alternative 1
Definition: L1GtfeWord.h:296
void L1GtfeWord::setRecordLength1Word64 ( cms_uint64_t word64,
int  iWord 
)

set the RecordLength value in a 64-bits word, having the index iWord in the GTFE raw record

Definition at line 138 of file L1GtfeWord.cc.

References m_recordLength1, RecordLength1Shift, and RecordLength1Word.

Referenced by L1GTEvmDigiToRaw::packGTFE(), L1GTDigiToRaw::packGTFE(), and setRecordLength1().

139 {
140 
141  if (iWord == RecordLength1Word) {
142  word64 = word64 |
143  (static_cast<cms_uint64_t> (m_recordLength1) << RecordLength1Shift);
144  }
145 
146 }
static const int RecordLength1Shift
Definition: L1GtfeWord.h:271
static const int RecordLength1Word
Definition: L1GtfeWord.h:256
unsigned long long cms_uint64_t
Definition: typedefs.h:17
cms_uint16_t m_recordLength1
record length for alternative 1
Definition: L1GtfeWord.h:296
void L1GtfeWord::setRecordLengthWord64 ( cms_uint64_t word64,
int  iWord 
)

set the RecordLength value in a 64-bits word, having the index iWord in the GTFE raw record

Definition at line 157 of file L1GtfeWord.cc.

References m_recordLength, RecordLengthShift, and RecordLengthWord.

Referenced by L1GTEvmDigiToRaw::packGTFE(), L1GTDigiToRaw::packGTFE(), and setRecordLength().

158 {
159 
160  if (iWord == RecordLengthWord) {
161  word64 = word64 |
162  (static_cast<cms_uint64_t> (m_recordLength) << RecordLengthShift);
163  }
164 
165 }
cms_uint16_t m_recordLength
record length for alternative 0
Definition: L1GtfeWord.h:299
static const int RecordLengthShift
Definition: L1GtfeWord.h:272
static const int RecordLengthWord
Definition: L1GtfeWord.h:257
unsigned long long cms_uint64_t
Definition: typedefs.h:17
void L1GtfeWord::setSetupVersion ( cms_uint32_t  setupVersionValue)
inline

Definition at line 145 of file L1GtfeWord.h.

References bstFlag(), m_setupVersion, setBstFlag(), and setSetupVersionWord64().

Referenced by unpack().

146  {
147  m_setupVersion = setupVersionValue;
148  }
cms_uint32_t m_setupVersion
Definition: L1GtfeWord.h:303
void L1GtfeWord::setSetupVersion ( const cms_uint64_t word64)

Definition at line 187 of file L1GtfeWord.cc.

References m_setupVersion, SetupVersionMask, and SetupVersionShift.

188 {
190 }
static const cms_uint64_t SetupVersionMask
Definition: L1GtfeWord.h:265
static const int SetupVersionShift
Definition: L1GtfeWord.h:274
cms_uint32_t m_setupVersion
Definition: L1GtfeWord.h:303
void L1GtfeWord::setSetupVersionWord64 ( cms_uint64_t word64,
int  iWord 
)

set the SetupVersion value in a 64-bits word, having the index iWord in the GTFE raw record

Definition at line 194 of file L1GtfeWord.cc.

References m_setupVersion, SetupVersionShift, and SetupVersionWord.

Referenced by L1GTEvmDigiToRaw::packGTFE(), L1GTDigiToRaw::packGTFE(), and setSetupVersion().

195 {
196 
197  if (iWord == SetupVersionWord) {
198  word64 = word64 |
199  (static_cast<cms_uint64_t> (m_setupVersion) << SetupVersionShift);
200  }
201 
202 }
static const int SetupVersionWord
Definition: L1GtfeWord.h:259
static const int SetupVersionShift
Definition: L1GtfeWord.h:274
unsigned long long cms_uint64_t
Definition: typedefs.h:17
cms_uint32_t m_setupVersion
Definition: L1GtfeWord.h:303
void L1GtfeWord::setTotalTriggerNr ( cms_uint32_t  totalTriggerNrValue)
inline

Definition at line 216 of file L1GtfeWord.h.

References m_totalTriggerNr, and setTotalTriggerNrWord64().

Referenced by L1GlobalTrigger::produce(), and unpack().

217  {
218  m_totalTriggerNr = totalTriggerNrValue;
219  }
cms_uint32_t m_totalTriggerNr
total number of L1A sent since start of run
Definition: L1GtfeWord.h:315
void L1GtfeWord::setTotalTriggerNr ( const cms_uint64_t word64)

Definition at line 286 of file L1GtfeWord.cc.

References m_totalTriggerNr, TotalTriggerNrMask, and TotalTriggerNrShift.

287 {
289 }
static const cms_uint64_t TotalTriggerNrMask
Definition: L1GtfeWord.h:283
static const int TotalTriggerNrShift
Definition: L1GtfeWord.h:287
cms_uint32_t m_totalTriggerNr
total number of L1A sent since start of run
Definition: L1GtfeWord.h:315
void L1GtfeWord::setTotalTriggerNrWord64 ( cms_uint64_t word64,
int  iWord 
)

set the TotalTriggerNr value in a 64-bits word, having the index iWord in the GTFE raw record

Definition at line 293 of file L1GtfeWord.cc.

References m_totalTriggerNr, TotalTriggerNrShift, and TotalTriggerNrWord.

Referenced by L1GTEvmDigiToRaw::packGTFE(), L1GTDigiToRaw::packGTFE(), and setTotalTriggerNr().

294 {
295 
296  if (iWord == TotalTriggerNrWord) {
297  word64 = word64 |
299  }
300 
301 }
static const int TotalTriggerNrWord
Definition: L1GtfeWord.h:279
static const int TotalTriggerNrShift
Definition: L1GtfeWord.h:287
unsigned long long cms_uint64_t
Definition: typedefs.h:17
cms_uint32_t m_totalTriggerNr
total number of L1A sent since start of run
Definition: L1GtfeWord.h:315
const cms_uint32_t L1GtfeWord::setupVersion ( ) const
inline

get/set setup version

Definition at line 140 of file L1GtfeWord.h.

References m_setupVersion.

Referenced by L1TGT::analyze(), L1GtDataEmulAnalyzer::compareGTFE(), and L1GtHwValidation::compareGTFE().

141  {
142  return m_setupVersion;
143  }
cms_uint32_t m_setupVersion
Definition: L1GtfeWord.h:303
const cms_uint32_t L1GtfeWord::totalTriggerNr ( ) const
inline

get/set total number of L1A sent since start of run

Definition at line 211 of file L1GtfeWord.h.

References m_totalTriggerNr.

Referenced by L1GtDataEmulAnalyzer::compareGTFE(), and L1GtHwValidation::compareGTFE().

212  {
213  return m_totalTriggerNr;
214  }
cms_uint32_t m_totalTriggerNr
total number of L1A sent since start of run
Definition: L1GtfeWord.h:315
void L1GtfeWord::unpack ( const unsigned char *  gtfePtr)
virtual

unpack GTFE gtfePtr pointer to the beginning of the GTFE block in the raw data

Reimplemented in L1GtfeExtWord.

Definition at line 380 of file L1GtfeWord.cc.

References ActiveBoardsMask, ActiveBoardsShift, ActiveBoardsWord, AltNrBxBoardMask, AltNrBxBoardShift, AltNrBxBoardWord, BlockSize, BoardIdMask, BoardIdShift, BoardIdWord, BstFlagMask, BxNrMask, BxNrShift, BxNrWord, TauDecayModes::dec, edm::isDebugEnabled(), LogDebug, LogTrace, jets_cff::payload, RecordLength1Mask, RecordLength1Shift, RecordLength1Word, RecordLengthMask, RecordLengthShift, RecordLengthWord, setActiveBoards(), setAltNrBxBoard(), setBoardId(), setBxNr(), setRecordLength(), setRecordLength1(), setSetupVersion(), setTotalTriggerNr(), SetupVersionMask, SetupVersionShift, SetupVersionWord, TotalTriggerNrMask, TotalTriggerNrShift, and TotalTriggerNrWord.

Referenced by getSize(), L1GlobalTriggerRawToDigi::produce(), and L1GtfeExtWord::unpack().

381 {
382  LogDebug("L1GtfeWord")
383  << "\nUnpacking GTFE block.\n"
384  << std::endl;
385 
386  const cms_uint64_t* payload =
387  reinterpret_cast<cms_uint64_t const*>(gtfePtr);
388 
389  setBoardId(payload[BoardIdWord]);
392  setBxNr(payload[BxNrWord]);
397 
398 
399  if ( edm::isDebugEnabled() ) {
400 
401  for (int iWord = 0; iWord < BlockSize; ++iWord) {
402  LogTrace("L1GtfeWord")
403  << std::setw(4) << iWord << " "
404  << std::hex << std::setfill('0')
405  << std::setw(16) << payload[iWord]
406  << std::dec << std::setfill(' ')
407  << std::endl;
408  }
409 
410  }
411 
412 }
#define LogDebug(id)
bool isDebugEnabled()
void setBxNr(cms_uint16_t bxNrValue)
Definition: L1GtfeWord.h:127
static const int ActiveBoardsWord
Definition: L1GtfeWord.h:277
static const int BlockSize
Definition: L1GtfeWord.h:253
void setRecordLength(cms_uint16_t recordLengthValue)
Definition: L1GtfeWord.h:109
void setAltNrBxBoard(cms_uint16_t altNrBxBoardValue)
Definition: L1GtfeWord.h:192
void setTotalTriggerNr(cms_uint32_t totalTriggerNrValue)
Definition: L1GtfeWord.h:216
static const int TotalTriggerNrWord
Definition: L1GtfeWord.h:279
static const int SetupVersionWord
Definition: L1GtfeWord.h:259
void setRecordLength1(cms_uint16_t recordLengthValue)
Definition: L1GtfeWord.h:90
#define LogTrace(id)
void setBoardId(cms_uint16_t boardIdValue)
set BoardId from a BoardId value
Definition: L1GtfeWord.h:71
static const int RecordLength1Word
Definition: L1GtfeWord.h:256
void setActiveBoards(cms_uint16_t activeBoardsValue)
Definition: L1GtfeWord.h:168
static const int RecordLengthWord
Definition: L1GtfeWord.h:257
static const int BoardIdWord
Definition: L1GtfeWord.h:255
unsigned long long cms_uint64_t
Definition: typedefs.h:17
void setSetupVersion(cms_uint32_t setupVersionValue)
Definition: L1GtfeWord.h:145
static const int BxNrWord
Definition: L1GtfeWord.h:258
static const int AltNrBxBoardWord
Definition: L1GtfeWord.h:278

Member Data Documentation

const cms_uint64_t L1GtfeWord::ActiveBoardsMask = 0xFFFF000000000000ULL
staticprivate

Definition at line 281 of file L1GtfeWord.h.

Referenced by setActiveBoards(), and unpack().

const int L1GtfeWord::ActiveBoardsShift = 48
staticprivate

Definition at line 285 of file L1GtfeWord.h.

Referenced by setActiveBoards(), setActiveBoardsWord64(), and unpack().

const int L1GtfeWord::ActiveBoardsWord = 1
staticprivate

Definition at line 277 of file L1GtfeWord.h.

Referenced by setActiveBoardsWord64(), and unpack().

const cms_uint64_t L1GtfeWord::AltNrBxBoardMask = 0x0000FFFF00000000ULL
staticprivate

Definition at line 282 of file L1GtfeWord.h.

Referenced by setAltNrBxBoard(), and unpack().

const int L1GtfeWord::AltNrBxBoardShift = 32
staticprivate

Definition at line 286 of file L1GtfeWord.h.

Referenced by setAltNrBxBoard(), setAltNrBxBoardWord64(), and unpack().

const int L1GtfeWord::AltNrBxBoardWord = 1
staticprivate

Definition at line 278 of file L1GtfeWord.h.

Referenced by setAltNrBxBoardWord64(), and unpack().

const int L1GtfeWord::BlockSize = 2
staticprivate

Definition at line 253 of file L1GtfeWord.h.

Referenced by getSize(), and unpack().

const cms_uint64_t L1GtfeWord::BoardIdMask = 0xFF00000000000000ULL
staticprivate

Definition at line 261 of file L1GtfeWord.h.

Referenced by setBoardId(), and unpack().

const int L1GtfeWord::BoardIdShift = 56
staticprivate

Definition at line 270 of file L1GtfeWord.h.

Referenced by setBoardId(), setBoardIdWord64(), and unpack().

const int L1GtfeWord::BoardIdWord = 0
staticprivate

Definition at line 255 of file L1GtfeWord.h.

Referenced by setBoardIdWord64(), and unpack().

const cms_uint32_t L1GtfeWord::BstFlagMask = 0x0001
staticprivate

Definition at line 267 of file L1GtfeWord.h.

Referenced by bstFlag(), setBstFlag(), and unpack().

const cms_uint64_t L1GtfeWord::BxNrMask = 0x00000FFF00000000ULL
staticprivate

Definition at line 264 of file L1GtfeWord.h.

Referenced by setBxNr(), and unpack().

const int L1GtfeWord::BxNrShift = 32
staticprivate

Definition at line 273 of file L1GtfeWord.h.

Referenced by setBxNr(), setBxNrWord64(), and unpack().

const int L1GtfeWord::BxNrWord = 0
staticprivate

Definition at line 258 of file L1GtfeWord.h.

Referenced by setBxNrWord64(), and unpack().

cms_uint16_t L1GtfeWord::m_activeBoards
private

active boards contributing to EVM respectively DAQ record

Definition at line 306 of file L1GtfeWord.h.

Referenced by activeBoards(), operator==(), print(), reset(), setActiveBoards(), and setActiveBoardsWord64().

cms_uint16_t L1GtfeWord::m_altNrBxBoard
private

alternative for number of BX per board correlated with active boards bit value is 0: take alternative 0 bit value is 1: take alternative 1

Definition at line 312 of file L1GtfeWord.h.

Referenced by altNrBxBoard(), operator==(), print(), reset(), setAltNrBxBoard(), and setAltNrBxBoardWord64().

cms_uint16_t L1GtfeWord::m_boardId
private

board identifier

Definition at line 293 of file L1GtfeWord.h.

Referenced by boardId(), operator==(), print(), reset(), setBoardId(), and setBoardIdWord64().

cms_uint16_t L1GtfeWord::m_bxNr
private

bunch cross number as counted in the GTFE board

Definition at line 302 of file L1GtfeWord.h.

Referenced by bxNr(), operator==(), print(), reset(), setBxNr(), and setBxNrWord64().

cms_uint16_t L1GtfeWord::m_recordLength
private

record length for alternative 0

Definition at line 299 of file L1GtfeWord.h.

Referenced by operator==(), print(), recordLength(), reset(), setRecordLength(), and setRecordLengthWord64().

cms_uint16_t L1GtfeWord::m_recordLength1
private

record length for alternative 1

Definition at line 296 of file L1GtfeWord.h.

Referenced by operator==(), print(), recordLength1(), reset(), setRecordLength1(), and setRecordLength1Word64().

cms_uint32_t L1GtfeWord::m_setupVersion
private
cms_uint32_t L1GtfeWord::m_totalTriggerNr
private

total number of L1A sent since start of run

Definition at line 315 of file L1GtfeWord.h.

Referenced by operator==(), print(), reset(), setTotalTriggerNr(), setTotalTriggerNrWord64(), and totalTriggerNr().

const cms_uint64_t L1GtfeWord::RecordLength1Mask = 0x00F0000000000000ULL
staticprivate

Definition at line 262 of file L1GtfeWord.h.

Referenced by setRecordLength1(), and unpack().

const int L1GtfeWord::RecordLength1Shift = 52
staticprivate

Definition at line 271 of file L1GtfeWord.h.

Referenced by setRecordLength1(), setRecordLength1Word64(), and unpack().

const int L1GtfeWord::RecordLength1Word = 0
staticprivate

Definition at line 256 of file L1GtfeWord.h.

Referenced by setRecordLength1Word64(), and unpack().

const cms_uint64_t L1GtfeWord::RecordLengthMask = 0x000F000000000000ULL
staticprivate

Definition at line 263 of file L1GtfeWord.h.

Referenced by setRecordLength(), and unpack().

const int L1GtfeWord::RecordLengthShift = 48
staticprivate

Definition at line 272 of file L1GtfeWord.h.

Referenced by setRecordLength(), setRecordLengthWord64(), and unpack().

const int L1GtfeWord::RecordLengthWord = 0
staticprivate

Definition at line 257 of file L1GtfeWord.h.

Referenced by setRecordLengthWord64(), and unpack().

const cms_uint64_t L1GtfeWord::SetupVersionMask = 0x00000000FFFFFFFFULL
staticprivate

Definition at line 265 of file L1GtfeWord.h.

Referenced by setSetupVersion(), and unpack().

const int L1GtfeWord::SetupVersionShift = 0
staticprivate

Definition at line 274 of file L1GtfeWord.h.

Referenced by setSetupVersion(), setSetupVersionWord64(), and unpack().

const int L1GtfeWord::SetupVersionWord = 0
staticprivate

Definition at line 259 of file L1GtfeWord.h.

Referenced by setSetupVersionWord64(), and unpack().

const cms_uint64_t L1GtfeWord::TotalTriggerNrMask = 0x00000000FFFFFFFFULL
staticprivate

Definition at line 283 of file L1GtfeWord.h.

Referenced by setTotalTriggerNr(), and unpack().

const int L1GtfeWord::TotalTriggerNrShift = 0
staticprivate

Definition at line 287 of file L1GtfeWord.h.

Referenced by setTotalTriggerNr(), setTotalTriggerNrWord64(), and unpack().

const int L1GtfeWord::TotalTriggerNrWord = 1
staticprivate

Definition at line 279 of file L1GtfeWord.h.

Referenced by setTotalTriggerNrWord64(), and unpack().