Commit 55d57a21 authored by Breno Rilho Lemos's avatar Breno Rilho Lemos 💬

Delete old animation

parent 2817075f
# ALICE Open Data Blender animation
## Project Description
This project has the purpose of generating a 3D animation of an ALICE particle collision event, inside the LHC, using data obtained from CERN's Open Data Portal, which makes ESDs - Event Summary Data files, that contain information about such events - open and available for analysis.
ESD files regarding the ALICE experiment can be found on, and they should be processed using the Aliroot software, as indicated in the 'Aliroot' section below.
// AliESD_Example git repository:
The software that makes the animation is Blender, which is free and open source. Blender's 2.79b version should be downloaded for this project, and can be found on
Before starting, you must also clone this repository:
mkdir -p ~/alice
cd ~/alice
git init
git clone
The animation making can be summarized in three basic steps:
1) Downloading an ESD file;
2) Installing aliRoot and running macros;
3) Run bash to generate Blender animation using the ESD processing results.
## Step 1 - Downloading ESD files
ESD files regarding the ALICE experiment can be found on If you have doubts on which file to pick for a test, you can select any file on this list:
You must save your ESD file inside the 'aliRoot' directory, which is obtained by cloning this repository as mentioned above.
## Step 2 - Installing aliRoot
1) Install aliBuild. Follow instructions on
2) Initialize AliPhysics
cd ~/alice
aliBuild init AliPhysics@master
3) Verify dependencies (Optional)
$ aliDoctor AliPhysics
4) Build AliPhysics with aliroot5 (this may take a long time)
aliBuild build AliPhysics --defaults user -z aliroot5
5) Enter AliPhysics environment
alienv enter AliPhysics/latest-aliroot5-user
6) Run the macro
cd ~/alice/alice-blender-animation/aliRoot
aliroot runAnalysis.C
Results will be saved on three text files: `s-esd-detail.dat`, for an event with a 'small' number of tracks; `m-esd-detail.dat`, for an event with a 'medium' number of tracks; `l-esd-detail.dat`, for an event with a 'very large' number of tracks. You must then move those three files to the 'animate' folder, where the Blender scripts are.
## Step 3 - Generating animation
Run the script as in the example below:
blender -noaudio --background -P -- -radius=0.05 -duration=1 -camera="BarrelCamera" -datafile="esd-detail.dat" -simulated_t=0.02 -fps=24 -resolution=100
In the example above, argument 'radius' has value 0.05, 'duration' has value 10 and so on.
particle radius; must be a number; type float
animation duration; must be a number; type int
defines animation view; must be a string; available options: OverviewCamera, BarrelCamera, ForwardCamera
filename for event data file; must be a string; must be one of your text files: `s-esd-detail.dat`, `m-esd-detail.dat`, `l-esd-detail.dat`
simulated time of event; must be a number; type float
frames per second; must be a number; type int
animation resolution percent; must be a number; type int
Animation will be saved in format .mp4 on the address `/tmp/blender`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment