16#ifndef O2_MID_LINKDECODER_H
17#define O2_MID_LINKDECODER_H
42 void process(gsl::span<const uint8_t> payload,
const RDH& rdh, std::vector<ROBoard>&
data, std::vector<ROFRecord>& rofs)
44 process(payload, o2::raw::RDHUtils::getHeartBeatOrbit(rdh), o2::raw::RDHUtils::getTriggerType(rdh),
data, rofs);
54std::unique_ptr<LinkDecoder>
createLinkDecoder(
uint16_t feeId,
bool isBare =
false,
bool isDebugMode =
false,
uint8_t mask = 0xFF,
const ElectronicsDelay& electronicsDelay = ElectronicsDelay(),
const FEEIdConfig& feeIdConfig = FEEIdConfig());
Delay parameters for MID electronics.
Hardware Id to FeeId mapper.
unsigned short int uint16_t
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to process
Structure to store the readout board information.
LinkDecoder(std::function< void(gsl::span< const uint8_t >, uint32_t orbit, uint32_t trigger, std::vector< ROBoard > &data, std::vector< ROFRecord > &rofs)> decode)
void process(gsl::span< const uint8_t > payload, const RDH &rdh, std::vector< ROBoard > &data, std::vector< ROFRecord > &rofs)
std::function< void(gsl::span< const uint8_t >, uint32_t orbit, uint32_t trigger, std::vector< ROBoard > &data, std::vector< ROFRecord > &rofs)> mDecode
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
std::unique_ptr< LinkDecoder > createGBTDecoder(const o2::header::RDHAny &rdh, uint16_t feeId, bool isDebugMode, uint8_t mask, const ElectronicsDelay &electronicsDelay)
std::unique_ptr< LinkDecoder > createLinkDecoder(const o2::header::RDHAny &rdh, uint16_t feeId, bool isDebugMode, uint8_t mask, const ElectronicsDelay &electronicsDelay, const FEEIdConfig &feeIdConfig)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
coder decode(ctfImage, triggersD, clustersD)