![]() |
Project
|
#include <cstdint>#include <vector>#include <gsl/span>#include <functional>#include <iostream>#include <optional>Go to the source code of this file.
Classes | |
| struct | o2::mch::raw::DataBlockHeader |
| A lightweight struct to describe a MCH Raw Data Block. More... | |
| struct | o2::mch::raw::DataBlock |
| A DataBlock is a pair (DataBlockHeader,payload) More... | |
| struct | o2::mch::raw::DataBlockRef |
| a DataBlockRef is a pair (DataBlock,offset) The offset is an offset into some external buffer More... | |
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 |
Functions | |
| void | o2::mch::raw::appendDataBlockHeader (std::vector< std::byte > &outBuffer, DataBlockHeader header) |
| Convert the header into bytes. | |
| int | o2::mch::raw::forEachDataBlockRef (gsl::span< const std::byte > buffer, std::function< void(DataBlockRef blockRef)> f) |
| Loop over a buffer, that should consist of (DataBlockHeader,payload) pairs. | |
| int | o2::mch::raw::countHeaders (gsl::span< const std::byte > buffer) |
| Count the headers in the input buffer. | |
| std::ostream & | o2::mch::raw::operator<< (std::ostream &os, const DataBlockHeader &header) |
| std::ostream & | o2::mch::raw::operator<< (std::ostream &os, const DataBlockRef &ref) |
| std::ostream & | o2::mch::raw::operator<< (std::ostream &os, const DataBlock &block) |
| bool | o2::mch::raw::operator< (const DataBlockHeader &a, const DataBlockHeader &b) |
| bool | o2::mch::raw::operator< (const DataBlockRef &a, const DataBlockRef &b) |