Go to the documentation of this file. 1 #ifndef L1GlobalTrigger_L1GtPsbWord_h
2 #define L1GlobalTrigger_L1GtPsbWord_h
158 void print(std::ostream& myCout)
const;
void setBoardIdWord64(cms_uint64_t &word64, int iWord)
void setEventNrWord64(cms_uint64_t &word64, int iWord)
static const cms_uint64_t BxNrMask
unsigned int cms_uint32_t
static const int UnitLength
one unit in the word is UnitLength bits
const cms_uint16_t aData(int iA) const
get/set A_DATA_CH_IA
void setBData(cms_uint16_t bDataVal, int iB)
static const cms_uint64_t BoardIdMask
void reset()
reset the content of a L1GtPsbWord
static const int BDataCH0Word
static const int BxNrShift
const unsigned int getSize() const
get the size of the PSB block in GT DAQ record (in multiple of 8 bits)
static const int BlockSize
static const int BxInEventShift
static const int BoardIdWord
void setBxInEventWord64(cms_uint64_t &word64, int iWord)
void setEventNr(cms_uint32_t eventNrValue)
static const int DataCHSize
void setADataWord64(cms_uint64_t &word64, int iWord)
static const cms_uint64_t BxInEventMask
const cms_uint16_t bData(int iB) const
get/set B_DATA_CH_IB
cms_uint16_t m_bData[NumberBData]
const cms_uint16_t bxNr() const
get/set bunch cross number of the actual bx
void setLocalBxNrWord64(cms_uint64_t &word64, int iWord)
bool operator==(const L1GtPsbWord &) const
equal operator
static const int EventNrWord
void setBxNr(cms_uint16_t bxNrValue)
static const cms_uint64_t LocalBxNrMask
void setBxNrWord64(cms_uint64_t &word64, int iWord)
const int bxInEvent() const
get/set bunch cross in the GT event record
virtual ~L1GtPsbWord()
destructor
void print(std::ostream &myCout) const
pretty print
static const int LocalBxNrShift
bool operator!=(const L1GtPsbWord &) const
unequal operator
void setBoardId(cms_uint16_t boardIdValue)
static const cms_uint64_t DataCHMask
const cms_uint32_t eventNr() const
get/set event number since last L1 reset generated in PSB
static const cms_uint64_t EventNrMask
static const int NumberBData
void setBxInEvent(int bxInEventValue)
static const int ADataCH0Word
unsigned long long cms_uint64_t
unsigned short cms_uint16_t
L1GtPsbWord()
constructors
static const int BxInEventWord
static const int BxNrWord
void setBDataWord64(cms_uint64_t &word64, int iWord)
static const int BDataCH4Word
const cms_uint16_t localBxNr() const
get/set local bunch cross number of the actual bx
static const int BoardIdShift
static const int EventNrShift
static const int ADataCH4Word
static const int NumberAData
const cms_uint16_t boardId() const
get/set board ID
cms_uint16_t m_aData[NumberAData]
void setAData(cms_uint16_t aDataVal, int iA)
static const int LocalBxNrWord
void setLocalBxNr(cms_uint16_t localBxNrValue)