Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RNTupleMerger.cxx
Go to the documentation of this file.
1/// \file RNTupleMerger.cxx
2/// \ingroup NTuple ROOT7
3/// \author Jakob Blomer <jblomer@cern.ch> & Max Orok <maxwellorok@gmail.com>
4/// \date 2020-07-08
5/// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback
6/// is welcome!
7
8/*************************************************************************
9 * Copyright (C) 1995-2020, Rene Brun and Fons Rademakers. *
10 * All rights reserved. *
11 * *
12 * For the licensing terms see $ROOTSYS/LICENSE. *
13 * For the list of contributors see $ROOTSYS/README/CREDITS. *
14 *************************************************************************/
15
16#include <ROOT/RError.hxx>
17#include <ROOT/RNTuple.hxx>
20#include <ROOT/RNTupleUtil.hxx>
21
23 if (inputs == nullptr || mergeInfo == nullptr) {
24 return -1;
25 }
26 return -1;
27}
28
29////////////////////////////////////////////////////////////////////////////////
30
31
35{
36 return R__FAIL("couldn't merge field " + lhs.GetFieldName() + " with field "
37 + rhs.GetFieldName() + " (unimplemented!)");
38}
#define R__FAIL(msg)
Short-hand to return an RResult<T> in an error state; the RError is implicitly converted into RResult...
Definition RError.hxx:303
long long Long64_t
Definition RtypesCore.h:80
Meta-data stored for every field of an ntuple.
static RResult< RFieldMerger > Merge(const RFieldDescriptor &lhs, const RFieldDescriptor &rhs)
Long64_t Merge(TCollection *input, TFileMergeInfo *mergeInfo)
RNTuple implements the hadd MergeFile interface Merge this NTuple with the input list entries.
The class is used as a return type for operations that can fail; wraps a value of type T or an RError...
Definition RError.hxx:207
Collection abstract base class.
Definition TCollection.h:65