The Gaudi Framework  master (2e57474e)
Loading...
Searching...
No Matches
DiskBuffer.h File Reference
#include <cstdint>
#include <cstdio>
#include <filesystem>
#include <memory>
#include <span>
#include <stdexcept>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for DiskBuffer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Gaudi::NTuple::DiskBuffer::details::Close
class  Gaudi::NTuple::DiskBuffer::Error
 Any I/O or format problem, carrying the file it happened on. More...
class  Gaudi::NTuple::DiskBuffer::Writer
class  Gaudi::NTuple::DiskBuffer::Reader

Namespaces

namespace  Gaudi
 This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from python with a format liks : ( nbins, min, max, title ) where title can be ommited.
namespace  Gaudi::NTuple
namespace  Gaudi::NTuple::DiskBuffer
 Append-only file of length-prefixed records, used to park ntuple rows on disk during the event loop and replay them at finalize.
namespace  Gaudi::NTuple::DiskBuffer::details

Typedefs

using Gaudi::NTuple::DiskBuffer::FileHandle = std::unique_ptr<std::FILE, details::Close>
 Owns an open file; close() is the checked path, this is the fallback.

Functions

bool Gaudi::NTuple::DiskBuffer::zstdAvailable ()
 Whether this build can write and read compressed blocks.
std::size_t Gaudi::NTuple::DiskBuffer::maxBlockSize ()
 Largest block size a Writer accepts.