![]() |
Project
|
A BareGBTDecoder groups 40 ElinkDecoder objects. More...
#include <BareGBTDecoder.h>
Inherits o2::mch::raw::PayloadDecoder< BareGBTDecoder< CHARGESUM > >.
Public Member Functions | |
BareGBTDecoder (uint16_t solarId, DecodedDataHandlers decodedDataHandlers) | |
Main interface | |
size_t | append (Payload bytes) |
Append the equivalent n GBT words (n x 128 bits, split in 16 bytes). bytes size (=n) must be a multiple of 16 Given that the MCH data only uses 80 out of the 128 bits only the 10 first bytes of each group of 16 are used. | |
Methods for testing | |
void | reset () |
Clear our internal Elinks. | |
![]() | |
PayloadDecoder (DecodedDataHandlers decodedDataHandlers) | |
size_t | process (uint32_t orbit, Payload payload) |
A BareGBTDecoder groups 40 ElinkDecoder objects.
It's one GBT = one Solar.
Definition at line 39 of file BareGBTDecoder.h.
o2::mch::raw::BareGBTDecoder< CHARGESUM >::BareGBTDecoder | ( | uint16_t | solarId, |
DecodedDataHandlers | decodedDataHandlers | ||
) |
Constructor.
solarId | |
decodedDataHandlers | a structure with various callable that handle the Sampa packets and decoding errors |
Definition at line 85 of file BareGBTDecoder.h.
size_t o2::mch::raw::BareGBTDecoder< CHARGESUM >::append | ( | Payload | bytes | ) |
Append the equivalent n GBT words (n x 128 bits, split in 16 bytes). bytes size (=n) must be a multiple of 16 Given that the MCH data only uses 80 out of the 128 bits only the 10 first bytes of each group of 16 are used.
Definition at line 95 of file BareGBTDecoder.h.
void o2::mch::raw::BareGBTDecoder< CHARGESUM >::reset | ( | ) |
Clear our internal Elinks.
Definition at line 117 of file BareGBTDecoder.h.