13#include <fmt/format.h>
32 "[ file version {} digit version {} size {} "
33 "rof version {} size {} hasRof {} run2ids {} ] formatWord {}",
39 static_cast<bool>(dff.
hasRof),
52 return !(dff1 == dff2);
61 uint64_t fileFormat{0};
62 in.read(
reinterpret_cast<char*
>(&fileFormat),
sizeof(uint64_t));
64 throw std::ios_base::failure(
"could not get a valid digit file format in this stream (too short)");
68 throw std::ios_base::failure(
"could not get a valid digit file format in this stream");
std::array< DigitFileFormat, 5 > digitFileFormats
DigitFileFormat readDigitFileFormat(std::istream &in)
bool operator!=(const observer_ptr< W1 > &p1, const observer_ptr< W2 > &p2)
std::ostream & operator<<(std::ostream &stream, o2::InteractionRecord const &ir)
bool operator==(const observer_ptr< W1 > &p1, const observer_ptr< W2 > &p2)