Created by : Chloe Legue
Current version date : 2024/04/12
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
The ReadROOT package is currently on PyPi. This means it can be installed via a pip install.
Create a virtual environment with Anaconda
Using Anaconda, creating a virtual environment is an easy task:
conda create --name new_env python==3.11.3
This line above will create a Python environment with the 3.11.3 update of Python. Some extra instructions need to be followed in the Anaconda terminal before the virtual environment is finalized. This is the version that was used to create this package, so it is better to use it.
Activating and downloading the package
Once the virtual environment is created, it can be easily activated using conda activate new_env. From this point on, Anaconda will consider you are using the new_env environment which runs Python 3.11.3.
To download the ReadROOT package, the following command can be sent:
pip install ReadROOT
This will install the latest version of ReadROOT posted on PyPi. After all dependencies are installed, ReadROOT will be installed in your environment. To know more about the GUI and other functionalities of ReadROOT, you can navigate in this Wiki to find more information.
Modifying some files
This is no longer necessary if the newer
Mergeris used. The old C++ code was made for the previous Root Reader version.
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.
Metadata
Release files for ReadROOT 2.5.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ReadROOT-2.5.12.tar.gz | 182.2 kB | Without provenance | Details for ReadROOT-2.5.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ReadROOT-2.5.12-py3-none-any.whl | Python 3 | none | any | Details for ReadROOT-2.5.12-py3-none-any.whl |
Total release size: 377.8 kB
Release files / ReadROOT-2.5.12.tar.gz
| Download URL | ReadROOT-2.5.12.tar.gz |
|---|---|
| Size | 182.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
164348413ce5dc1cb9cfea92bfec977302237f48b80c5f7014894c52cbacb8f7
|
|
BLAKE2b-256 checksum How to use checksums |
5e94a47713dd42eace949fb1f0247d612129048af554fb353429ca30b537d094
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.3
|
Release files / ReadROOT-2.5.12-py3-none-any.whl
| Download URL | ReadROOT-2.5.12-py3-none-any.whl |
|---|---|
| Size | 195.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
84448da6713948b1c26034c1ac365e89e573fa19bb4eb13142b4499157601ef6
|
|
BLAKE2b-256 checksum How to use checksums |
d152dc918e26a523fe374a3335cdbb2a1350f91056d871d04ce097408f415d84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.3
|
Security for ReadROOT 2.5.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.