|
ATLAS Offline Software
|
Go to the documentation of this file.
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_errorMask
static const int s_sourceBit
static const uint32_t s_energySumMask
Extra patterns decribing particle interation process.
void setEtHits(int slice, HitsType hType, SumType sType, unsigned int map)
Store hits map for given hits type and sum type.
static const int s_bunchCrossingBits
static const int s_sumBitsExEy
static const int s_sumTypeBit
static const int s_wordIdBit
std::vector< uint32_t > m_sumsData
Energy subsums data.
bool unpackUncompressed()
Unpack uncompressed data.
Sub-Block class for CMX data post LS1.
static const int s_jemSumBits
static const int s_sumBitsEtSys
static const int s_sumBitsEtCrate
void clear()
Clear all data.
static const int s_overflowBit
def hType(hist, verbose=False)
bool unpack()
Unpack data.
static const uint32_t s_energyJemMask
static const int s_etHitMapsBits
static const uint32_t s_energyTypeMask
static const int s_jemPaddingBits
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_etHitsMask
static const uint32_t s_sourceMask
static const int s_etHitsBit
static const int s_wordLength
Data word length.
static const uint32_t s_sumTypeMask
static const int s_maxSums
bool packNeutral()
Pack neutral data.
static const int s_errorBit
static const int s_maxJems
static const int s_jemBit
static const uint32_t s_overflowMask
static const uint32_t s_wordIdMask
static const int s_energyTypeBit
bool unpackNeutral()
Unpack neutral data.
int index(int slice, int pos) const
static const int s_energyTypeJemBit
unsigned int energy(int slice, int jem, EnergyType eType) const
Return energy subsum for given JEM and energy type.
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_jemMask
Sub-Block class for CMX-Energy data post LS1.
int error(int slice, int jem, EnergyType eType) const
Return energy subsum error for given JEM and energy type.
static const int s_paddingBits
bool packUncompressed()
Pack uncompressed data.