Skip to content
Chloé Legué edited this page May 31, 2023 · 10 revisions

Welcome to the ReadROOT wiki!

ReadROOT is an easy GUI made to read ROOT files created by the CoMPASS software distributed by CAEN. This GUI will also allow the user to plot the different graphs from the CoMPASS software.

How to install ReadROOT

Here we can show how to install ReadROOT. (Not on Pypi right now)

Modifying some files:

In order for the time of flight (TOF) functions to work, C++ was used (Python was too slow). C++ needs very specific header files and the complete path to those files is needed. The two files that have those headers are wrap.cpp and funcs.hpp. If an error shows up when ReadROOT is imported (something along the lines of C++ not being able to find a header file) then verify those two.

Necessary packages and versions:

  • bs4 (beautifulsoup4) - latest version on Pypi
  • cppimport - 22.8.2
  • darkdetect - 0.8.0
  • numpy
  • pandas
  • pybind11 - 2.10.4
  • PyQt5 - 5.15.9
  • pyqtgraph - 0.13.3
  • requests
  • Spinmob - 3.5.17
  • uproot - 5.0.7

DO NOTE THAT SINCE A V2 IS CURRENTLY BEING CREATED THE WIKI IS NOT UP TO DATE. A LARGE PART OF THE WIKI WILL CHANGE WHEN V2 IS RELEASED!

Clone this wiki locally