|
ATLAS Offline Software
|
Go to the documentation of this file.
120 for (
int frame = 0; frame <
s_frames; ++frame) {
146 for (
int frame = 0; frame <
s_frames; ++frame) {
154 frame, loc, enLarge, enSmall);
void setBunchCrossing(int bc)
Set the Bunch Crossing number (neutral format only)
void fillRoi(LVL1::JEMTobRoI roi)
Store RoI.
int location() const
Return location (RoI local coords) (0-3)
static const int s_wordIdVal
Header word ID.
void clear()
Clear all data.
std::vector< LVL1::JEMTobRoI > m_roiData
RoIs.
void packerNeutral(int pin, uint32_t datum, int nbits)
Pack given neutral data from given pin.
void clear()
Clear all data.
JEMTobRoI_v1 JEMTobRoI
Define the latest version of the JEMTobRoI class.
bool packNeutral()
Pack neutral data.
int frame() const
Return RoI frame number (0-7)
void setHeader(int wordId, int version, int format, int seqno, int crate, int module, int slices2, int slices1)
Store header data.
int bunchCrossing() const
Return the Bunch Crossing number (neutral format only)
static const int s_bunchCrossingBits
static const int s_energySmallBits
bool unpackerNeutralParityError(int pin)
Unpack and test G-Link parity bit for given pin.
bool unpackNeutral()
Unpack neutral data.
static const int s_locationBits
LVL1::JEMTobRoI roi(int frame) const
Return RoI for given frame.
int energySmall() const
Return energy small window size.
static const int s_framesPerPin
bool unpackerSuccess() const
Return unpacker success flag.
static const int s_bunchCrossingPin
static const int s_energyLargeBits
int jem() const
Return JEM number (0-15)
void setUnpackErrorCode(int code)
Set the unpacking error code.
int energyLarge() const
Return energy large window size.
int crate() const
Return crate number (0-1)
void setRoiHeader(int version, int crate, int module)
Store header.
uint32_t unpackerNeutral(int pin, int nbits)
Unpack given number of bits of neutral data for given pin.
static const int s_frames
bool unpack()
Unpack data.
void packerNeutralParity(int pin)
Pack current G-Link parity bit for given pin.
static const int s_paddingBits