pflib v3.12.0-1-g716e801
Pretty Fine HGCROC Interaction Library
Loading...
Searching...
No Matches
pflib::packing::SingleECONTCaptureFrame::SingleECONTSample Class Reference

Each ECON-T sample has the following struture, assuming. More...

#include <SingleECONTCaptureFrame.h>

Collaboration diagram for pflib::packing::SingleECONTCaptureFrame::SingleECONTSample:
[legend]

Public Member Functions

void from (std::span< uint32_t > data)
 
int bx () const
 
int stc_sum (int i_stc) const
 
int max_tc (int i_stc) const
 

Private Attributes

mutable::pflib::logging::logger the_log_
 
std::array< int, N_STC > max_tc_
 
std::array< int, N_STC > stc_sums_
 
int bx_
 

Static Private Attributes

static constexpr std::size_t N_STC = 8
 

Detailed Description

Each ECON-T sample has the following struture, assuming.

  • using STC4 algorithm
  • with the 5M+4E encoding
  • and three eTx enabled

This means there are up to 8 STCs. Each sample is spread across the three eTx.

eTx 0

  • [31:28] = header
  • [27:26] = Max1 (index of highest TC in STC1)
  • [25:24] = Max2 (index of highest TC in STC2)
  • ... continue down
  • [12:11] = Max8 (index of highest TC in STC8)
  • [10:2] = STC1
  • [1:0] = 2 MSBs of STC2 eTx 1
  • [31:25] = 7 LSBs of STC2
  • [25:16] = STC3
  • [15:7] = STC4
  • [6:0] = 7 MSB of STC5 eTx 2
  • [31:30] = 2 LSB of STC5
  • [29:21] = STC6
  • [20:12] = STC7
  • [11:3] = STC8
  • [2:0] = zero padding

Member Data Documentation

◆ the_log_

mutable::pflib::logging::logger pflib::packing::SingleECONTCaptureFrame::SingleECONTSample::the_log_
private
Initial value:
{
::pflib::logging::get("decoding")}
logger get(const std::string &name)
Gets a logger with the input name for its channel.
Definition Logging.cxx:24

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