ATLAS Offline Software
Loading...
Searching...
No Matches
LVL1::jFEXBits Namespace Reference

Variables

static constexpr uint32_t ROD_WORDS = 2
 Number of jFEX to ROD trailer words.
static constexpr uint32_t jFEX2ROD_WORDS = 2
static constexpr uint32_t TOB_TRAILERS = 2
static constexpr uint32_t DATA_BLOCKS = 60
static constexpr uint32_t DATA_WORDS_PER_BLOCK = 8
static constexpr uint32_t EMB = 0
static constexpr uint32_t TILE = 1
static constexpr uint32_t EMEC = 2
static constexpr uint32_t HEC = 3
static constexpr uint32_t FCAL1 = 4
static constexpr uint32_t FCAL2 = 5
static constexpr uint32_t FCAL3 = 6
static constexpr uint32_t FPGA_U1 = 0
static constexpr uint32_t FPGA_U2 = 1
static constexpr uint32_t FPGA_U3 = 2
static constexpr uint32_t FPGA_U4 = 3
static constexpr uint32_t TOB_COUNTS_6b = 0x3f
 Masking for TOB/xTOB Counter Trailer of jEM, jTau, jJ and jLJ.
static constexpr uint32_t TOB_COUNTS_1b = 0x1
 Masking for TOB Counter Trailer of jXE and jTE.
static constexpr uint32_t jJ_TOB_COUNTS = 1
 Bit positions for TOB Counter Trailer.
static constexpr uint32_t jLJ_TOB_COUNTS = 7
static constexpr uint32_t jTau_TOB_COUNTS = 13
static constexpr uint32_t jEM_TOB_COUNTS = 19
static constexpr uint32_t jTE_TOB_COUNTS = 25
static constexpr uint32_t jXE_TOB_COUNTS = 26
static constexpr uint32_t ROD_HEADER_3b = 0x7
 Masking words.
static constexpr uint32_t ROD_HEADER_8b = 0xff
static constexpr uint32_t ROD_HEADER_9b = 0x1ff
static constexpr uint32_t ROD_HEADER_12b = 0xfff
static constexpr uint32_t ROD_HEADER_24b = 0xffffff
static constexpr uint32_t L1CALO_STREAM_ID_ROD_HEADER = 0
 Bit positions for jFEX to ROB Trailer.
static constexpr uint32_t L1CALO_STREAM_ID_SLOT_ROD_HEADER = 0
static constexpr uint32_t L1CALO_STREAM_ID_FPGA_ROD_HEADER = 4
static constexpr uint32_t L1CALO_STREAM_ID_INFO_ROD_HEADER = 6
static constexpr uint32_t BCN_ROD_HEADER = 8
static constexpr uint32_t CRC_ROD_HEADER = 20
static constexpr uint32_t VERS_ROD_HEADER = 29
static constexpr uint32_t L1ID_ROD_HEADER = 0
static constexpr uint32_t ECRID_ROD_HEADER = 24
static constexpr uint32_t ROD_TRAILER_1b = 0x1
 Masking words.
static constexpr uint32_t ROD_TRAILER_2b = 0x3
static constexpr uint32_t ROD_TRAILER_4b = 0xf
static constexpr uint32_t ROD_TRAILER_6b = 0x3f
static constexpr uint32_t ROD_TRAILER_16b = 0xffff
static constexpr uint32_t ROD_TRAILER_20b = 0xfffff
static constexpr uint32_t PAYLOAD_ROD_TRAILER = 0
 Bit positions for jFEX to ROB Trailer.
static constexpr uint32_t FPGA_ROD_TRAILER = 18
static constexpr uint32_t jFEX_ROD_TRAILER = 20
static constexpr uint32_t RO_ROD_TRAILER = 24
static constexpr uint32_t TSN_ROD_TRAILER = 28
static constexpr uint32_t ERROR_ROD_TRAILER = 0
static constexpr uint32_t CRC_ROD_TRAILER = 12
static constexpr uint32_t ERROR_CORR_TRAILER = 5
static constexpr uint32_t ERROR_SAFE_MODE = 4
static constexpr uint32_t ERROR_PROTOCOL_ERROR = 3
static constexpr uint32_t ERROR_LENGTH_MISMATCH = 2
static constexpr uint32_t ERROR_HEADER_MISMATCH = 1
static constexpr uint32_t ERROR_PROC_TIMEOUT = 0
static constexpr uint32_t ROD_TRAILER_7b = 0x7f
 Masking words.
static constexpr uint32_t ROD_ERROR_CORR_TRAILER = 6
static constexpr uint32_t ROD_ERROR_PAYLOAD_CRC = 5
static constexpr uint32_t ROD_ERROR_HEADER_CRC = 4
static constexpr uint32_t ROD_ERROR_RESERVED = 3
static constexpr uint32_t ROD_ERROR_LENGTH_MISMATCH = 2
static constexpr uint32_t ROD_ERROR_HEADER_MISMATCH = 1
static constexpr uint32_t ROD_ERROR_PROC_TIMEOUT = 0
static constexpr uint32_t BS_TRAILER_1b = 0x1
 Masking words.
static constexpr uint32_t BS_TRAILER_4b = 0xf
static constexpr uint32_t BS_TRAILER_7b = 0x7f
static constexpr uint32_t BS_TRAILER_8b = 0xff
static constexpr uint32_t BS_TRAILER_9b = 0x1ff
static constexpr uint32_t BS_TRAILER_12b = 0xfff
static constexpr uint32_t BS_CHANNEL_TRAILER = 0
 Bit positions Input bulk stream.
static constexpr uint32_t BS_SATUR_0_TRAILER = 0
static constexpr uint32_t BS_SATUR_1_TRAILER = 8
static constexpr uint32_t BS_BCID_TRAILER = 16
static constexpr uint32_t BS_CRC_TRAILER = 23
static constexpr uint32_t BS_ET_DATA_0 = 0
static constexpr uint32_t BS_ET_DATA_1 = 12
static constexpr uint32_t BS_ET_DATA_4 = 24
static constexpr uint32_t BS_ET_DATA_7 = 28
static constexpr uint32_t BS_MERGE_DATA = 8
const std::unordered_map< uint32_t, std::vector< uint16_t > > tile_channels

Variable Documentation

◆ BCN_ROD_HEADER

uint32_t LVL1::jFEXBits::BCN_ROD_HEADER = 8
staticconstexpr

Definition at line 70 of file jFexBits.h.

◆ BS_BCID_TRAILER

uint32_t LVL1::jFEXBits::BS_BCID_TRAILER = 16
staticconstexpr

Definition at line 132 of file jFexBits.h.

◆ BS_CHANNEL_TRAILER

uint32_t LVL1::jFEXBits::BS_CHANNEL_TRAILER = 0
staticconstexpr

Bit positions Input bulk stream.

Definition at line 129 of file jFexBits.h.

◆ BS_CRC_TRAILER

uint32_t LVL1::jFEXBits::BS_CRC_TRAILER = 23
staticconstexpr

Definition at line 133 of file jFexBits.h.

◆ BS_ET_DATA_0

uint32_t LVL1::jFEXBits::BS_ET_DATA_0 = 0
staticconstexpr

Definition at line 136 of file jFexBits.h.

◆ BS_ET_DATA_1

uint32_t LVL1::jFEXBits::BS_ET_DATA_1 = 12
staticconstexpr

Definition at line 137 of file jFexBits.h.

◆ BS_ET_DATA_4

uint32_t LVL1::jFEXBits::BS_ET_DATA_4 = 24
staticconstexpr

Definition at line 138 of file jFexBits.h.

◆ BS_ET_DATA_7

uint32_t LVL1::jFEXBits::BS_ET_DATA_7 = 28
staticconstexpr

Definition at line 139 of file jFexBits.h.

◆ BS_MERGE_DATA

uint32_t LVL1::jFEXBits::BS_MERGE_DATA = 8
staticconstexpr

Definition at line 142 of file jFexBits.h.

◆ BS_SATUR_0_TRAILER

uint32_t LVL1::jFEXBits::BS_SATUR_0_TRAILER = 0
staticconstexpr

Definition at line 130 of file jFexBits.h.

◆ BS_SATUR_1_TRAILER

uint32_t LVL1::jFEXBits::BS_SATUR_1_TRAILER = 8
staticconstexpr

Definition at line 131 of file jFexBits.h.

◆ BS_TRAILER_12b

uint32_t LVL1::jFEXBits::BS_TRAILER_12b = 0xfff
staticconstexpr

Definition at line 126 of file jFexBits.h.

◆ BS_TRAILER_1b

uint32_t LVL1::jFEXBits::BS_TRAILER_1b = 0x1
staticconstexpr

Masking words.

Definition at line 121 of file jFexBits.h.

◆ BS_TRAILER_4b

uint32_t LVL1::jFEXBits::BS_TRAILER_4b = 0xf
staticconstexpr

Definition at line 122 of file jFexBits.h.

◆ BS_TRAILER_7b

uint32_t LVL1::jFEXBits::BS_TRAILER_7b = 0x7f
staticconstexpr

Definition at line 123 of file jFexBits.h.

◆ BS_TRAILER_8b

uint32_t LVL1::jFEXBits::BS_TRAILER_8b = 0xff
staticconstexpr

Definition at line 124 of file jFexBits.h.

◆ BS_TRAILER_9b

uint32_t LVL1::jFEXBits::BS_TRAILER_9b = 0x1ff
staticconstexpr

Definition at line 125 of file jFexBits.h.

◆ CRC_ROD_HEADER

uint32_t LVL1::jFEXBits::CRC_ROD_HEADER = 20
staticconstexpr

Definition at line 71 of file jFexBits.h.

◆ CRC_ROD_TRAILER

uint32_t LVL1::jFEXBits::CRC_ROD_TRAILER = 12
staticconstexpr

Definition at line 95 of file jFexBits.h.

◆ DATA_BLOCKS

uint32_t LVL1::jFEXBits::DATA_BLOCKS = 60
staticconstexpr

Definition at line 23 of file jFexBits.h.

◆ DATA_WORDS_PER_BLOCK

uint32_t LVL1::jFEXBits::DATA_WORDS_PER_BLOCK = 8
staticconstexpr

Definition at line 24 of file jFexBits.h.

◆ ECRID_ROD_HEADER

uint32_t LVL1::jFEXBits::ECRID_ROD_HEADER = 24
staticconstexpr

Definition at line 75 of file jFexBits.h.

◆ EMB

uint32_t LVL1::jFEXBits::EMB = 0
staticconstexpr

Definition at line 28 of file jFexBits.h.

◆ EMEC

uint32_t LVL1::jFEXBits::EMEC = 2
staticconstexpr

Definition at line 30 of file jFexBits.h.

◆ ERROR_CORR_TRAILER

uint32_t LVL1::jFEXBits::ERROR_CORR_TRAILER = 5
staticconstexpr

Definition at line 97 of file jFexBits.h.

◆ ERROR_HEADER_MISMATCH

uint32_t LVL1::jFEXBits::ERROR_HEADER_MISMATCH = 1
staticconstexpr

Definition at line 101 of file jFexBits.h.

◆ ERROR_LENGTH_MISMATCH

uint32_t LVL1::jFEXBits::ERROR_LENGTH_MISMATCH = 2
staticconstexpr

Definition at line 100 of file jFexBits.h.

◆ ERROR_PROC_TIMEOUT

uint32_t LVL1::jFEXBits::ERROR_PROC_TIMEOUT = 0
staticconstexpr

Definition at line 102 of file jFexBits.h.

◆ ERROR_PROTOCOL_ERROR

uint32_t LVL1::jFEXBits::ERROR_PROTOCOL_ERROR = 3
staticconstexpr

Definition at line 99 of file jFexBits.h.

◆ ERROR_ROD_TRAILER

uint32_t LVL1::jFEXBits::ERROR_ROD_TRAILER = 0
staticconstexpr

Definition at line 94 of file jFexBits.h.

◆ ERROR_SAFE_MODE

uint32_t LVL1::jFEXBits::ERROR_SAFE_MODE = 4
staticconstexpr

Definition at line 98 of file jFexBits.h.

◆ FCAL1

uint32_t LVL1::jFEXBits::FCAL1 = 4
staticconstexpr

Definition at line 32 of file jFexBits.h.

◆ FCAL2

uint32_t LVL1::jFEXBits::FCAL2 = 5
staticconstexpr

Definition at line 33 of file jFexBits.h.

◆ FCAL3

uint32_t LVL1::jFEXBits::FCAL3 = 6
staticconstexpr

Definition at line 34 of file jFexBits.h.

◆ FPGA_ROD_TRAILER

uint32_t LVL1::jFEXBits::FPGA_ROD_TRAILER = 18
staticconstexpr

Definition at line 89 of file jFexBits.h.

◆ FPGA_U1

uint32_t LVL1::jFEXBits::FPGA_U1 = 0
staticconstexpr

Definition at line 37 of file jFexBits.h.

◆ FPGA_U2

uint32_t LVL1::jFEXBits::FPGA_U2 = 1
staticconstexpr

Definition at line 38 of file jFexBits.h.

◆ FPGA_U3

uint32_t LVL1::jFEXBits::FPGA_U3 = 2
staticconstexpr

Definition at line 39 of file jFexBits.h.

◆ FPGA_U4

uint32_t LVL1::jFEXBits::FPGA_U4 = 3
staticconstexpr

Definition at line 40 of file jFexBits.h.

◆ HEC

uint32_t LVL1::jFEXBits::HEC = 3
staticconstexpr

Definition at line 31 of file jFexBits.h.

◆ jEM_TOB_COUNTS

uint32_t LVL1::jFEXBits::jEM_TOB_COUNTS = 19
staticconstexpr

Definition at line 52 of file jFexBits.h.

◆ jFEX2ROD_WORDS

uint32_t LVL1::jFEXBits::jFEX2ROD_WORDS = 2
staticconstexpr

Definition at line 17 of file jFexBits.h.

◆ jFEX_ROD_TRAILER

uint32_t LVL1::jFEXBits::jFEX_ROD_TRAILER = 20
staticconstexpr

Definition at line 90 of file jFexBits.h.

◆ jJ_TOB_COUNTS

uint32_t LVL1::jFEXBits::jJ_TOB_COUNTS = 1
staticconstexpr

Bit positions for TOB Counter Trailer.

Definition at line 49 of file jFexBits.h.

◆ jLJ_TOB_COUNTS

uint32_t LVL1::jFEXBits::jLJ_TOB_COUNTS = 7
staticconstexpr

Definition at line 50 of file jFexBits.h.

◆ jTau_TOB_COUNTS

uint32_t LVL1::jFEXBits::jTau_TOB_COUNTS = 13
staticconstexpr

Definition at line 51 of file jFexBits.h.

◆ jTE_TOB_COUNTS

uint32_t LVL1::jFEXBits::jTE_TOB_COUNTS = 25
staticconstexpr

Definition at line 53 of file jFexBits.h.

◆ jXE_TOB_COUNTS

uint32_t LVL1::jFEXBits::jXE_TOB_COUNTS = 26
staticconstexpr

Definition at line 54 of file jFexBits.h.

◆ L1CALO_STREAM_ID_FPGA_ROD_HEADER

uint32_t LVL1::jFEXBits::L1CALO_STREAM_ID_FPGA_ROD_HEADER = 4
staticconstexpr

Definition at line 68 of file jFexBits.h.

◆ L1CALO_STREAM_ID_INFO_ROD_HEADER

uint32_t LVL1::jFEXBits::L1CALO_STREAM_ID_INFO_ROD_HEADER = 6
staticconstexpr

Definition at line 69 of file jFexBits.h.

◆ L1CALO_STREAM_ID_ROD_HEADER

uint32_t LVL1::jFEXBits::L1CALO_STREAM_ID_ROD_HEADER = 0
staticconstexpr

Bit positions for jFEX to ROB Trailer.

Definition at line 66 of file jFexBits.h.

◆ L1CALO_STREAM_ID_SLOT_ROD_HEADER

uint32_t LVL1::jFEXBits::L1CALO_STREAM_ID_SLOT_ROD_HEADER = 0
staticconstexpr

Definition at line 67 of file jFexBits.h.

◆ L1ID_ROD_HEADER

uint32_t LVL1::jFEXBits::L1ID_ROD_HEADER = 0
staticconstexpr

Definition at line 74 of file jFexBits.h.

◆ PAYLOAD_ROD_TRAILER

uint32_t LVL1::jFEXBits::PAYLOAD_ROD_TRAILER = 0
staticconstexpr

Bit positions for jFEX to ROB Trailer.

Definition at line 88 of file jFexBits.h.

◆ RO_ROD_TRAILER

uint32_t LVL1::jFEXBits::RO_ROD_TRAILER = 24
staticconstexpr

Definition at line 91 of file jFexBits.h.

◆ ROD_ERROR_CORR_TRAILER

uint32_t LVL1::jFEXBits::ROD_ERROR_CORR_TRAILER = 6
staticconstexpr

Definition at line 109 of file jFexBits.h.

◆ ROD_ERROR_HEADER_CRC

uint32_t LVL1::jFEXBits::ROD_ERROR_HEADER_CRC = 4
staticconstexpr

Definition at line 111 of file jFexBits.h.

◆ ROD_ERROR_HEADER_MISMATCH

uint32_t LVL1::jFEXBits::ROD_ERROR_HEADER_MISMATCH = 1
staticconstexpr

Definition at line 114 of file jFexBits.h.

◆ ROD_ERROR_LENGTH_MISMATCH

uint32_t LVL1::jFEXBits::ROD_ERROR_LENGTH_MISMATCH = 2
staticconstexpr

Definition at line 113 of file jFexBits.h.

◆ ROD_ERROR_PAYLOAD_CRC

uint32_t LVL1::jFEXBits::ROD_ERROR_PAYLOAD_CRC = 5
staticconstexpr

Definition at line 110 of file jFexBits.h.

◆ ROD_ERROR_PROC_TIMEOUT

uint32_t LVL1::jFEXBits::ROD_ERROR_PROC_TIMEOUT = 0
staticconstexpr

Definition at line 115 of file jFexBits.h.

◆ ROD_ERROR_RESERVED

uint32_t LVL1::jFEXBits::ROD_ERROR_RESERVED = 3
staticconstexpr

Definition at line 112 of file jFexBits.h.

◆ ROD_HEADER_12b

uint32_t LVL1::jFEXBits::ROD_HEADER_12b = 0xfff
staticconstexpr

Definition at line 62 of file jFexBits.h.

◆ ROD_HEADER_24b

uint32_t LVL1::jFEXBits::ROD_HEADER_24b = 0xffffff
staticconstexpr

Definition at line 63 of file jFexBits.h.

◆ ROD_HEADER_3b

uint32_t LVL1::jFEXBits::ROD_HEADER_3b = 0x7
staticconstexpr

Masking words.

Definition at line 59 of file jFexBits.h.

◆ ROD_HEADER_8b

uint32_t LVL1::jFEXBits::ROD_HEADER_8b = 0xff
staticconstexpr

Definition at line 60 of file jFexBits.h.

◆ ROD_HEADER_9b

uint32_t LVL1::jFEXBits::ROD_HEADER_9b = 0x1ff
staticconstexpr

Definition at line 61 of file jFexBits.h.

◆ ROD_TRAILER_16b

uint32_t LVL1::jFEXBits::ROD_TRAILER_16b = 0xffff
staticconstexpr

Definition at line 84 of file jFexBits.h.

◆ ROD_TRAILER_1b

uint32_t LVL1::jFEXBits::ROD_TRAILER_1b = 0x1
staticconstexpr

Masking words.

Definition at line 80 of file jFexBits.h.

◆ ROD_TRAILER_20b

uint32_t LVL1::jFEXBits::ROD_TRAILER_20b = 0xfffff
staticconstexpr

Definition at line 85 of file jFexBits.h.

◆ ROD_TRAILER_2b

uint32_t LVL1::jFEXBits::ROD_TRAILER_2b = 0x3
staticconstexpr

Definition at line 81 of file jFexBits.h.

◆ ROD_TRAILER_4b

uint32_t LVL1::jFEXBits::ROD_TRAILER_4b = 0xf
staticconstexpr

Definition at line 82 of file jFexBits.h.

◆ ROD_TRAILER_6b

uint32_t LVL1::jFEXBits::ROD_TRAILER_6b = 0x3f
staticconstexpr

Definition at line 83 of file jFexBits.h.

◆ ROD_TRAILER_7b

uint32_t LVL1::jFEXBits::ROD_TRAILER_7b = 0x7f
staticconstexpr

Masking words.

Definition at line 107 of file jFexBits.h.

◆ ROD_WORDS

uint32_t LVL1::jFEXBits::ROD_WORDS = 2
staticconstexpr

Number of jFEX to ROD trailer words.

Definition at line 16 of file jFexBits.h.

◆ TILE

uint32_t LVL1::jFEXBits::TILE = 1
staticconstexpr

Definition at line 29 of file jFexBits.h.

◆ tile_channels

const std::unordered_map<uint32_t, std::vector<uint16_t> > LVL1::jFEXBits::tile_channels
Initial value:
= {
{0, { 20, 21, 22, 23, 56, 57, 58, 59} },
{1, {16, 17, 18, 19, 20, 21, 22, 23, 52, 53, 54, 55, 56, 57, 58, 59} },
{2, {12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59} },
{3, {12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59} },
{4, {16, 17, 18, 19, 20, 21, 22, 23, 52, 53, 54, 55, 56, 57, 58, 59} },
{5, { 20, 21, 22, 23, 56, 57, 58, 59} }
}

Definition at line 144 of file jFexBits.h.

144 {
145 {0, { 20, 21, 22, 23, 56, 57, 58, 59} },
146 {1, {16, 17, 18, 19, 20, 21, 22, 23, 52, 53, 54, 55, 56, 57, 58, 59} },
147 {2, {12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59} },
148 {3, {12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59} },
149 {4, {16, 17, 18, 19, 20, 21, 22, 23, 52, 53, 54, 55, 56, 57, 58, 59} },
150 {5, { 20, 21, 22, 23, 56, 57, 58, 59} }
151 };

◆ TOB_COUNTS_1b

uint32_t LVL1::jFEXBits::TOB_COUNTS_1b = 0x1
staticconstexpr

Masking for TOB Counter Trailer of jXE and jTE.

Definition at line 47 of file jFexBits.h.

◆ TOB_COUNTS_6b

uint32_t LVL1::jFEXBits::TOB_COUNTS_6b = 0x3f
staticconstexpr

Masking for TOB/xTOB Counter Trailer of jEM, jTau, jJ and jLJ.

Definition at line 45 of file jFexBits.h.

◆ TOB_TRAILERS

uint32_t LVL1::jFEXBits::TOB_TRAILERS = 2
staticconstexpr

Definition at line 20 of file jFexBits.h.

◆ TSN_ROD_TRAILER

uint32_t LVL1::jFEXBits::TSN_ROD_TRAILER = 28
staticconstexpr

Definition at line 92 of file jFexBits.h.

◆ VERS_ROD_HEADER

uint32_t LVL1::jFEXBits::VERS_ROD_HEADER = 29
staticconstexpr

Definition at line 72 of file jFexBits.h.