CbmRoot
Loading...
Searching...
No Matches
CbmFormatMsBufferPrintout.h
Go to the documentation of this file.
1/* Copyright (C) 2020 Facility for Antiproton and Ion Research in Europe, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Pierre-Alain Loizeau [committer] */
4
5// -----------------------------------------------------------------------------
6// ----- -----
7// ----- CbmFormatMsBufferPrintout -----
8// ----- Created 06.03.2020 by P.-A. Loizeau -----
9// ----- -----
10// -----------------------------------------------------------------------------
11
12#ifndef CbmFormatMsBufferPrintout_H
13#define CbmFormatMsBufferPrintout_H
14
15#include "Timeslice.hpp"
16
17#include <iomanip>
18#include <iostream>
19#include <sstream>
20
25std::string FormatMsBufferPrintout(const fles::Timeslice& ts, const size_t uMsCompIdx, const size_t uMsIdx,
26 const uint32_t uBlocksPerLine = 4);
27
28std::string FormatMsBufferPrintout(const fles::MicrosliceDescriptor& msDescriptor, const uint8_t* msContent,
29 const uint32_t uBlocksPerLine = 4);
30
31#endif // CbmFormatMsBufferPrintout_H
std::string FormatMsBufferPrintout(const fles::Timeslice &ts, const size_t uMsCompIdx, const size_t uMsIdx, const uint32_t uBlocksPerLine=4)