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

The econt_buffer_manager firmware block inserts a pair of headers with the same format for the data capture along the trigger path and the capture of the output of the trigger algorithm. More...

#include <ECONTCaptureHeader.h>

Public Member Functions

void from (std::span< uint32_t > data)
 
int version () const
 
int econ_id () const
 
int length () const
 
int n_links () const
 
int pre_samples () const
 
int n_samples () const
 

Private Attributes

mutable::pflib::logging::logger the_log_ {::pflib::logging::get("decoding")}
 
int version_
 version of capture format
 
int econ_id_
 id for econ-t we captured
 
int pre_samples_
 number of pre-samples within this capture
 
int n_samples_
 total number of samples within the capture
 
int length_
 length of entire capture in 32b words including this header
 
int n_links_
 number of links included in this capture
 

Detailed Description

The econt_buffer_manager firmware block inserts a pair of headers with the same format for the data capture along the trigger path and the capture of the output of the trigger algorithm.

Member Function Documentation

◆ from()

void pflib::packing::ECONTCaptureHeader::from ( std::span< uint32_t > data)

two 32b headers are added by the firmware

first word

  • [32:28] = version
  • [27:18] = econ_id
  • [7:0] = size

second word

  • [27:24] = number of links
  • [22:18] = number of presamples
  • [17:12] = number of samples

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