8#ifndef L1CALOFEXBYTESTREAM_JFEXBITS_H
9#define L1CALOFEXBYTESTREAM_JFEXBITS_H
28 static constexpr uint32_t
EMB = 0;
29 static constexpr uint32_t
TILE = 1;
30 static constexpr uint32_t
EMEC = 2;
31 static constexpr uint32_t
HEC = 3;
32 static constexpr uint32_t
FCAL1 = 4;
33 static constexpr uint32_t
FCAL2 = 5;
34 static constexpr uint32_t
FCAL3 = 6;
144 const std::unordered_map<uint32_t, std::vector<uint16_t> >
tile_channels = {
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} }
static constexpr uint32_t ROD_HEADER_8b
static constexpr uint32_t PAYLOAD_ROD_TRAILER
Bit positions for jFEX to ROB Trailer.
static constexpr uint32_t ROD_TRAILER_20b
static constexpr uint32_t BS_ET_DATA_4
static constexpr uint32_t ROD_TRAILER_6b
static constexpr uint32_t ERROR_SAFE_MODE
static constexpr uint32_t BS_CHANNEL_TRAILER
Bit positions Input bulk stream.
static constexpr uint32_t ERROR_HEADER_MISMATCH
static constexpr uint32_t ROD_WORDS
Number of jFEX to ROD trailer words.
static constexpr uint32_t jTE_TOB_COUNTS
static constexpr uint32_t EMB
static constexpr uint32_t BS_MERGE_DATA
static constexpr uint32_t jXE_TOB_COUNTS
static constexpr uint32_t BS_BCID_TRAILER
static constexpr uint32_t CRC_ROD_HEADER
static constexpr uint32_t jFEX_ROD_TRAILER
static constexpr uint32_t BS_TRAILER_9b
static constexpr uint32_t ERROR_ROD_TRAILER
static constexpr uint32_t ROD_TRAILER_1b
Masking words.
static constexpr uint32_t BS_TRAILER_7b
static constexpr uint32_t DATA_WORDS_PER_BLOCK
static constexpr uint32_t TOB_TRAILERS
static constexpr uint32_t ROD_HEADER_12b
static constexpr uint32_t BS_TRAILER_1b
Masking words.
static constexpr uint32_t BS_TRAILER_12b
static constexpr uint32_t jEM_TOB_COUNTS
static constexpr uint32_t FCAL3
static constexpr uint32_t BS_SATUR_0_TRAILER
static constexpr uint32_t FCAL1
static constexpr uint32_t RO_ROD_TRAILER
static constexpr uint32_t FPGA_U1
static constexpr uint32_t HEC
static constexpr uint32_t ROD_ERROR_LENGTH_MISMATCH
static constexpr uint32_t TSN_ROD_TRAILER
static constexpr uint32_t TOB_COUNTS_6b
Masking for TOB/xTOB Counter Trailer of jEM, jTau, jJ and jLJ.
static constexpr uint32_t FPGA_U3
static constexpr uint32_t ROD_ERROR_HEADER_CRC
static constexpr uint32_t jLJ_TOB_COUNTS
static constexpr uint32_t ROD_TRAILER_2b
static constexpr uint32_t TILE
static constexpr uint32_t FPGA_U2
static constexpr uint32_t ROD_TRAILER_7b
Masking words.
static constexpr uint32_t BS_TRAILER_8b
static constexpr uint32_t L1CALO_STREAM_ID_ROD_HEADER
Bit positions for jFEX to ROB Trailer.
static constexpr uint32_t ECRID_ROD_HEADER
static constexpr uint32_t ERROR_CORR_TRAILER
static constexpr uint32_t L1CALO_STREAM_ID_INFO_ROD_HEADER
static constexpr uint32_t BS_TRAILER_4b
static constexpr uint32_t BS_ET_DATA_1
static constexpr uint32_t jFEX2ROD_WORDS
static constexpr uint32_t jTau_TOB_COUNTS
static constexpr uint32_t VERS_ROD_HEADER
static constexpr uint32_t L1ID_ROD_HEADER
static constexpr uint32_t ROD_ERROR_HEADER_MISMATCH
static constexpr uint32_t TOB_COUNTS_1b
Masking for TOB Counter Trailer of jXE and jTE.
static constexpr uint32_t BS_SATUR_1_TRAILER
static constexpr uint32_t jJ_TOB_COUNTS
Bit positions for TOB Counter Trailer.
static constexpr uint32_t ROD_ERROR_PAYLOAD_CRC
static constexpr uint32_t L1CALO_STREAM_ID_FPGA_ROD_HEADER
static constexpr uint32_t BS_CRC_TRAILER
const std::unordered_map< uint32_t, std::vector< uint16_t > > tile_channels
static constexpr uint32_t FPGA_ROD_TRAILER
static constexpr uint32_t ROD_HEADER_24b
static constexpr uint32_t CRC_ROD_TRAILER
static constexpr uint32_t ERROR_PROC_TIMEOUT
static constexpr uint32_t ERROR_PROTOCOL_ERROR
static constexpr uint32_t EMEC
static constexpr uint32_t BS_ET_DATA_7
static constexpr uint32_t ROD_ERROR_RESERVED
static constexpr uint32_t ROD_TRAILER_4b
static constexpr uint32_t BS_ET_DATA_0
static constexpr uint32_t ROD_ERROR_CORR_TRAILER
static constexpr uint32_t DATA_BLOCKS
static constexpr uint32_t BCN_ROD_HEADER
static constexpr uint32_t ROD_ERROR_PROC_TIMEOUT
static constexpr uint32_t L1CALO_STREAM_ID_SLOT_ROD_HEADER
static constexpr uint32_t ERROR_LENGTH_MISMATCH
static constexpr uint32_t ROD_TRAILER_16b
static constexpr uint32_t FPGA_U4
static constexpr uint32_t ROD_HEADER_3b
Masking words.
static constexpr uint32_t ROD_HEADER_9b
static constexpr uint32_t FCAL2