Representation of an RNTuple data set in a ROOT file.
This class provides an API entry point to an RNTuple stored in a ROOT file. Its main purpose is to construct a page source for an RNTuple, which in turn can be used to read an RNTuple with an RDF or an RNTupleReader.
For instance, for an RNTuple called "Events" in a ROOT file, usage can be
Definition at line 496 of file RNTuple.hxx.
Public Member Functions | |
RNTuple ()=default | |
~RNTuple ()=default | |
TClass * | IsA () const |
std::unique_ptr< Detail::RPageSource > | MakePageSource (const RNTupleReadOptions &options=RNTupleReadOptions()) |
Create a page source from the RNTuple object. | |
Long64_t | Merge (TCollection *input, TFileMergeInfo *mergeInfo) |
RNTuple implements the hadd MergeFile interface Merge this NTuple with the input list entries. | |
void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Private Member Functions | |
RNTuple (const Internal::RFileNTupleAnchor &a) | |
Internal::RFileNTupleAnchor | GetAnchor () const |
Private Attributes | |
TFile * | fFile = nullptr |
! The file from which the ntuple was streamed, registered in the custom streamer | |
Friends | |
class | ROOT::Experimental::Internal::RNTupleFileWriter |
struct | ROOT::Experimental::Internal::RNTupleTester |
Additional Inherited Members | |
Protected Attributes inherited from ROOT::Experimental::Internal::RFileNTupleAnchor | |
std::int32_t | fChecksum = 0 |
The ROOT streamer info checksum. | |
std::uint32_t | fLenFooter = 0 |
The size of the uncompressed ntuple footer. | |
std::uint32_t | fLenHeader = 0 |
The size of the uncompressed ntuple header. | |
std::uint32_t | fNBytesFooter = 0 |
The size of the compressed ntuple footer. | |
std::uint32_t | fNBytesHeader = 0 |
The size of the compressed ntuple header. | |
std::uint64_t | fReserved = 0 |
Currently unused, reserved for later use. | |
std::uint64_t | fSeekFooter = 0 |
The file offset of the footer excluding the TKey part. | |
std::uint64_t | fSeekHeader = 0 |
The file offset of the header excluding the TKey part. | |
std::uint32_t | fSize = sizeof(RFileNTupleAnchor) |
Allows for skipping the struct. | |
std::uint32_t | fVersion = 0 |
Allows for evolving the struct in future versions. | |
#include <ROOT/RNTuple.hxx>
|
inlineexplicitprivate |
Definition at line 506 of file RNTuple.hxx.
|
default |
|
default |
|
static |
|
inlinestaticconstexpr |
Definition at line 522 of file RNTuple.hxx.
|
inlinestatic |
Definition at line 522 of file RNTuple.hxx.
|
inlineprivate |
Definition at line 507 of file RNTuple.hxx.
|
inline |
Definition at line 522 of file RNTuple.hxx.
std::unique_ptr< ROOT::Experimental::Detail::RPageSource > ROOT::Experimental::RNTuple::MakePageSource | ( | const RNTupleReadOptions & | options = RNTupleReadOptions() | ) |
Create a page source from the RNTuple object.
Requires the RNTuple object to be streamed from a file. If fFile is not set, an exception is thrown.
Definition at line 414 of file RNTuple.cxx.
Long64_t ROOT::Experimental::RNTuple::Merge | ( | TCollection * | input, |
TFileMergeInfo * | mergeInfo | ||
) |
RNTuple implements the hadd MergeFile interface Merge this NTuple with the input list entries.
Definition at line 22 of file RNTupleMerger.cxx.
void ROOT::Experimental::RNTuple::Streamer | ( | TBuffer & | buf | ) |
Definition at line 400 of file RNTuple.cxx.
|
inline |
Definition at line 522 of file RNTuple.hxx.
|
friend |
Definition at line 497 of file RNTuple.hxx.
|
friend |
Definition at line 498 of file RNTuple.hxx.
|
private |
! The file from which the ntuple was streamed, registered in the custom streamer
Definition at line 503 of file RNTuple.hxx.