Instruction for exercise sessions: computer setup

Exercise sessions will include computer-based examples and will involve the use of CERN toolkit ROOT, including the packages RooFit, RooStats and TMVA.

The installation will take some time and requires extensive network download, so we request you to install the required software before coming to the school in order to be ready for the exercise sessions.

Supported platforms

The supported platforms for the exercises are:

Python

ROOT exercises will be done in python language. Please, get sure you have a recent version of python installed. Python installation will also be required when you will install ROOT with the pyROOT option, according to the instructions below.

Install and setup VirtualBox

You can skip the following instruction if you have Linux or Mac OS X ≥10.8 installed on your machine. In that case, jump to the section "Install the required software".

Dowload VirtualBox 6.0 or later here for your platform (e.g. MS Windows. Please, find here the list of supported OS).

Create a new VM with VirtualBox

Install the new VM

In order to allow copy and paste to and from the VM, you may go to the menu "Devices > Shared Clipboard" and check the option "Bidirectional", so you can copy commands from this page to the terminal.

Install the required software

Exercise sessions will require ROOT, with the components RooFit, RooStats and TMVA. Your preferred text editor should be installed in order to edit source code files.

Editors

You need your preferred text editor installed to edit source code. On the Mint Linux installation pico is installed by default. Install emacs or other preferred packages using the "Software Mananger" under the main "Menu"

Install required external packaged (Linux only)

A number of packges are required to compile ROOT. Below the list of packages to be added for Linux (including the VM installation) and Mac OS X.

You need to install the following packages: subversion, dpkg-dev, make, g++, gcc, binutils, libfftw3-dev, libxml2-dev, libx11-dev, libxpm-dev, libxft-dev, libxext-dev, sqlite3, libsqlite3-dev, libboost-dev, libboost-filesystem-dev, libboost-thread-dev, libboost-system-dev, libboost-program-options-dev, libboost-iostreams-dev, python-scipy.

For Mac OS users only

Install ROOT

ROOT should be downloaded and build from source code. Compilation will take a fair amount of time. Detailed installation insctructions are given here. here. Below the essential steps.