|
ATLAS Offline Software
|
Go to the documentation of this file.
166 unsigned int map = 0;
177 unsigned int map = 0;
189 unsigned int map = 0;
200 const unsigned int ex,
const unsigned int ey,
201 const unsigned int et,
const int exError,
202 const int eyError,
const int etError)
220 unsigned int sum =
ex;
224 for (
int i = 0;
i < 3; ++
i) {
248 const unsigned int map)
280 const unsigned int map)
369 for (
int pin = 0; pin <
s_maxJems; ++pin) {
425 std::vector<uint32_t>::const_iterator
pos;
443 for (
int pin = 0; pin <
s_maxJems; ++pin) {
497 exErrRem, eyErrRem, etErrRem);
499 exErrLoc, eyErrLoc, etErrLoc);
501 exErrTot, eyErrTot, etErrTot);
void setBunchCrossing(int bc)
Set the Bunch Crossing number (neutral format only)
unsigned int missingEtSigHits(int slice) const
Return Missing-ET-Sig Hits map.
void setSumEtHits(int slice, unsigned int map)
Store Sum-Et Hits map.
int exError(int slice, int source) const
Return Ex subsum error for given JEM or source ID.
static const int s_etHitsBit
Extra patterns decribing particle interation process.
static const int s_dataWordIdBit
unsigned int et(int slice, int source) const
Return Et subsum for given JEM or source ID.
static const int s_paddingBits
void clear()
Clear all data.
void packerNeutral(int pin, uint32_t datum, int nbits)
Pack given neutral data from given pin.
static const int s_maxSums
static const uint32_t s_eyMask
void setGlinkParity(int bit=1)
Set G-Link Parity bit in Sub-status word.
void unpackerInit()
Initialise unpacker.
static const int s_dataWordId
unsigned int missingEtHits(int slice) const
Return Missing-ET Hits map.
static const uint32_t s_etMissSigMask
static const uint32_t s_errorMask
static const uint32_t s_etMask
void packerFlush()
Flush the current data word padded with zeros.
int eyError(int slice, int source) const
Return Ey subsum error for given JEM or source ID.
int bunchCrossing() const
Return the Bunch Crossing number (neutral format only)
static const int s_errorBit
void packer(uint32_t datum, int nbits)
Pack given data into given number of bits.
void clear()
Clear all data.
bool unpackNeutral()
Unpack neutral data.
void setDaqOverflow(int bit=1)
Set DAQ FIFO Overflow bit in Sub-status word.
void setMissingEtSigHits(int slice, unsigned int map)
Store Missing-ET-Sig Hits map.
bool unpackerNeutralParityError(int pin)
Unpack and test G-Link parity bit for given pin.
static const int s_bunchCrossingBits
uint32_t unpacker(int nbits)
Unpack given number of bits of data.
int index(int slice, int source) const
static const int s_wordLength
Data word length.
unsigned int sumEtHits(int slice) const
Return Sum-Et Hits map.
int etError(int slice, int source) const
Return Et subsum error for given JEM or source ID.
static const uint32_t s_exMask
bool unpackerSuccess() const
Return unpacker success flag.
int sourceId(uint32_t word) const
static const uint32_t s_etHitsMask
bool unpackUncompressed()
Unpack uncompressed data.
unsigned int ex(int slice, int source) const
Return Ex subsum for given JEM or source ID.
static const int s_maxJems
static const uint32_t s_sumsMask
static const uint32_t s_etMissMask
static const int s_etMissBit
bool unpack()
Unpack data.
void setSubsums(int slice, int source, unsigned int ex, unsigned int ey, unsigned int et, int exError, int eyError, int etError)
Store energy subsums and errors for given JEM or source ID.
static const int s_etMissSigBit
static const uint32_t s_sourceIdMask
static const int s_sourceIdBit
static const uint32_t s_remoteErrorMask
bool packUncompressed()
Pack uncompressed data.
static const int s_fifoOverflowPin
unsigned int ey(int slice, int source) const
Return Ey subsum for given JEM or source ID.
void setUnpackErrorCode(int code)
Set the unpacking error code.
bool packNeutral()
Pack neutral data.
void setMissingEtHits(int slice, unsigned int map)
Store Missing-ET Hits map.
uint32_t unpackerNeutral(int pin, int nbits)
Unpack given number of bits of neutral data for given pin.
static const uint32_t s_etHitsMaskV1
static const int s_jemSumBits
static const int s_sumBits
std::vector< uint32_t > m_sumsData
Energy subsums data.
static const int s_jemErrorBit
void packerNeutralParity(int pin)
Pack current G-Link parity bit for given pin.