Project
Loading...
Searching...
No Matches
o2::mch::raw::UserLogicEndpointDecoder< CHARGESUM, VERSION > Class Template Reference

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)
 

Detailed Description

template<typename CHARGESUM, int VERSION>
class o2::mch::raw::UserLogicEndpointDecoder< CHARGESUM, VERSION >

A UserLogicEndpointDecoder groups 12 x (40 UserLogicElinkDecoder objects)

Definition at line 38 of file UserLogicEndpointDecoder.h.

Member Typedef Documentation

◆ ElinkDecoder

template<typename CHARGESUM , int VERSION>
using o2::mch::raw::UserLogicEndpointDecoder< CHARGESUM, VERSION >::ElinkDecoder = UserLogicElinkDecoder<CHARGESUM>

Definition at line 41 of file UserLogicEndpointDecoder.h.

Constructor & Destructor Documentation

◆ UserLogicEndpointDecoder()

template<typename CHARGESUM , int VERSION>
o2::mch::raw::UserLogicEndpointDecoder< CHARGESUM, VERSION >::UserLogicEndpointDecoder ( uint16_t  feeId,
std::function< std::optional< uint16_t >(FeeLinkId id)>  fee2SolarMapper,
DecodedDataHandlers  decodedDataHandlers 
)

Constructor.

Parameters
linkId
sampaChannelHandlerthe callable that will handle each SampaCluster

Definition at line 83 of file UserLogicEndpointDecoder.h.

Member Function Documentation

◆ append()

template<typename CHARGESUM , int VERSION>
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.

Returns
the number of bytes used in the bytes span

Definition at line 95 of file UserLogicEndpointDecoder.h.

◆ reset()

template<typename CHARGESUM , int VERSION>
void o2::mch::raw::UserLogicEndpointDecoder< CHARGESUM, VERSION >::reset ( )

Clear our internal Elinks.

Definition at line 191 of file UserLogicEndpointDecoder.h.


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