Project
Loading...
Searching...
No Matches
EncoderImplHelper.cxx File Reference
#include "Assertions.h"
#include "EncoderImplHelper.h"
#include "MCHRawCommon/SampaHeader.h"
#include "MCHRawElecMap/DsElecId.h"
#include "NofBits.h"

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::mch
 
namespace  o2::mch::raw
 
namespace  o2::mch::raw::impl
 

Functions

uint16_t o2::mch::raw::impl::computeChipAddress (uint8_t elinkId, DualSampaChannelId chId)
 
SampaHeader o2::mch::raw::impl::buildSampaHeader (uint8_t elinkId, DualSampaChannelId chId, gsl::span< const SampaCluster > data)
 
uint64_t o2::mch::raw::impl::build64 (uint16_t a10, uint16_t b10=0, uint16_t c10=0, uint16_t d10=0, uint16_t e10=0)
 
void o2::mch::raw::impl::addPadding (std::vector< uint10_t > &b10)
 
void o2::mch::raw::impl::b10to64 (std::vector< uint10_t > b10, std::vector< uint64_t > &b64, uint16_t prefix14)
 
void o2::mch::raw::impl::bufferizeClusters (gsl::span< const SampaCluster > clusters, std::vector< uint10_t > &b10)
 
void o2::mch::raw::impl::append (std::vector< uint10_t > &b10, uint50_t value)
 
void o2::mch::raw::impl::appendSync (std::vector< uint10_t > &b10)
 
void o2::mch::raw::impl::fillUserLogicBuffer10 (std::vector< uint10_t > &b10, gsl::span< const SampaCluster > clusters, uint8_t elinkId, DualSampaChannelId chId, bool addSync)