11#ifndef ROOT_RSNAPSHOTOPTIONS
12#define ROOT_RSNAPSHOTOPTIONS
Option_t Option_t TPoint TPoint const char mode
Namespace for new ROOT classes and functions.
EValues
Note: this is only temporarily a struct and will become a enum class hence the name convention used.
@ kZLIB
Use ZLIB compression.
A collection of options to steer the creation of the dataset on file.
RSnapshotOptions()=default
int fAutoFlush
AutoFlush value for output tree.
ESnapshotOutputFormat fOutputFormat
Which data format to write to.
std::string fMode
Mode of creation of output file.
bool fVector2RVec
If set to true will convert std::vector columns to RVec when saving to disk.
ECAlgo fCompressionAlgorithm
Compression algorithm of output file.
int fSplitLevel
Split level of output tree.
int fBasketSize
Set a custom basket size option.
RSnapshotOptions(std::string_view mode, ECAlgo comprAlgo, int comprLevel, int autoFlush, int splitLevel, bool lazy, bool overwriteIfExists=false, bool vector2RVec=true, int basketSize=-1, ESnapshotOutputFormat outputFormat=ESnapshotOutputFormat::kDefault)
bool fLazy
Do not start the event loop when Snapshot is called.
int fCompressionLevel
Compression level of output file.
bool fOverwriteIfExists
If fMode is "UPDATE", overwrite object in output file if it already exists.