|
pflib v3.9.0-rc3-11-g2537d8f
Pretty Fine HGCROC Interaction Library
|
Unpack an event that has potentially more than one sample collected from a single ECOND. More...
#include <MultiSampleECONDEventPacket.h>
Public Member Functions | |
| MultiSampleECONDEventPacket (int n_links) | |
| constructor defining how many links are connected to this ECOND | |
| void | from (std::span< uint32_t > data) |
| unpack the given data into this structure | |
| Reader & | read (Reader &r) |
| read into this structure from the input Reader | |
Public Attributes | |
| std::array< bool, 2 > | corruption |
| Corruption bits. | |
| std::size_t | i_soi |
| index of the sample of interest (SOI) | |
| int | bx |
| bunch counter/number for event | |
| int | ievent |
| event counter | |
| int | contrib_id |
| contributor ID specifying ECOND | |
| int | subsys_id |
| subsystem ID specifying ECOND | |
| int | run |
| run number | |
| std::vector< ECONDEventPacket > | samples |
| samples from ECOND stored in order of transmission | |
Private Attributes | |
| mutable::pflib::logging::logger | the_log_ {::pflib::logging::get("decoding")} |
| handle to logging source | |
| int | n_links_ |
| number of links connected to the ECOND | |
Unpack an event that has potentially more than one sample collected from a single ECOND.
| void pflib::packing::MultiSampleECONDEventPacket::from | ( | std::span< uint32_t > | data | ) |
unpack the given data into this structure
The software emulation adds another header before the ECOND packet, which looks like
4b flag | 12b ECON ID | L | 3b il1a | I | 11b length
| std::array<bool, 2> pflib::packing::MultiSampleECONDEventPacket::corruption |
Corruption bits.
| Index | Description |
|---|---|
| 0 | full packet header flag mismatch |
| 1 | subsystem ID not equal to 7 (HCAL) |