5#ifndef TRIGT1CALOBYTESTREAM_CMXENERGYSUBBLOCK_H
6#define TRIGT1CALOBYTESTREAM_CMXENERGYSUBBLOCK_H
54 unsigned int ex,
unsigned int ey,
unsigned int et,
55 int exError,
int eyError,
int etError);
58 unsigned int ex,
unsigned int ey,
unsigned int et,
59 int exError,
int eyError,
int etError);
static const uint32_t s_jemMask
unsigned int hits(int slice, HitsType hType, SumType sType) const
Return hits map for given hits type and sum type.
static const uint32_t s_overflowMask
static const uint32_t s_sumTypeMask
static const int s_jemBit
static const int s_wordIdBit
static const int s_energyTypeJemBit
static const int s_sumBitsEtCrate
static const uint32_t s_errorMask
static const int s_bunchCrossingBits
static const uint32_t s_energyTypeMask
static const int s_overflowBit
static const int s_sourceBit
static const uint32_t s_etHitsMask
static const int s_sumBitsExEy
static const int s_energyTypeBit
static const int s_jemPaddingBits
static const uint32_t s_energySumMask
static const int s_jemSumBits
void setSubsums(int slice, int jem, unsigned int ex, unsigned int ey, unsigned int et, int exError, int eyError, int etError)
Store energy subsums and errors for given JEM.
static const uint32_t s_sourceMask
void setEtHits(int slice, HitsType hType, SumType sType, unsigned int map)
Store hits map for given hits type and sum type.
bool unpackUncompressed()
Unpack uncompressed data.
static const int s_sumBitsEtSys
static const int s_errorBit
static const int s_etHitsBit
static const int s_maxSums
bool unpack()
Unpack data.
bool packUncompressed()
Pack uncompressed data.
static const int s_etHitMapsBits
bool packNeutral()
Pack neutral data.
static const uint32_t s_energyJemMask
static const int s_maxJems
static const int s_sumTypeBit
static const int s_wordLength
Data word length.
unsigned int energy(int slice, int jem, EnergyType eType) const
Return energy subsum for given JEM and energy type.
void clear()
Clear all data.
static const int s_paddingBits
static const uint32_t s_wordIdMask
bool unpackNeutral()
Unpack neutral data.
std::vector< uint32_t > m_sumsData
Energy subsums data.
Extra patterns decribing particle interation process.