Setup Your Environment
Watch the video 'Setup your environment' to give you an idea what you will have to do.
We have provided the datasets and software in a variety of formats. You choose how you want to use them:
If you want to have a quick look at the data, not investing too much time, you can use the small virtual machine (06-Feb-2017), which contains 10% of the data. This takes about 15 minutes to download and setup. Read on.
If you want to invest more time, or are setting up a lab for students, then we recommend you use the large virtual machine which contains all the data. This takes 1-2 hours to download and setup. Go to the Virtual Machine Book.
If you are a student in a lab and the virtual machine is already setup for you, go straight to the next chapter Take a look at the data.
If you are a physicist, it is likely you already have ROOT installed, so you can download the software and datasets separately if you wish. Please take into account that Python2 is recommended. Python 2.7 is the version distributed into the VMs. Python3 could give you some issues.
What is a virtual machine ?
A virtual machine will transform your computer into an analysis machine!
Your physical computer will be the "host", while the virtual machine will be a "guest". Most of the guest code runs unmodified, directly on the host computer, and the guest operating system "thinks" it's running on a real machine.
A virtual machine allows an unmodified operating system with all of its installed software to run in a special environment, on top of your existing operating system.
There are five virtual machines available. We suggest you start with the small version. It contains everything you need to start looking at the data.
Now you will learn how to download and prepare a virtual machine to run on your computer. This will then enable you to take a look at ATLAS data.
You have to download and install VirtualBox and a virtual machine. To save time, start downloading the virtual machine. This can then download whilst you are installing VirtualBox.
There are three steps to setup your environment:
- Download a virtual machine.
- Download and install VirtualBox.
- Setup your virtual machine.
If your session goes to sleep and requires the atlas password, it is 'atlas'.
Step 1: Download the Small Virtual Machine (VM Version S 06-Feb-2017)
A small virtual machine using Lubuntu in conjunction with ROOT-5.34.14 and 10% of the data has been prepared. This is 1.7Gb in size so can be downloaded fairly quickly.
Select Virtual Machines
Select VM Version S to download the small virtual machine. This can then download whilst you are installing VirtualBox.
Make sure you choose Lubuntu_ATLAS_Outreach_DataAndTools_February_2017-size_S.ova
Step 2: Download and install VirtualBox
Use the VirtualBox website to download the software
Select Download VirtualBox
Take care to select the appropriate VirtualBox platform package.
Proceed with the installation of VirtualBox:
Step 3: Set up your Virtual Machine
In this step the downloaded virtual machine is being imported to VirtualBox to give the virtual machine a platform to run on.
Look for the VirtualBox icon in your Applications (folder). Double click to get the main interface of VirtualBox:
Select File then Import Appliance
An empty text box will appear
Use the yellow folder icon on the right hand-side of the empty text box to select your virtual machine (the .ova file you downloaded at the start of this chapter).
Make sure you have downloaded the small virtual machine. It will be called ATLASOpenDataSmall.ova
Then press Continue.
The default settings are displayed. We recommend you use these. Press Import.
Import will take afew minutes
Select your virtual machine ATLASOpenDataSmall (which is powered off)
If your VM is not called ATLASOpenDataSmall you have not downloaded the small virtual machine. You need to be using the small VM for these instructions.
Your VM will be displayed as shown below
Check that the name of your virtual machine displayed on the right is ATLASOpenDataSmall
Press the green Start arrow.
WAIT afew minutes whilst the virtual machine sets up.
When it has completed you will see the terminal for using the code, with the Readme file opened using the atom editor.
In the menu on the left handside, you see the contents of the root directory.
In the root directory there are five directories (Analysis, Configurations, Input, Plotting and Output), the README file plus two python scripts. The python scripts are RunScript.py and PlotResults.py.
At the bottom of your window, you will notice a tab labelled atlas@atlas-vm.
Select this tab, circled in red in the screen-shot. A terminal window will then be available.
List the folders and files in your main directory by typing
You will notice that these are the same names as you saw in the menu (screen-shot above).
You are now ready to start looking at the ATLAS data.