37std::unique_ptr<ROOT::Experimental::RTreeMapPainter>
40 auto treemap = std::make_unique<ROOT::Experimental::RTreeMapPainter>();
48 std::queue<std::pair<uint64_t, bool>> queue;
49 queue.emplace(
rootId,
true);
50 while (!queue.empty()) {
54 const auto ¤t = queue.front();
59 std::vector<uint64_t> children;
61 children =
fldDesc.GetLinkIds();
62 for (
const auto childId : children) {
72 treemap->fNodes.push_back(node);
74 const auto &
colInsp =
insp.GetColumnInspector(current.first);
76 treemap->fNodes.push_back(node);
85std::unique_ptr<ROOT::Experimental::RTreeMapPainter>
static ROOT::Experimental::RTreeMapBase::Node CreateNode(const ROOT::Experimental::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 const char * GetColumnTypeName(ROOT::ENTupleColumnType type)
Metadata stored for every field of an RNTuple.
std::unique_ptr< RTreeMapPainter > CreateTreeMapFromRNTuple(const RNTupleInspector &insp)
Logic for converting an RNTuple to RTreeMapPainter given RNTupleInspector.
std::uint64_t DescriptorId_t
Distriniguishes elements of the same type within a descriptor, e.g. different fields.