This is a self-contained tutorial for STAR/EIC workshop aimed at learning some ROOT basics
- Git clone this repo:
git clone https://github.com/aprozo/root_workshop
-
One needs to install ROOT
-
Then install some additional packages with
sudo apt-get update && apt-get install -y git python3-pip
python3 -m pip install --upgrade wheel jupyter metakernel dask distributed pyspark
- After it run
root --notebook
Part of the material has been reused from:
If facing a problem with ROOT kernel ROOT C++ kernel, one has to run it in terminal
mkdir -p ~/.local/share/jupyter/kernels
cp -r $ROOTSYS/etc/notebook/kernels/root ~/.local/share/jupyter/kernels
jupyter notebook --allow-root
Then, wait untill the page is reloaded and choose Jupyter Kernel -> ROOT