|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGT1CALOBYTESTREAM_CMMCPSUBBLOCK_H
6 #define TRIGT1CALOBYTESTREAM_CMMCPSUBBLOCK_H
bool unpackNeutral()
Unpack neutral data.
static const uint32_t s_sourceIdMask
int sourceId(uint32_t word) const
std::vector< uint32_t > m_hitsData
CPM hits and sums data.
bool unpackUncompressed()
Unpack uncompressed data.
static const int s_sourceIdBit
Sub-Block class for CMM-CP data.
static const int s_maxHits
static const int s_threshErrorBit
unsigned int hits(int slice, int source) const
Return hit counts for given CPM or source ID.
void setHits(int slice, int source, unsigned int hits, int error)
Store hit counts for given CPM or source ID.
static const int s_dataWordId
static const int s_hitsBits
static const uint32_t s_threshMask
int hitsError(int slice, int source) const
Return hit error for given CPM or source ID.
static const uint32_t s_errorMask
Sub-Block class for CMM data.
bool packNeutral()
Pack neutral data.
static const int s_fifoOverflowPin
static const int s_hitsErrorBits
bool unpack()
Unpack data.
static const int s_paddingBits
static const int s_threshBit
static const int s_wordLength
Data word length.
bool packUncompressed()
Pack uncompressed data.
void clear()
Clear all data.
static const int s_dataWordIdBit
int index(int slice, int source) const
static const int s_bunchCrossingBits