Tutorial 3) Installation of Corry for analysis 

Installation with the container

Follow the instruction from the README of https://gitlab.cern.ch/alice-its3-wp3/its-corryvreckan-tools. A simplified version of those instructions is reported here:

Setup Docker and download the data:

sudo apt-get update && sudo apt-get install docker-ce docker-ce-cli containerd.io
  • sudo docker run hello-world

Download the code (currently cloning a branch in ginnocen’s fork of the its-corryvreckan-tools repository, and checkout the TBJuly2023 branch

git clone ssh://git@gitlab.cern.ch:7999/ginnocen/its-corryvreckan-tools.git
cd its-corryvreckan-tools 
git checkout TBJuly2023

Download the file https://cernbox.cern.ch/index.php/s/PbYfbMVneEvNHSW and place it into the data folder (its-corryvreckan-tools/data). The password is pwd: Alpide!

Activate the container with: 
./pull_container.sh

And then run!
./run_container.sh

Installation without the container

PREREQUISITES → ROOT


git clone --branch latest-stable --depth=1 https://github.com/root-project/root.git root_src
cd root_src
git checkout -b v6-26-00
cd ..
mkdir root_build root_install && cd root_build
cd root_build
cmake -DCMAKE_INSTALL_PREFIX=../root_install ../root_src -Dbuiltin_glew=ON
cmake --build . -- install -j16

INSTALL EUDAQ2


git clone https://gitlab.cern.ch/alice-its3-wp3/eudaq2.git
cd eudaq2
git checkout mk-moss-event-converter-addstatusMOSS

N.B.: the branch mk-moss-event-converter-addstatusMOSS is equivalent to mk-moss-event-converter, but it has a MOSSStatusEvent2StdEventConverter.cc that Lukas added. 

mkdir build
cd build
cmake .. -DEUDAQ_BUILD_PYTHON=ON -DUSER_ITS3_BUILD=ON -DEUDAQ_BUILD_STDEVENT_MONITOR=ON && make -j `nproc` && make install
make install

INSTALL CORRY

git clone https://gitlab.cern.ch/alice-its3-wp3/corryvreckan.git
cd corryvreckan
mkdir build 
cd build