ATLAS Offline Software
Loading...
Searching...
No Matches
ZdcL1CaloSubBlock Class Reference

L1Calo Sub-Block base class. More...

#include <ZdcL1CaloSubBlock.h>

Collaboration diagram for ZdcL1CaloSubBlock:

Public Types

enum  SubBlockWordType { HEADER , DATA , STATUS }
enum  DataFormats { NEUTRAL = 0 , UNCOMPRESSED = 1 , COMPRESSED = 2 , SUPERCOMPRESSED = 3 }
enum  DataErrorType {
  ERROR_NONE , ERROR_DUPLICATE_ROB , ERROR_ROD_ID , ERROR_ROD_NSTATUS ,
  ERROR_USER_HEADER , ERROR_MISSING_HEADER , ERROR_MISSING_SUBBLOCK , ERROR_CRATE_NUMBER ,
  ERROR_MODULE_NUMBER , ERROR_SLICES , ERROR_DUPLICATE_DATA , ERROR_ROI_TYPE ,
  ERROR_MAX
}
enum  UnpackErrorType {
  UNPACK_NONE = ERROR_NONE , UNPACK_VERSION = ERROR_MAX , UNPACK_FORMAT , UNPACK_COMPRESSION_VERSION ,
  UNPACK_COMPRESSION_SLICES , UNPACK_DATA_TRUNCATED , UNPACK_EXCESS_DATA , UNPACK_SOURCE_ID ,
  UNPACK_EXCESS_TOBS , UNPACK_DATA_ID
}

Public Member Functions

 ZdcL1CaloSubBlock ()
 ~ZdcL1CaloSubBlock ()
void clear ()
 Clear all data.
int dataWords () const
 Return number of data words.
void setHeader (int wordId, int version, int format, int seqno, int crate, int module, int slices2, int slices1)
 Store header data.
int wordId () const
int version () const
int format () const
int seqno () const
int slice () const
int crate () const
int module () const
int slices2 () const
int slices1 () const
uint32_t failingBCN () const
bool glinkTimeout () const
bool glinkDown () const
bool upstreamError () const
bool daqOverflow () const
bool bcnMismatch () const
bool glinkProtocol () const
bool glinkParity () const
uint32_t subStatus () const
 Return Sub-status word.
void setBunchCrossing (int bc)
 Set the Bunch Crossing number (neutral format only)
int bunchCrossing () const
 Return the Bunch Crossing number (neutral format only)
OFFLINE_FRAGMENTS_NAMESPACE::PointerType read (const OFFLINE_FRAGMENTS_NAMESPACE::PointerType beg, const OFFLINE_FRAGMENTS_NAMESPACE::PointerType end)
 Input complete packed sub-block from ROD array.
void setStatus (uint32_t failingBCN, bool glinkTimeout, bool glinkDown, bool upstreamError, bool daqOverflow, bool bcnMismatch, bool glinkProtocol, bool glinkParity)
 Output complete packed sub-block to ROD vector.
void setDaqOverflow (int bit=1)
 Set DAQ FIFO Overflow bit in Sub-status word.
void setGlinkParity (int bit=1)
 Set G-Link Parity bit in Sub-status word.
void setUnpackErrorCode (int code)
 Set the unpacking error code.
int unpackErrorCode () const
 Return the unpacking error code.
std::string unpackErrorMsg () const
 Return the unpacking error message for printing.
int minBits (uint32_t datum) const
 Return the minimum number of bits needed for given data.
int parityBit (int init, uint32_t datum, int nbits) const
 Return the parity bit for given data.
void packer (uint32_t datum, int nbits)
 Pack given data into given number of bits.
void packerFlush ()
 Flush the current data word padded with zeros.
void setStreamed ()
 Set continuous bit streaming for compressed formats.
uint32_t unpacker (int nbits)
 Unpack given number of bits of data.
uint32_t unpacker (int nbits, int align)
void unpackerInit ()
 Initialise unpacker.
bool unpackerSuccess () const
 Return unpacker success flag.
void packerNeutral (int pin, uint32_t datum, int nbits)
 Pack given neutral data from given pin.
void packerNeutralParity (int pin)
 Pack current G-Link parity bit for given pin.
uint32_t unpackerNeutral (int pin, int nbits)
 Unpack given number of bits of neutral data for given pin.
bool unpackerNeutralParityError (int pin)
 Unpack and test G-Link parity bit for given pin.
int currentPinBit (int pin) const
 Return current pin bit for given pin.

Static Public Member Functions

static SubBlockWordType wordType (uint32_t word)
 Word identification.
static int wordId (uint32_t word)
 Return wordID field from given header word.
static int version (uint32_t word)
 Return version number from given header word.
static int format (uint32_t word)
 Return data format from given header word.
static int seqno (uint32_t word)
 Return seqno field from given header word.
static int module (uint32_t word)
 Return module field from given header word.

Private Attributes

uint32_t m_header
 Sub-Block Header.
uint32_t m_trailer
 Sub-Block Status Trailer.
int m_bunchCrossing
 Bunch Crossing number (neutral format only)
int m_unpackError
 Unpacking error code.
uint32_t m_bitword
int m_currentBit
int m_maxBits
uint32_t m_maxMask
bool m_unpackerFlag
std::vector< uint32_t >::const_iterator m_dataPos
std::vector< uint32_t >::const_iterator m_dataPosEnd
std::vector< int > m_currentPinBit
std::vector< int > m_oddParity
int m_dataWords
 Current number of data words.
std::vector< uint32_t > m_data
 Sub-Block data.
std::vector< uint32_t > m_unpackingMasks
 Unpacking masks.

Static Private Attributes

static const int s_headerBit = 30
static const int s_statusBit = 28
static const uint32_t s_headerMask = 0x3
static const uint32_t s_statusMask = 0x1
static const uint32_t s_headerVal = 0x3
static const uint32_t s_statusVal = 0x1
static const int s_ppmCrates = 8
static const int s_wordIdBit = 28
static const int s_versionBit = 25
static const int s_formatBit = 22
static const int s_seqnoBit = 16
static const int s_crateBit = 12
static const int s_moduleBit = 8
static const int s_slices2Bit = 3
static const int s_slices1Bit = 0
static const uint32_t s_wordIdMask = 0xf
static const uint32_t s_versionMask = 0x7
static const uint32_t s_formatMask = 0x7
static const uint32_t s_seqnoMask = 0x3f
static const uint32_t s_crateMask = 0xf
static const uint32_t s_moduleMask = 0xf
static const uint32_t s_slices2Mask = 0x1f
static const uint32_t s_slices1Mask = 0x7
static const int s_failingBcnBit = 22
static const int s_glinkTimeoutBit = 7
static const int s_glinkDownBit = 6
static const int s_upstreamErrorBit = 4
static const int s_daqOverflowBit = 3
static const int s_bcnMismatchBit = 2
static const int s_glinkProtocolBit = 1
static const int s_glinkParityBit = 0
static const uint32_t s_failingBcnMask = 0x3f
static const int s_maxWordBits = 32
static const int s_maxStreamedBits = 31
static const uint32_t s_maxWordMask = 0xffffffff
static const uint32_t s_maxStreamedMask = 0x7fffffff
static const int s_maxPins = 20
static const uint32_t s_glinkDavSet = 0x400000

Detailed Description

L1Calo Sub-Block base class.

Provides common functionality for all L1Calo Sub-Block derived types.

Author
Peter Faulkner

Definition at line 25 of file ZdcL1CaloSubBlock.h.

Member Enumeration Documentation

◆ DataErrorType

Enumerator
ERROR_NONE 
ERROR_DUPLICATE_ROB 
ERROR_ROD_ID 
ERROR_ROD_NSTATUS 
ERROR_USER_HEADER 
ERROR_MISSING_HEADER 
ERROR_MISSING_SUBBLOCK 
ERROR_CRATE_NUMBER 
ERROR_MODULE_NUMBER 
ERROR_SLICES 
ERROR_DUPLICATE_DATA 
ERROR_ROI_TYPE 
ERROR_MAX 

Definition at line 32 of file ZdcL1CaloSubBlock.h.

◆ DataFormats

Enumerator
NEUTRAL 
UNCOMPRESSED 
COMPRESSED 
SUPERCOMPRESSED 

Definition at line 29 of file ZdcL1CaloSubBlock.h.

◆ SubBlockWordType

Enumerator
HEADER 
DATA 
STATUS 

Definition at line 28 of file ZdcL1CaloSubBlock.h.

◆ UnpackErrorType

Enumerator
UNPACK_NONE 
UNPACK_VERSION 
UNPACK_FORMAT 
UNPACK_COMPRESSION_VERSION 
UNPACK_COMPRESSION_SLICES 
UNPACK_DATA_TRUNCATED 
UNPACK_EXCESS_DATA 
UNPACK_SOURCE_ID 
UNPACK_EXCESS_TOBS 
UNPACK_DATA_ID 

Definition at line 39 of file ZdcL1CaloSubBlock.h.

Constructor & Destructor Documentation

◆ ZdcL1CaloSubBlock()

ZdcL1CaloSubBlock::ZdcL1CaloSubBlock ( )

◆ ~ZdcL1CaloSubBlock()

ZdcL1CaloSubBlock::~ZdcL1CaloSubBlock ( )

Member Function Documentation

◆ bcnMismatch()

bool ZdcL1CaloSubBlock::bcnMismatch ( ) const
inline

Definition at line 310 of file ZdcL1CaloSubBlock.h.

311{
312 return m_trailer & (0x1 << s_bcnMismatchBit);
313}
uint32_t m_trailer
Sub-Block Status Trailer.
static const int s_bcnMismatchBit

◆ bunchCrossing()

int ZdcL1CaloSubBlock::bunchCrossing ( ) const
inline

Return the Bunch Crossing number (neutral format only)

Definition at line 335 of file ZdcL1CaloSubBlock.h.

336{
337 return m_bunchCrossing;
338}
int m_bunchCrossing
Bunch Crossing number (neutral format only)

◆ clear()

void ZdcL1CaloSubBlock::clear ( )

Clear all data.

◆ crate()

int ZdcL1CaloSubBlock::crate ( ) const
inline

Definition at line 265 of file ZdcL1CaloSubBlock.h.

266{
267 return (m_header >> s_crateBit) & s_crateMask;
268}
static const int s_crateBit
static const uint32_t s_crateMask
uint32_t m_header
Sub-Block Header.

◆ currentPinBit()

int ZdcL1CaloSubBlock::currentPinBit ( int pin) const
inline

Return current pin bit for given pin.

Definition at line 361 of file ZdcL1CaloSubBlock.h.

362{
363 return m_currentPinBit[pin];
364}
std::vector< int > m_currentPinBit

◆ daqOverflow()

bool ZdcL1CaloSubBlock::daqOverflow ( ) const
inline

Definition at line 305 of file ZdcL1CaloSubBlock.h.

306{
307 return m_trailer & (0x1 << s_daqOverflowBit);
308}
static const int s_daqOverflowBit

◆ dataWords()

int ZdcL1CaloSubBlock::dataWords ( ) const
inline

Return number of data words.

Definition at line 235 of file ZdcL1CaloSubBlock.h.

236{
237 return m_dataWords;
238}
int m_dataWords
Current number of data words.

◆ failingBCN()

uint32_t ZdcL1CaloSubBlock::failingBCN ( ) const
inline

Definition at line 285 of file ZdcL1CaloSubBlock.h.

286{
288}
static const int s_failingBcnBit
static const uint32_t s_failingBcnMask

◆ format() [1/2]

int ZdcL1CaloSubBlock::format ( ) const
inline

Definition at line 250 of file ZdcL1CaloSubBlock.h.

251{
252 return (m_header >> s_formatBit) & s_formatMask;
253}
static const uint32_t s_formatMask
static const int s_formatBit

◆ format() [2/2]

int ZdcL1CaloSubBlock::format ( uint32_t word)
static

Return data format from given header word.

◆ glinkDown()

bool ZdcL1CaloSubBlock::glinkDown ( ) const
inline

Definition at line 295 of file ZdcL1CaloSubBlock.h.

296{
297 return m_trailer & (0x1 << s_glinkDownBit);
298}
static const int s_glinkDownBit

◆ glinkParity()

bool ZdcL1CaloSubBlock::glinkParity ( ) const
inline

Definition at line 320 of file ZdcL1CaloSubBlock.h.

321{
322 return m_trailer & (0x1 << s_glinkParityBit);
323}
static const int s_glinkParityBit

◆ glinkProtocol()

bool ZdcL1CaloSubBlock::glinkProtocol ( ) const
inline

Definition at line 315 of file ZdcL1CaloSubBlock.h.

316{
317 return m_trailer & (0x1 << s_glinkProtocolBit);
318}
static const int s_glinkProtocolBit

◆ glinkTimeout()

bool ZdcL1CaloSubBlock::glinkTimeout ( ) const
inline

Definition at line 290 of file ZdcL1CaloSubBlock.h.

291{
292 return m_trailer & (0x1 << s_glinkTimeoutBit);
293}
static const int s_glinkTimeoutBit

◆ minBits()

int ZdcL1CaloSubBlock::minBits ( uint32_t datum) const

Return the minimum number of bits needed for given data.

◆ module() [1/2]

int ZdcL1CaloSubBlock::module ( ) const
inline

Definition at line 270 of file ZdcL1CaloSubBlock.h.

271{
272 return (m_header >> s_moduleBit) & s_moduleMask;
273}
static const uint32_t s_moduleMask
static const int s_moduleBit

◆ module() [2/2]

int ZdcL1CaloSubBlock::module ( uint32_t word)
static

Return module field from given header word.

◆ packer()

void ZdcL1CaloSubBlock::packer ( uint32_t datum,
int nbits )

Pack given data into given number of bits.

◆ packerFlush()

void ZdcL1CaloSubBlock::packerFlush ( )

Flush the current data word padded with zeros.

◆ packerNeutral()

void ZdcL1CaloSubBlock::packerNeutral ( int pin,
uint32_t datum,
int nbits )

Pack given neutral data from given pin.

◆ packerNeutralParity()

void ZdcL1CaloSubBlock::packerNeutralParity ( int pin)

Pack current G-Link parity bit for given pin.

◆ parityBit()

int ZdcL1CaloSubBlock::parityBit ( int init,
uint32_t datum,
int nbits ) const

Return the parity bit for given data.

◆ read()

Input complete packed sub-block from ROD array.

◆ seqno() [1/2]

int ZdcL1CaloSubBlock::seqno ( ) const
inline

Definition at line 255 of file ZdcL1CaloSubBlock.h.

256{
257 return (m_header >> s_seqnoBit) & s_seqnoMask;
258}
static const uint32_t s_seqnoMask
static const int s_seqnoBit

◆ seqno() [2/2]

int ZdcL1CaloSubBlock::seqno ( uint32_t word)
static

Return seqno field from given header word.

◆ setBunchCrossing()

void ZdcL1CaloSubBlock::setBunchCrossing ( int bc)
inline

Set the Bunch Crossing number (neutral format only)

Definition at line 330 of file ZdcL1CaloSubBlock.h.

331{
332 if (bc) m_bunchCrossing = bc;
333}

◆ setDaqOverflow()

void ZdcL1CaloSubBlock::setDaqOverflow ( int bit = 1)

Set DAQ FIFO Overflow bit in Sub-status word.

◆ setGlinkParity()

void ZdcL1CaloSubBlock::setGlinkParity ( int bit = 1)

Set G-Link Parity bit in Sub-status word.

◆ setHeader()

void ZdcL1CaloSubBlock::setHeader ( int wordId,
int version,
int format,
int seqno,
int crate,
int module,
int slices2,
int slices1 )

Store header data.

◆ setStatus()

void ZdcL1CaloSubBlock::setStatus ( uint32_t failingBCN,
bool glinkTimeout,
bool glinkDown,
bool upstreamError,
bool daqOverflow,
bool bcnMismatch,
bool glinkProtocol,
bool glinkParity )

Output complete packed sub-block to ROD vector.

Store error status trailer

◆ setStreamed()

void ZdcL1CaloSubBlock::setStreamed ( )
inline

Set continuous bit streaming for compressed formats.

Definition at line 350 of file ZdcL1CaloSubBlock.h.

◆ setUnpackErrorCode()

void ZdcL1CaloSubBlock::setUnpackErrorCode ( int code)
inline

Set the unpacking error code.

Definition at line 340 of file ZdcL1CaloSubBlock.h.

341{
343}
int m_unpackError
Unpacking error code.

◆ slice()

int ZdcL1CaloSubBlock::slice ( ) const
inline

Definition at line 260 of file ZdcL1CaloSubBlock.h.

261{
262 return seqno();
263}

◆ slices1()

int ZdcL1CaloSubBlock::slices1 ( ) const
inline

Definition at line 280 of file ZdcL1CaloSubBlock.h.

281{
282 return (m_header >> s_slices1Bit) & s_slices1Mask;
283}
static const int s_slices1Bit
static const uint32_t s_slices1Mask

◆ slices2()

int ZdcL1CaloSubBlock::slices2 ( ) const
inline

Definition at line 275 of file ZdcL1CaloSubBlock.h.

276{
277 return (m_header >> s_slices2Bit) & s_slices2Mask;
278}
static const int s_slices2Bit
static const uint32_t s_slices2Mask

◆ subStatus()

uint32_t ZdcL1CaloSubBlock::subStatus ( ) const
inline

Return Sub-status word.

Definition at line 325 of file ZdcL1CaloSubBlock.h.

326{
327 return m_trailer;
328}

◆ unpacker() [1/2]

uint32_t ZdcL1CaloSubBlock::unpacker ( int nbits)

Unpack given number of bits of data.

◆ unpacker() [2/2]

uint32_t ZdcL1CaloSubBlock::unpacker ( int nbits,
int align )

◆ unpackerInit()

void ZdcL1CaloSubBlock::unpackerInit ( )

Initialise unpacker.

◆ unpackerNeutral()

uint32_t ZdcL1CaloSubBlock::unpackerNeutral ( int pin,
int nbits )

Unpack given number of bits of neutral data for given pin.

◆ unpackerNeutralParityError()

bool ZdcL1CaloSubBlock::unpackerNeutralParityError ( int pin)

Unpack and test G-Link parity bit for given pin.

◆ unpackErrorCode()

int ZdcL1CaloSubBlock::unpackErrorCode ( ) const
inline

Return the unpacking error code.

Definition at line 345 of file ZdcL1CaloSubBlock.h.

346{
347 return m_unpackError;
348}

◆ unpackErrorMsg()

std::string ZdcL1CaloSubBlock::unpackErrorMsg ( ) const

Return the unpacking error message for printing.

◆ unpackerSuccess()

bool ZdcL1CaloSubBlock::unpackerSuccess ( ) const
inline

Return unpacker success flag.

Definition at line 356 of file ZdcL1CaloSubBlock.h.

357{
358 return m_unpackerFlag;
359}

◆ upstreamError()

bool ZdcL1CaloSubBlock::upstreamError ( ) const
inline

Definition at line 300 of file ZdcL1CaloSubBlock.h.

301{
302 return m_trailer & (0x1 << s_upstreamErrorBit);
303}
static const int s_upstreamErrorBit

◆ version() [1/2]

int ZdcL1CaloSubBlock::version ( ) const
inline

Definition at line 245 of file ZdcL1CaloSubBlock.h.

246{
247 return (m_header >> s_versionBit) & s_versionMask;
248}
static const uint32_t s_versionMask
static const int s_versionBit

◆ version() [2/2]

int ZdcL1CaloSubBlock::version ( uint32_t word)
static

Return version number from given header word.

◆ wordId() [1/2]

int ZdcL1CaloSubBlock::wordId ( ) const
inline

Definition at line 240 of file ZdcL1CaloSubBlock.h.

241{
242 return (m_header >> s_wordIdBit) & s_wordIdMask;
243}
static const uint32_t s_wordIdMask
static const int s_wordIdBit

◆ wordId() [2/2]

int ZdcL1CaloSubBlock::wordId ( uint32_t word)
static

Return wordID field from given header word.

◆ wordType()

SubBlockWordType ZdcL1CaloSubBlock::wordType ( uint32_t word)
static

Word identification.

Member Data Documentation

◆ m_bitword

uint32_t ZdcL1CaloSubBlock::m_bitword
private

Definition at line 216 of file ZdcL1CaloSubBlock.h.

◆ m_bunchCrossing

int ZdcL1CaloSubBlock::m_bunchCrossing
private

Bunch Crossing number (neutral format only)

Definition at line 212 of file ZdcL1CaloSubBlock.h.

◆ m_currentBit

int ZdcL1CaloSubBlock::m_currentBit
private

Definition at line 217 of file ZdcL1CaloSubBlock.h.

◆ m_currentPinBit

std::vector<int> ZdcL1CaloSubBlock::m_currentPinBit
private

Definition at line 224 of file ZdcL1CaloSubBlock.h.

◆ m_data

std::vector<uint32_t> ZdcL1CaloSubBlock::m_data
private

Sub-Block data.

Definition at line 229 of file ZdcL1CaloSubBlock.h.

◆ m_dataPos

std::vector<uint32_t>::const_iterator ZdcL1CaloSubBlock::m_dataPos
private

Definition at line 221 of file ZdcL1CaloSubBlock.h.

◆ m_dataPosEnd

std::vector<uint32_t>::const_iterator ZdcL1CaloSubBlock::m_dataPosEnd
private

Definition at line 222 of file ZdcL1CaloSubBlock.h.

◆ m_dataWords

int ZdcL1CaloSubBlock::m_dataWords
private

Current number of data words.

Definition at line 227 of file ZdcL1CaloSubBlock.h.

◆ m_header

uint32_t ZdcL1CaloSubBlock::m_header
private

Sub-Block Header.

Definition at line 208 of file ZdcL1CaloSubBlock.h.

◆ m_maxBits

int ZdcL1CaloSubBlock::m_maxBits
private

Definition at line 218 of file ZdcL1CaloSubBlock.h.

◆ m_maxMask

uint32_t ZdcL1CaloSubBlock::m_maxMask
private

Definition at line 219 of file ZdcL1CaloSubBlock.h.

◆ m_oddParity

std::vector<int> ZdcL1CaloSubBlock::m_oddParity
private

Definition at line 225 of file ZdcL1CaloSubBlock.h.

◆ m_trailer

uint32_t ZdcL1CaloSubBlock::m_trailer
private

Sub-Block Status Trailer.

Definition at line 210 of file ZdcL1CaloSubBlock.h.

◆ m_unpackerFlag

bool ZdcL1CaloSubBlock::m_unpackerFlag
private

Definition at line 220 of file ZdcL1CaloSubBlock.h.

◆ m_unpackError

int ZdcL1CaloSubBlock::m_unpackError
private

Unpacking error code.

Definition at line 214 of file ZdcL1CaloSubBlock.h.

◆ m_unpackingMasks

std::vector<uint32_t> ZdcL1CaloSubBlock::m_unpackingMasks
private

Unpacking masks.

Definition at line 231 of file ZdcL1CaloSubBlock.h.

◆ s_bcnMismatchBit

const int ZdcL1CaloSubBlock::s_bcnMismatchBit = 2
staticprivate

Definition at line 194 of file ZdcL1CaloSubBlock.h.

◆ s_crateBit

const int ZdcL1CaloSubBlock::s_crateBit = 12
staticprivate

Definition at line 176 of file ZdcL1CaloSubBlock.h.

◆ s_crateMask

const uint32_t ZdcL1CaloSubBlock::s_crateMask = 0xf
staticprivate

Definition at line 184 of file ZdcL1CaloSubBlock.h.

◆ s_daqOverflowBit

const int ZdcL1CaloSubBlock::s_daqOverflowBit = 3
staticprivate

Definition at line 193 of file ZdcL1CaloSubBlock.h.

◆ s_failingBcnBit

const int ZdcL1CaloSubBlock::s_failingBcnBit = 22
staticprivate

Definition at line 189 of file ZdcL1CaloSubBlock.h.

◆ s_failingBcnMask

const uint32_t ZdcL1CaloSubBlock::s_failingBcnMask = 0x3f
staticprivate

Definition at line 197 of file ZdcL1CaloSubBlock.h.

◆ s_formatBit

const int ZdcL1CaloSubBlock::s_formatBit = 22
staticprivate

Definition at line 174 of file ZdcL1CaloSubBlock.h.

◆ s_formatMask

const uint32_t ZdcL1CaloSubBlock::s_formatMask = 0x7
staticprivate

Definition at line 182 of file ZdcL1CaloSubBlock.h.

◆ s_glinkDavSet

const uint32_t ZdcL1CaloSubBlock::s_glinkDavSet = 0x400000
staticprivate

Definition at line 205 of file ZdcL1CaloSubBlock.h.

◆ s_glinkDownBit

const int ZdcL1CaloSubBlock::s_glinkDownBit = 6
staticprivate

Definition at line 191 of file ZdcL1CaloSubBlock.h.

◆ s_glinkParityBit

const int ZdcL1CaloSubBlock::s_glinkParityBit = 0
staticprivate

Definition at line 196 of file ZdcL1CaloSubBlock.h.

◆ s_glinkProtocolBit

const int ZdcL1CaloSubBlock::s_glinkProtocolBit = 1
staticprivate

Definition at line 195 of file ZdcL1CaloSubBlock.h.

◆ s_glinkTimeoutBit

const int ZdcL1CaloSubBlock::s_glinkTimeoutBit = 7
staticprivate

Definition at line 190 of file ZdcL1CaloSubBlock.h.

◆ s_headerBit

const int ZdcL1CaloSubBlock::s_headerBit = 30
staticprivate

Definition at line 163 of file ZdcL1CaloSubBlock.h.

◆ s_headerMask

const uint32_t ZdcL1CaloSubBlock::s_headerMask = 0x3
staticprivate

Definition at line 165 of file ZdcL1CaloSubBlock.h.

◆ s_headerVal

const uint32_t ZdcL1CaloSubBlock::s_headerVal = 0x3
staticprivate

Definition at line 167 of file ZdcL1CaloSubBlock.h.

◆ s_maxPins

const int ZdcL1CaloSubBlock::s_maxPins = 20
staticprivate

Definition at line 204 of file ZdcL1CaloSubBlock.h.

◆ s_maxStreamedBits

const int ZdcL1CaloSubBlock::s_maxStreamedBits = 31
staticprivate

Definition at line 200 of file ZdcL1CaloSubBlock.h.

◆ s_maxStreamedMask

const uint32_t ZdcL1CaloSubBlock::s_maxStreamedMask = 0x7fffffff
staticprivate

Definition at line 202 of file ZdcL1CaloSubBlock.h.

◆ s_maxWordBits

const int ZdcL1CaloSubBlock::s_maxWordBits = 32
staticprivate

Definition at line 199 of file ZdcL1CaloSubBlock.h.

◆ s_maxWordMask

const uint32_t ZdcL1CaloSubBlock::s_maxWordMask = 0xffffffff
staticprivate

Definition at line 201 of file ZdcL1CaloSubBlock.h.

◆ s_moduleBit

const int ZdcL1CaloSubBlock::s_moduleBit = 8
staticprivate

Definition at line 177 of file ZdcL1CaloSubBlock.h.

◆ s_moduleMask

const uint32_t ZdcL1CaloSubBlock::s_moduleMask = 0xf
staticprivate

Definition at line 185 of file ZdcL1CaloSubBlock.h.

◆ s_ppmCrates

const int ZdcL1CaloSubBlock::s_ppmCrates = 8
staticprivate

Definition at line 170 of file ZdcL1CaloSubBlock.h.

◆ s_seqnoBit

const int ZdcL1CaloSubBlock::s_seqnoBit = 16
staticprivate

Definition at line 175 of file ZdcL1CaloSubBlock.h.

◆ s_seqnoMask

const uint32_t ZdcL1CaloSubBlock::s_seqnoMask = 0x3f
staticprivate

Definition at line 183 of file ZdcL1CaloSubBlock.h.

◆ s_slices1Bit

const int ZdcL1CaloSubBlock::s_slices1Bit = 0
staticprivate

Definition at line 179 of file ZdcL1CaloSubBlock.h.

◆ s_slices1Mask

const uint32_t ZdcL1CaloSubBlock::s_slices1Mask = 0x7
staticprivate

Definition at line 187 of file ZdcL1CaloSubBlock.h.

◆ s_slices2Bit

const int ZdcL1CaloSubBlock::s_slices2Bit = 3
staticprivate

Definition at line 178 of file ZdcL1CaloSubBlock.h.

◆ s_slices2Mask

const uint32_t ZdcL1CaloSubBlock::s_slices2Mask = 0x1f
staticprivate

Definition at line 186 of file ZdcL1CaloSubBlock.h.

◆ s_statusBit

const int ZdcL1CaloSubBlock::s_statusBit = 28
staticprivate

Definition at line 164 of file ZdcL1CaloSubBlock.h.

◆ s_statusMask

const uint32_t ZdcL1CaloSubBlock::s_statusMask = 0x1
staticprivate

Definition at line 166 of file ZdcL1CaloSubBlock.h.

◆ s_statusVal

const uint32_t ZdcL1CaloSubBlock::s_statusVal = 0x1
staticprivate

Definition at line 168 of file ZdcL1CaloSubBlock.h.

◆ s_upstreamErrorBit

const int ZdcL1CaloSubBlock::s_upstreamErrorBit = 4
staticprivate

Definition at line 192 of file ZdcL1CaloSubBlock.h.

◆ s_versionBit

const int ZdcL1CaloSubBlock::s_versionBit = 25
staticprivate

Definition at line 173 of file ZdcL1CaloSubBlock.h.

◆ s_versionMask

const uint32_t ZdcL1CaloSubBlock::s_versionMask = 0x7
staticprivate

Definition at line 181 of file ZdcL1CaloSubBlock.h.

◆ s_wordIdBit

const int ZdcL1CaloSubBlock::s_wordIdBit = 28
staticprivate

Definition at line 172 of file ZdcL1CaloSubBlock.h.

◆ s_wordIdMask

const uint32_t ZdcL1CaloSubBlock::s_wordIdMask = 0xf
staticprivate

Definition at line 180 of file ZdcL1CaloSubBlock.h.


The documentation for this class was generated from the following file: