CbmRoot
Loading...
Searching...
No Matches
CbmFormatTsPrintout.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// ----- CbmFormatTsPrintout -----
8// ----- Created 11.09.2019 by P.-A. Loizeau -----
9// ----- -----
10// -----------------------------------------------------------------------------
11
12#ifndef CbmFormatTsPrintout_H
13#define CbmFormatTsPrintout_H
14
15#include "Timeslice.hpp"
16
17#include <cstdint> // For SIZE_MAX
18#include <iomanip>
19#include <iostream>
20#include <sstream>
21
26std::string FormatTsHeaderPrintout(const fles::Timeslice& ts);
27
28std::string FormatTsContentPrintout(const fles::Timeslice& ts, std::underlying_type_t<fles::Subsystem> selSysId = 0x00,
29 size_t nbMsPerComp = SIZE_MAX);
30
31std::string FormatTsPrintout(const fles::Timeslice& ts, std::underlying_type_t<fles::Subsystem> SelSysId = 0x00,
32 size_t nbMsPerComp = SIZE_MAX);
33
34std::ostream& operator<<(std::ostream& os, const fles::Timeslice& ts);
35
36#endif // CbmFormatTsPrintout_H
std::string FormatTsHeaderPrintout(const fles::Timeslice &ts)
std::string FormatTsContentPrintout(const fles::Timeslice &ts, std::underlying_type_t< fles::Subsystem > selSysId=0x00, size_t nbMsPerComp=SIZE_MAX)
std::ostream & operator<<(std::ostream &os, const fles::Timeslice &ts)
std::string FormatTsPrintout(const fles::Timeslice &ts, std::underlying_type_t< fles::Subsystem > SelSysId=0x00, size_t nbMsPerComp=SIZE_MAX)