5#ifndef TRIGT1CALOBYTESTREAM_CMMJETSUBBLOCK_H
6#define TRIGT1CALOBYTESTREAM_CMMJETSUBBLOCK_H
static const int s_paddingBits
unsigned int jetHits(int slice, int source) const
Return jet hit counts for given jem or source ID.
bool unpackUncompressed()
Unpack uncompressed data.
std::vector< uint32_t > m_hitsData
JEM hits and sums data.
static const uint32_t s_etMapMask
bool packNeutral()
Pack neutral data.
static const int s_fwdHitsBits
static const int s_wordLength
Data word length.
static const int s_bunchCrossingBits
int jetHitsError(int slice, int source) const
Return jet hit error for given jem or source ID.
static const int s_threshErrorBit
static const int s_rightBit
bool packUncompressed()
Pack uncompressed data.
static const int s_dataWordId
static const uint32_t s_errorMask
static const int s_fifoOverflowPin
void setJetHits(int slice, int source, unsigned int hits, int error)
Store jet hit counts and error for given jem or source ID.
static const uint32_t s_sourceIdMask
static const uint32_t s_fwdMask
static const int s_fwdErrorBit
static const int s_threshBit
int sourceId(uint32_t word) const
static const int s_maxHits
void setJetEtMap(int slice, unsigned int map)
Store jet ET map.
static const int s_jetHitsBits
static const uint32_t s_threshMask
static const int s_dataWordIdBit
unsigned int jetEtMap(int slice) const
Return jet ET map.
void clear()
Clear all data.
bool unpackNeutral()
Unpack neutral data.
bool unpack()
Unpack data.
static const int s_sourceIdBit
static const int s_jetHitsErrorBits
static const int s_etMapBit