A
Sample macros for processing AliESDs from CERN Open Data Portal – README.md

README.md

Sample macros for processing AliESDs from CERN Open Data Portal

Requirements

Execute with aliroot5. Place AliESDs.root files in reach of the chain->Add("AliESDs.root"); line on runAnalysis.C and execute.

Instructions

1) Install aliBuild. Follow instructions on https://alice-doc.github.io/alice-analysis-tutorial/building/custom.html

2) Initialize AliPhysics

mkdir -p ~/alice
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

aliroot runAnalysis.C

Results will be saved on two text files: events_summary.txt and events_detail.txt.

Credits

This example is based on the ALICE analysis tutorial by Redmer A. Bertens.