887e4e1946
update makefile and readme
39 lines
1,019 B
Markdown
39 lines
1,019 B
Markdown
<img src="example.png" width="500px"/>
|
|
|
|
## rntviewer
|
|
This is a work-in-progress interactive visualization tool for [RNTuple](https://root.cern.ch/doc/v618/md_tree_ntuple_v7_doc_README.html).
|
|
|
|
### 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
|
|
```
|
|
$ ./rntviewer <ntuple_name> <ntuple_file.root>
|
|
```
|