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