Project
Loading...
Searching...
No Matches
RDHManip.cxx File Reference
#include "CommonConstants/Triggers.h"
#include "Headers/RAWDataHeader.h"
#include "RDHManip.h"
#include <cassert>
#include <fmt/format.h>
#include <iostream>
#include <string>
#include "Headers/RDHAny.h"
#include "DetectorsRaw/RDHUtils.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::header
 O2 data header classes and API, v0.1.
 
namespace  o2::mch
 
namespace  o2::mch::raw
 

Functions

std::ostream & o2::header::operator<< (std::ostream &os, const o2::header::RDHAny &rdh)
 
void o2::mch::raw::append (std::vector< std::byte > &buffer, uint64_t w)
 
void o2::mch::raw::append (std::vector< uint32_t > &buffer, uint64_t w)
 
void o2::mch::raw::appendRDH (std::vector< std::byte > &buffer, const o2::header::RDHAny &rdh)
 Append bytes from RDH to the buffer.
 
uint64_t o2::mch::raw::eightBytes (gsl::span< const std::byte > buffer)
 
o2::header::RDHAny o2::mch::raw::createRDH (gsl::span< const std::byte > buffer, int version)
 
int o2::mch::raw::forEachRDH (gsl::span< const std::byte > buffer, std::function< void(const void *)> f=nullptr)
 
int o2::mch::raw::showRDHs (gsl::span< const std::byte > buffer)
 Dump the RDHs found in the buffer.
 
int o2::mch::raw::countRDHs (gsl::span< const std::byte > buffer)
 Count the number of RDHs in the buffer.