41 auto treemap = std::make_unique<RTreeMapPainter>();
49 std::queue<std::pair<uint64_t, bool>> queue;
50 queue.emplace(
rootId,
true);
51 while (!queue.empty()) {
55 const auto ¤t = queue.front();
60 std::vector<uint64_t> children;
62 children =
fldDesc.GetLinkIds();
63 for (
const auto childId : children) {
73 treemap->fNodes.push_back(node);
75 const auto &
colInsp =
insp.GetColumnInspector(current.first);
77 treemap->fNodes.push_back(node);
static RTreeMapBase::Node CreateNode(const RNTupleInspector &insp, const ROOT::RFieldDescriptor &fldDesc, std::uint64_t childrenIdx, std::uint64_t nChildren, ROOT::DescriptorId_t rootId, size_t rootSize)
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Provides column-level storage information.
Inspect on-disk and storage-related information of an RNTuple.
static std::unique_ptr< RNTupleInspector > Create(const RNTuple &sourceNTuple)
Create a new RNTupleInspector.
static std::unique_ptr< RTreeMapPainter > ImportRNTuple(const ROOT::Experimental::RNTupleInspector &insp)
Logic for converting an RNTuple to RTreeMapPainter given RNTupleInspector.
static const char * GetColumnTypeName(ROOT::ENTupleColumnType type)
Metadata stored for every field of an RNTuple.
std::uint64_t DescriptorId_t
Distriniguishes elements of the same type within a descriptor, e.g. different fields.