Skip to content
Chloé Legué edited this page Jun 28, 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
  • pint
  • pybind11 - 2.10.4
  • PyQt5 - 5.15.9
  • pyqtgraph - 0.13.3
  • requests
  • Spinmob - 3.5.17
  • superqt
  • uproot - 5.0.7

Clone this wiki locally