![]() |
Project
|
A UserLogicEndpointDecoder groups 12 x (40 UserLogicElinkDecoder objects) More...
#include <UserLogicEndpointDecoder.h>
Inherits o2::mch::raw::PayloadDecoder< UserLogicEndpointDecoder< CHARGESUM, VERSION > >.
Public Types | |
| using | ElinkDecoder = UserLogicElinkDecoder< CHARGESUM > |
Public Member Functions | |
| UserLogicEndpointDecoder (uint16_t feeId, std::function< std::optional< uint16_t >(FeeLinkId id)> fee2SolarMapper, DecodedDataHandlers decodedDataHandlers) | |
Main interface | |
| size_t | append (Payload bytes) |
| Append the equivalent n 64-bits words bytes size (=n) must be a multiple of 8. | |
Methods for testing | |
| void | reset () |
| Clear our internal Elinks. | |
Public Member Functions inherited from o2::mch::raw::PayloadDecoder< UserLogicEndpointDecoder< CHARGESUM, VERSION > > | |
| PayloadDecoder (DecodedDataHandlers decodedDataHandlers) | |
| size_t | process (uint32_t orbit, Payload payload) |
A UserLogicEndpointDecoder groups 12 x (40 UserLogicElinkDecoder objects)
Definition at line 38 of file UserLogicEndpointDecoder.h.
| using o2::mch::raw::UserLogicEndpointDecoder< CHARGESUM, VERSION >::ElinkDecoder = UserLogicElinkDecoder<CHARGESUM> |
Definition at line 41 of file UserLogicEndpointDecoder.h.
| o2::mch::raw::UserLogicEndpointDecoder< CHARGESUM, VERSION >::UserLogicEndpointDecoder | ( | uint16_t | feeId, |
| std::function< std::optional< uint16_t >(FeeLinkId id)> | fee2SolarMapper, | ||
| DecodedDataHandlers | decodedDataHandlers | ||
| ) |
Constructor.
| linkId | |
| sampaChannelHandler | the callable that will handle each SampaCluster |
Definition at line 83 of file UserLogicEndpointDecoder.h.
| size_t o2::mch::raw::UserLogicEndpointDecoder< CHARGESUM, VERSION >::append | ( | Payload | bytes | ) |
Append the equivalent n 64-bits words bytes size (=n) must be a multiple of 8.
Definition at line 95 of file UserLogicEndpointDecoder.h.
| void o2::mch::raw::UserLogicEndpointDecoder< CHARGESUM, VERSION >::reset | ( | ) |
Clear our internal Elinks.
Definition at line 191 of file UserLogicEndpointDecoder.h.