ESIPAP 2021 - Experimental Particle Physics
The slides of the lectures will appear in this directory as the course proceeds.
Since this year the course will be held remotely because the pandemics, the PDF of the next lecture will be made available before the lecture itself to allow you to better follow.
I will sometime leave things to do by yourself, either alone or in small groups, in order to consolidate what we learned during the lectures. Instructions and material will appear in the Homework directory.
You have several options to run these notebooks:
You already have a local setup version of Python3 and ROOT (with Python support enabled) installed on your computer: clone or download the repository, and run the notebooks locally.
You have a CERN account, and you know how to use SWAN: clone the repository on your CERNBox area to access and run the notebooks.
You would like to run Python and ROOT on your computer, but you don't have them installed and you are not sure about how to properly do it. In this case, the safest option is to use Docker, and to use the container that already have the proper setup. Here's is a quick list of instructions:
Install Docker Desktop for you OS;
Once done, make sure you can run the
dockercommand from a terminal;
Clone or download the ESIPAP-2021 repository (this one!) somewhere to your disk;
From the command line, run the command:
docker run --rm -p 8888:8888 --name ESIPAP marcodelmastro/esipap:latest
This will start the ESIPAP container. You should see on the screen a series of messages, including one with a
httpaddress similar to this (the token string will be different!):
Note that if you use the procedure described above, every change you make to the notebook will be lost when you stop the container!. This is because docker will serve you the notebook from the container, and you don't have the right to save them. In other to keep your changes run instead this command:
docker run --rm -p 8888:8888 -v <location-of-the-ESIPAP-repo>:/home/esipap/local --name ESIPAP marcodelmastro/esipap:latest
<location-of-the-ESIPAP-repo>is the path to where you downloaded the ESIPAP repository. For instance, on a Unix machin is could be:
docker run --rm -p 8888:8888 -v /Users/Marco/ESIPAP-2021:/home/esipap/local --name ESIPAP marcodelmastro/esipap:latest
or, on a Windows machine, something like:
docker run --rm -p 8888:8888 -v C:\Users\Marco\ESIPAP-2021:/home/esipap/local --name ESIPAP marcodelmastro/esipap:latest
On a Unix machine you could also
cdto the repository and use the
docker run --rm -p 8888:8888 -v $(pwd):/home/esipap/local --name ESIPAP marcodelmastro/esipap:latest
In all these cases, when you open the notebook server windowd you should see something like:
localdirectory: if you open it, you'll browse the repository on your disk (and not that in the container), and all changes you make to the notebooks, or any new notebook you create, will be saved on your disk.
If none of the above works for you, you can launch a standalone MyBinder environment using the other button below: it will give you a working setup with Python and ROOT, that will allow you to run the notebooks from the browser. Please note that in this case any change you make will be lost unless you copy them elsewhere.