|
ATLAS Offline Software
|
Go to the documentation of this file.
57 unsigned int hits = 0;
100 const unsigned int hits,
const int error)
244 std::vector<uint32_t>::const_iterator
pos;
262 unsigned int hits = 0;
293 for (
int pin = 0; pin <= lastpin; ++pin) {
void setBunchCrossing(int bc)
Set the Bunch Crossing number (neutral format only)
void clear()
Clear all data.
static const int s_rightBit
static const int s_threshBit
void packerNeutral(int pin, uint32_t datum, int nbits)
Pack given neutral data from given pin.
int index(int slice, int source) const
static const int s_etMapBit
int sourceId(uint32_t word) const
unsigned int jetEtMap(int slice) const
Return jet ET map.
void setGlinkParity(int bit=1)
Set G-Link Parity bit in Sub-status word.
void unpackerInit()
Initialise unpacker.
bool packNeutral()
Pack neutral data.
std::vector< uint32_t > m_hitsData
JEM hits and sums data.
void packerFlush()
Flush the current data word padded with zeros.
int bunchCrossing() const
Return the Bunch Crossing number (neutral format only)
bool unpackNeutral()
Unpack neutral data.
static const uint32_t s_errorMask
static const int s_dataWordIdBit
void packer(uint32_t datum, int nbits)
Pack given data into given number of bits.
static const int s_jetHitsErrorBits
void clear()
Clear all data.
bool packUncompressed()
Pack uncompressed data.
void setDaqOverflow(int bit=1)
Set DAQ FIFO Overflow bit in Sub-status word.
static const int s_fwdHitsBits
bool unpackerNeutralParityError(int pin)
Unpack and test G-Link parity bit for given pin.
static const int s_sourceIdBit
static const int s_paddingBits
unsigned int jetHits(int slice, int source) const
Return jet hit counts for given jem or source ID.
static const int s_maxHits
uint32_t unpacker(int nbits)
Unpack given number of bits of data.
static const int s_dataWordId
static const uint32_t s_threshMask
static const int s_fifoOverflowPin
bool unpack()
Unpack data.
static const int s_wordLength
Data word length.
void setJetHits(int slice, int source, unsigned int hits, int error)
Store jet hit counts and error for given jem or source ID.
bool unpackerSuccess() const
Return unpacker success flag.
static const uint32_t s_sourceIdMask
void setJetEtMap(int slice, unsigned int map)
Store jet ET map.
bool unpackUncompressed()
Unpack uncompressed data.
static const int s_fwdErrorBit
static const int s_jetHitsBits
static const int s_threshErrorBit
void setUnpackErrorCode(int code)
Set the unpacking error code.
static const int s_bunchCrossingBits
uint32_t unpackerNeutral(int pin, int nbits)
Unpack given number of bits of neutral data for given pin.
static const uint32_t s_fwdMask
static const uint32_t s_etMapMask
int jetHitsError(int slice, int source) const
Return jet hit error for given jem or source ID.
void packerNeutralParity(int pin)
Pack current G-Link parity bit for given pin.