Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Internal::RNTupleMergeOptions Struct Reference

Set of merging options to pass to RNTupleMerger.

If you're using the merger through TFileMerger you need to give it string-based options instead. Here is the mapping for the TFileMerger options:

  • "rntuple.MergingMode=(Filter|Union|...)" -> sets fMergingMode
  • "rntuple.ErrBehavior=(Abort|Skip|...)" -> sets fErrBehavior
  • "rntuple.ExtraVerbose" -> sets fExtraVerbose to true Rules about the string-based options:
  1. there must be no space between the separators (i.e. : and =)
  2. all string matching is case insensitive

Definition at line 68 of file RNTupleMerger.hxx.

Public Attributes

std::optional< std::uint32_t > fCompressionSettings
 If fCompressionSettings is empty (the default), the merger will not change the compression of any of its sources (fast merging).
 
ENTupleMergeErrBehavior fErrBehavior = ENTupleMergeErrBehavior::kAbort
 Determines how the Merge function behaves upon merging errors.
 
bool fExtraVerbose = false
 If true, the merger will emit further diagnostics and information.
 
ENTupleMergingMode fMergingMode = ENTupleMergingMode::kFilter
 Determines how the merging treats sources with different models (.
 

#include <ROOT/RNTupleMerger.hxx>

Member Data Documentation

◆ fCompressionSettings

std::optional<std::uint32_t> ROOT::Experimental::Internal::RNTupleMergeOptions::fCompressionSettings

If fCompressionSettings is empty (the default), the merger will not change the compression of any of its sources (fast merging).

Otherwise, all sources will be converted to the specified compression algorithm and level.

Definition at line 72 of file RNTupleMerger.hxx.

◆ fErrBehavior

ENTupleMergeErrBehavior ROOT::Experimental::Internal::RNTupleMergeOptions::fErrBehavior = ENTupleMergeErrBehavior::kAbort

Determines how the Merge function behaves upon merging errors.

Definition at line 76 of file RNTupleMerger.hxx.

◆ fExtraVerbose

bool ROOT::Experimental::Internal::RNTupleMergeOptions::fExtraVerbose = false

If true, the merger will emit further diagnostics and information.

Definition at line 78 of file RNTupleMerger.hxx.

◆ fMergingMode

ENTupleMergingMode ROOT::Experimental::Internal::RNTupleMergeOptions::fMergingMode = ENTupleMergingMode::kFilter

Determines how the merging treats sources with different models (.

See also
ENTupleMergingMode).

Definition at line 74 of file RNTupleMerger.hxx.

Collaboration diagram for ROOT::Experimental::Internal::RNTupleMergeOptions:
[legend]

The documentation for this struct was generated from the following file: