No description
Find a file
2024-07-26 15:00:44 +02:00
src fix swapped args in printf 2024-07-26 15:00:44 +02:00
third_party remove useless GLFW files in third_party 2024-07-26 13:54:28 +02:00
.gitignore ignore imgui.ini 2024-07-23 10:43:28 +02:00
.gitmodules make imgui a submodule; import memory editor 2024-07-10 21:41:48 +02:00
example.png update example.png 2024-07-26 13:51:53 +02:00
lmext1.root add arena 2024-07-10 17:48:23 +02:00
Makefile add no gfx compile flag 2024-07-25 18:23:58 +02:00
README.md update readme 2024-07-25 18:02:31 +02:00

rntviewer

This is a work-in-progress interactive visualization tool for RNTuple.

Getting the repo

Clone this repository with

$ git clone --recurse-submodules <repo_url>

Dependencies

rntviewer currently only works on Linux (PRs welcome).

The dependencies are:

  • GLFW3 (libglfw3-dev on debian, glfw-devel on fedora, glfw on arch)
  • ROOT (likely bleeding edge version, compiled from sources)
  • libxxhash3-dev

Other than those, rntviewer depends on Dear ImGui and GLAD (both included in the source tree).

The machine must support OpenGL 4.

Building

Building is done with make. Make sure to source /path/to/root/bin/thisroot.sh before running it. You probably want to build the release version:

$ make r

You can test that the tool is working properly with:

$ ./rntviewer ntpl lmext1.root

Usage

Basic usage is:

$ ./rntviewer <ntuple_name> <ntuple_file.root>

This will open a window and let you browse the RNTuple, jump around its sections and get some information about them.

There is also a non-interactive non-graphical mode that can be used in a terminal (useful e.g. for ssh sessions):

$ ./rntviewer -t <ntuple_name> <ntuple_file.root>

The -t flag enables terminal mode. Use ./rntviewer -h to get a help message about the other flags that rntviewer accepts and are particularly useful in non-interactive mode.