|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGT1CALOBYTESTREAM_JEMSUBBLOCK_H
6 #define TRIGT1CALOBYTESTREAM_JEMSUBBLOCK_H
43 unsigned int ey,
unsigned int et);
50 unsigned int ex(
int slice)
const;
52 unsigned int ey(
int slice)
const;
54 unsigned int et(
int slice)
const;
bool packNeutral()
Pack neutral data.
static const int s_sumIndicator
static const uint32_t s_etMask
Extra patterns decribing particle interation process.
JEM jet element dataword class.
void setEnergySubsums(int slice, unsigned int ex, unsigned int ey, unsigned int et)
Store energy subsum data.
static const int s_hitPaddingBits
JemJetElement jetElement(int slice, int channel) const
Return jet element for given channel.
static const uint32_t s_sourceIdMask
static const int s_mainFwdThreshId
static const int s_threshBit
static const int s_jeWordId
static const int s_jetElementBits
unsigned int jetHits(int slice) const
Return jet hit counts.
bool packUncompressed()
Pack uncompressed data.
int timeslices() const
Return number of timeslices.
static const int s_bunchCrossingBits
Sub-Block class for JEM data.
int dataId(uint32_t word) const
std::vector< size_t > vec
static const uint32_t s_dataIdMask
void resize(std::vector< uint32_t > &vec, int channels=1)
static const int s_sourceIdBit
static const int s_wordIdVal
JEM header word ID.
std::vector< uint32_t > m_jetHits
Jet hit counts.
static const uint32_t s_threshWordId
void setJetHits(int slice, unsigned int hits)
Store jet hit counts.
int index(int slice) const
int m_channels
Number of jet element channels.
bool unpackNeutral()
Unpack neutral data.
std::vector< uint32_t > m_jeData
Jet element data.
static const int s_dataIdBit
static const uint32_t s_eyMask
static const int s_wordLength
Data word length.
bool unpackUncompressed()
Unpack uncompressed data.
static const int s_jePaddingBits
static const int s_jetHitsBits
unsigned int et(int slice) const
Return energy subsum Et.
static const int s_jetIndicatorBit
L1Calo Sub-Block base class.
int sourceId(uint32_t word) const
void setJemHeader(int version, int format, int slice, int crate, int module, int timeslices)
Store JEM header.
std::vector< uint32_t > m_energySubsums
Energy subsum data.
static const int s_sumIndicatorBit
bool unpack()
Unpack data.
void clear()
Clear all data.
unsigned int ex(int slice) const
Return energy subsum Ex.
static const int s_jetIndicator
unsigned int ey(int slice) const
Return energy subsum Ey.
static const uint32_t s_threshMask
static const int s_glinkBitsPerSlice
static const int s_subsumId
static const int s_mainThreshId
static const int s_pairsPerPin
static const int s_energyBits
void fillJetElement(int slice, const JemJetElement &jetEle)
Store jet element data.
static const uint32_t s_exMask