|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGT1CALOBYTESTREAM_JEMSUBBLOCKV2_H
6 #define TRIGT1CALOBYTESTREAM_JEMSUBBLOCKV2_H
41 unsigned int ey,
unsigned int et);
46 unsigned int ex(
int slice)
const;
48 unsigned int ey(
int slice)
const;
50 unsigned int et(
int slice)
const;
JemJetElement jetElement(int slice, int channel) const
Return jet element for given channel.
Extra patterns decribing particle interation process.
JEM jet element dataword class.
static const int s_wordLength
Data word length.
bool unpackUncompressed()
Unpack uncompressed data.
static const int s_bunchCrossingBits
static const int s_exEyId
unsigned int ey(int slice) const
Return energy subsum Ey.
bool unpackNeutral()
Unpack neutral data.
void clear()
Clear all data.
static const int s_jeWordId
std::vector< size_t > vec
int m_channels
Number of jet element channels.
static const uint32_t s_exMask
static const int s_energyBits
std::vector< uint32_t > m_jeData
Jet element data.
static const uint32_t s_sourceIdMask
static const uint32_t s_etMask
static const int s_glinkBitsPerSlice
std::vector< uint32_t > m_energySubsums
Energy subsum data.
int dataId(uint32_t word) const
bool packNeutral()
Pack neutral data.
unsigned int et(int slice) const
Return energy subsum Et.
static const int s_wordIdVal
JEM header word ID.
void setEnergySubsums(int slice, unsigned int ex, unsigned int ey, unsigned int et)
Store energy subsum data.
static const int s_dataIdBit
static const uint32_t s_eyMask
static const int s_jePaddingBits
static const int s_jetElementBits
bool packUncompressed()
Pack uncompressed data.
unsigned int ex(int slice) const
Return energy subsum Ex.
int m_energyWords
Number of energy data words.
static const int s_energyPaddingBits
Sub-Block class for JEM data post LS1.
L1Calo Sub-Block base class.
int timeslices() const
Return number of timeslices.
void fillJetElement(int slice, const JemJetElement &jetEle)
Store jet element data.
static const int s_pairsPerPin
void setJemHeader(int version, int format, int slice, int crate, int module, int timeslices)
Store JEM header.
void resize(std::vector< uint32_t > &vec, int channels)
int index(int slice, int channels) const
bool unpack()
Unpack data.
static const int s_sourceIdBit
int sourceId(uint32_t word) const
static const uint32_t s_energyWordId
static const uint32_t s_dataIdMask