|
ATLAS Offline Software
|
Go to the documentation of this file.
72 const int slice,
const int crate,
73 const int module,
const int timeslices)
97 const int sourceId = (jem == 0 || jem == 7 || jem == 8 || jem == 15)
112 const unsigned int ey,
const unsigned int et)
143 unsigned int hits = 0;
309 std::vector<uint32_t>::const_iterator
pos;
342 hadParity, linkError);
378 const int id =
dataId(word);
void setBunchCrossing(int bc)
Set the Bunch Crossing number (neutral format only)
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.
void clear()
Clear all 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.
void packerNeutral(int pin, uint32_t datum, int nbits)
Pack given neutral data from given pin.
bool unpack()
Unpack data.
static const int s_jetIndicator
static const int s_mainThreshId
int index(int slice) const
void unpackerInit()
Initialise unpacker.
static const int s_glinkBitsPerSlice
static const int s_wordIdVal
JEM header word ID.
std::vector< size_t > vec
void setHeader(int wordId, int version, int format, int seqno, int crate, int module, int slices2, int slices1)
Store header data.
static const int s_sourceIdBit
int sourceId(uint32_t word) const
void packerFlush()
Flush the current data word padded with zeros.
int bunchCrossing() const
Return the Bunch Crossing number (neutral format only)
static const int s_jetIndicatorBit
static const uint32_t s_exMask
bool unpackUncompressed()
Unpack uncompressed data.
static const uint32_t s_dataIdMask
void packer(uint32_t datum, int nbits)
Pack given data into given number of bits.
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.
bool unpackerNeutralParityError(int pin)
Unpack and test G-Link parity bit for given pin.
static const int s_threshBit
uint32_t unpacker(int nbits)
Unpack given number of bits of data.
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.
bool unpackerSuccess() const
Return unpacker success flag.
int dataWords() const
Return number of data words.
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
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
void setUnpackErrorCode(int code)
Set the unpacking error code.
int parityBit(int init, uint32_t datum, int nbits) const
Return the parity bit for given data.
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.
uint32_t unpackerNeutral(int pin, int nbits)
Unpack given number of bits of neutral data for given pin.
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
void packerNeutralParity(int pin)
Pack current G-Link parity bit for given pin.
static const int s_wordLength
Data word length.