Project
Loading...
Searching...
No Matches
DumpBuffer.h File Reference
#include "DetectorsRaw/RDHUtils.h"
#include "Headers/RAWDataHeader.h"
#include "MCHRawCommon/DataFormats.h"
#include "MCHRawCommon/SampaHeader.h"
#include "MoveBuffer.h"
#include <fmt/format.h>
#include <gsl/span>
#include <iostream>
#include <limits>
#include <vector>

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

template<typename T , std::enable_if_t< std::is_integral< T >::value, int > = 1>
void o2::mch::raw::impl::dumpByteBuffer (gsl::span< T > buffer)
 
void o2::mch::raw::impl::append (std::vector< std::byte > &buffer, uint64_t w)
 
template<typename FORMAT >
void o2::mch::raw::impl::dumpWord (std::ostream &out, uint64_t w)
 
template<>
void o2::mch::raw::impl::dumpWord< o2::mch::raw::BareFormat > (std::ostream &out, uint64_t w)
 
template<>
void o2::mch::raw::impl::dumpWord< o2::mch::raw::UserLogicFormat > (std::ostream &out, uint64_t w)
 
template<typename FORMAT , int VERSION = 0>
void o2::mch::raw::impl::dumpWordInfo (std::ostream &out, uint64_t w, const char *spacer="")
 
template<>
void o2::mch::raw::impl::dumpWordInfo< o2::mch::raw::BareFormat, 0 > (std::ostream &out, uint64_t w, const char *)
 
template<int VERSION>
void o2::mch::raw::impl::dumpUserLogicWordInfo (std::ostream &out, uint64_t w, const char *spacer)
 
template<>
void o2::mch::raw::impl::dumpWordInfo< o2::mch::raw::UserLogicFormat, 0 > (std::ostream &out, uint64_t w, const char *spacer)
 
template<>
void o2::mch::raw::impl::dumpWordInfo< o2::mch::raw::UserLogicFormat, 1 > (std::ostream &out, uint64_t w, const char *spacer)
 
template<typename FORMAT , int VERSION>
void o2::mch::raw::impl::dumpBuffer (gsl::span< const std::byte > buffer, std::ostream &out=std::cout, size_t maxbytes=std::numeric_limits< size_t >::max())
 
template<typename FORMAT , int VERSION>
void o2::mch::raw::impl::dumpBuffer (const std::vector< uint64_t > &buffer, std::ostream &out=std::cout, size_t maxbytes=std::numeric_limits< size_t >::max())