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