![]() |
Project
|
#include <ELinkDecoder.h>
Public Member Functions | |
| void | setBareDecoder (bool isBare) |
| void | add (const uint8_t byte) |
| Adds a byte. | |
| void | addAndComputeSize (const uint8_t byte) |
| template<class ITERATOR > | |
| bool | addCore (ITERATOR &it, const ITERATOR &end) |
| template<class ITERATOR > | |
| bool | add (ITERATOR &it, const ITERATOR &end) |
| bool | addCore (size_t &idx, gsl::span< const uint8_t > payload, size_t step) |
| Adds the first 5 bytes. | |
| bool | add (size_t &idx, gsl::span< const uint8_t > payload, size_t step) |
| bool | isZero (uint8_t byte) const |
| Checks if this is a zero. | |
| bool | isComplete () const |
| Checks if we have all of the information needed for the decoding. | |
| uint8_t | getStatusWord () const |
| Gets the status word. | |
| uint8_t | getTriggerWord () const |
| Gets the trigger word. | |
| uint16_t | getCounter () const |
| Gets the counter. | |
| uint8_t | getId () const |
| Gets the card ID. | |
| uint8_t | getInputs () const |
| Gets the inputs. | |
| uint8_t | getCrateId () const |
| Gets the crate ID when available. | |
| uint16_t | getPattern (int cathode, int chamber) const |
| size_t | getNBytes () const |
| Gets the number of bytes read. | |
| void | reset () |
Definition at line 29 of file ELinkDecoder.h.
Adds a byte.
Definition at line 34 of file ELinkDecoder.h.
|
inline |
Adds the board bytes
Definition at line 44 of file ELinkDecoder.h.
Adds the bytes of the board
Definition at line 48 of file ELinkDecoder.cxx.
Adds next byte and computes the expected data size
Definition at line 65 of file ELinkDecoder.cxx.
|
inline |
Adds the first 5 bytes
Definition at line 37 of file ELinkDecoder.h.
|
inline |
Adds the first 5 bytes.
Definition at line 62 of file ELinkDecoder.h.
|
inline |
Gets the counter.
Definition at line 76 of file ELinkDecoder.h.
|
inline |
Gets the crate ID when available.
Definition at line 82 of file ELinkDecoder.h.
|
inline |
Gets the card ID.
Definition at line 78 of file ELinkDecoder.h.
|
inline |
Gets the inputs.
Definition at line 80 of file ELinkDecoder.h.
|
inline |
Gets the number of bytes read.
Definition at line 85 of file ELinkDecoder.h.
| uint16_t o2::mid::ELinkDecoder::getPattern | ( | int | cathode, |
| int | chamber | ||
| ) | const |
Gets the pattern
Definition at line 96 of file ELinkDecoder.cxx.
|
inline |
Gets the status word.
Definition at line 72 of file ELinkDecoder.h.
|
inline |
Gets the trigger word.
Definition at line 74 of file ELinkDecoder.h.
|
inline |
Checks if we have all of the information needed for the decoding.
Definition at line 70 of file ELinkDecoder.h.
Checks if this is a zero.
Definition at line 67 of file ELinkDecoder.h.
| void o2::mid::ELinkDecoder::reset | ( | ) |
Reset inner objects
Definition at line 89 of file ELinkDecoder.cxx.
Sets the decoder type
Definition at line 24 of file ELinkDecoder.cxx.