A data visualisation GUI for ntuple files of opaque scintillator detectors simulation based on Ratpac-two simulation and analysis package.

- uproot 5.4.1
- numpy 1.24.2
- awkward 2.6.9
- matplotlib 3.6.3
- particle 0.25.2
- PyQt5
Use pip install <module> if needed.
Developed and tested with Python 3.11.6.
python CVISTA2.py <input_file> [event/entry number]
input_fileis a ntuple output file of Ratpac-two.event numberis an optional argument. If given, the GUI will display this event at start up.
The radio buttons on the top of the GUI indicate what kind of information you want to be plotted on the histograms.
- nPE: the number of simulation PEs collected by each SiPM.
- First Hit Time: the simulated time of the first PE to reach a SiPM.
- SiPM Charge: the integrated charge of each SiPM
- SiPM Time: the pulse start time of each SiPM